Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finish digitalio and pin use tracking for ESP32S2 #2931

Merged
merged 9 commits into from
May 26, 2020

Conversation

tannewt
Copy link
Member

@tannewt tannewt commented May 20, 2020

No description provided.

@tannewt tannewt added enhancement circuitpython api espressif applies to multiple Espressif chips labels May 20, 2020
@tannewt tannewt added this to the 5.x.x - Bug Fixes milestone May 20, 2020
@tannewt tannewt requested a review from dhalbert May 20, 2020 00:50
@tannewt
Copy link
Member Author

tannewt commented May 20, 2020

@dhalbert I fixed the other builds. Please take another look.

@arturo182
Copy link
Collaborator

The new modules folder made me think it was for Python modules (cause we have extmod and shared-modules) not for HW modules, slightly confusing 😅

#include "esp-idf/components/driver/include/driver/gpio.h"
#include "esp-idf/components/soc/include/hal/gpio_hal.h"

STATIC uint32_t never_reset_pins[2];
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be nice :-) to just say that these magic number [2] and 32 are just there to create a set or bitmap.

Since it is static ( to this file ) it's probably O.K. to use the idioms/pattern to create a 64-bit map -
( how do others do this in an abstract yet efficient way )

Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good! Just needs to fix the translation merge conflicts.

@tannewt
Copy link
Member Author

tannewt commented May 26, 2020

@dhalbert Please take another look. CI is green.

@tannewt tannewt requested a review from dhalbert May 26, 2020 21:24
Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@dhalbert dhalbert merged commit 3574670 into adafruit:master May 26, 2020
jepler added a commit to jepler/circuitpython that referenced this pull request May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
circuitpython api enhancement espressif applies to multiple Espressif chips
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants