boards/Kconfig: Fix bug on ESP32, ESP32-S2 and ESP32-S3 GPIO IRQ#18502
boards/Kconfig: Fix bug on ESP32, ESP32-S2 and ESP32-S3 GPIO IRQ#18502acassis merged 1 commit intoapache:masterfrom
Conversation
A previous commit (d2c85a9) introduced an incomplete change to upstream regarding GPIO IRQ selection on ESP32, ESP32-S2 and ESP32-S3. NuttX's upstream CI did not get the error because of the rules that trigger specific pipelines based on the modified files. In this case, the xtensa jobs did not run to properly evaluate this issue. Signed-off-by: Tiago Medicci Serrano <tiago.medicci@espressif.com>
|
@tmedicci nice work! Question: did you already measure how much space disabling CONFIG_ESP32_GPIO_IRQ will save? If it is not much, makes more sense remove this option, it is source of issues when user try to use GPIO with interruption and discover it is not working because CONFIG_ESP32_GPIO_IRQ is disabled |
No, I didn't measure (and this bugfix isn't really an attempt to do that, it was just an experiment about unifying sources that I inadvertently added to the previous PR). I can try that when updating the sources. |
Right, I suggest removing it, about ESP32xx and RP2040 have this option to disable GPIO INT, I think it bring more headache then improved. Or at least it should be enable by default. |
Summary
A previous commit (d2c85a9) introduced an incomplete change to upstream regarding GPIO IRQ selection on ESP32, ESP32-S2 and ESP32-S3. NuttX's upstream CI did not get the error because of the rules that trigger specific pipelines based on the modified files. In this case, the xtensa jobs did not run to properly evaluate this issue.
Impact
This PR fix issues regarding
buttonsdefconfig fdor ESP32, ESP32-S2 and ESP32-S3.esp32-devkitc:buttonsis affected, for instance.Impact on user: Yes. Fix a known issue.
Impact on build: Yes, it fixes a build issue regarding
buttonsdefconfig.Impact on hardware: ESP32, ESP32-S2 and ESP32-S3.
Impact on documentation: No.
Impact on security: No.
Impact on compatibility: No.
Testing
Build
esp32-devkitc:buttons, for instance:Building
Running
Test the
buttonsapplication on NSH. Press BOOT button to check its functionality.Results