Adds S3 GPIO48 in digitalPinToInterrupt() + GPIO INTR Review#8562
Adds S3 GPIO48 in digitalPinToInterrupt() + GPIO INTR Review#8562SuGlider wants to merge 23 commits into
Conversation
|
@me-no-dev - Please let me know if this change makes sense. |
|
Resolution:
|
|
@lucasssvaz @P-R-O-C-H-Y @me-no-dev -- ready for reviewing.... |
|
I also fixed a wrong already merged file name (pins_arduino.h.txt) : 12 changes: 6 additions & 6 deletions12 |
|
The changes in this PR also include all recently added new boards (last 4 days). I've researched a lot of boards to make sure the all RGB NeoPixel LEDs are correctly mapped into the pins_arduino.h for each board. |
|
But... there may be errors... so please take some time to review it carefully. Thanks! |
|
Thanks @SuGlider for handling this! I can imagine it was time consuming. |
|
I am not sure how to properly review this, but if you are worried that there might be issues, I would suggest we leave it for 3.0.0 and not risk another bugfix 2.0.x |
|
What about modifying slightly https://github.com/espressif/arduino-esp32/actions/workflows/boards.yml and check this by that? |
As @VojtechBartoska mentioned, we can at least run the allboards workflow to see if there are any issues. I will add to the workflow new trigger on some label, let's say "Boards test" and then we can run it. I am not sure if we are able to run it now on PR when the workflow is set to run only on remote dispatch. What do you think @me-no-dev ? That test can at least cover some typos check as I already found one. |
You would need to specify the target pr when executing the workflow. Pass it as argument and then act in the workflow itself. |
|
@SuGlider @me-no-dev I see a lot of boards failing to compile the CI test sketch. |
…r/arduino-esp32 into attachInterrupt_GPIO_fix
|
@P-R-O-C-H-Y @me-no-dev - This PR seems now ready and fine. It passes the Boards CI. @P-R-O-C-H-Y had some concerns about changing all the boards... we can discuss what would be best to do. |
|
This PR with changes for all variants is left to 3.0.0 milestone as it can have more consequences. @SuGlider will open new PR with GPIO pin change from 48 to 49 for 2.0.12 milestone. |
Description of Change
A user has open an issue about not being able to add an Interrupt to ESP32-S3 GPIO 48 because the GPIO num shall be lower than 48 in
digitalPinToInterrupt()macro.Based on it, this PR has a initial review of the macros and the values used in
pins_arduio.hfor the main SoCs (ESP32, S2, S3 and C3).Tests scenarios
Simples test done in ESP32/S2/S3/C3 with
attachInterrupt().Related links
Closes #8560