-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Conversation
@dhalbert I fixed the other builds. Please take another look. |
The new |
#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]; |
There was a problem hiding this comment.
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 )
There was a problem hiding this 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.
@dhalbert Please take another look. CI is green. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
…uit#2931 from tannewt/esp32s2_digitalio
No description provided.