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

CONFIG_BOOTLOADER_NUM_PIN_APP_TEST pin configuration for ESP32-S3 (IDFGH-13623) #14508

Closed
3 tasks done
Psyjonas opened this issue Sep 4, 2024 · 2 comments
Closed
3 tasks done
Assignees
Labels
Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally

Comments

@Psyjonas
Copy link

Psyjonas commented Sep 4, 2024

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

For device production, we are using the test partition so we can segment the test code from the application code.
To activate the test partition we configure the CONFIG_BOOTLOADER_NUM_PIN_APP_TEST with the same gpio as the UART0 RX pin. This way we can activate the test partition sending a BREAK over UART.

The problem with ESP32-S3 is that the default UART0 RX gpio is the gpio 44 but the Kconfig only supports the range 0-39
This can be easily fixed changing the Kconfig to support custom ranges depending of the target

        range 0 39 if IDF_TARGET_ESP32
        range 0 44 if IDF_TARGET_ESP32S3

I would like an official fix from espressif.
Can you add a custom range for all the supported targets to the CONFIG_BOOTLOADER_NUM_PIN_APP_TEST and CONFIG_BOOTLOADER_NUM_PIN_FACTORY_RESET

@espressif-bot espressif-bot added the Status: Opened Issue is new label Sep 4, 2024
@github-actions github-actions bot changed the title CONFIG_BOOTLOADER_NUM_PIN_APP_TEST pin configuration for ESP32-S3 CONFIG_BOOTLOADER_NUM_PIN_APP_TEST pin configuration for ESP32-S3 (IDFGH-13623) Sep 4, 2024
@SoucheSouche
Copy link
Collaborator

Hello @Psyjonas,
That's a good point. I will update the configs with different ranges for the different targets. Thanks for pointing it out!

@espressif-bot espressif-bot added Status: Reviewing Issue is being reviewed Status: Done Issue is done internally Resolution: NA Issue resolution is unavailable and removed Status: Opened Issue is new Status: Reviewing Issue is being reviewed labels Sep 5, 2024
@SoucheSouche
Copy link
Collaborator

Hello @Psyjonas,
I updated CONFIG_BOOTLOADER_NUM_PIN_APP_TEST and CONFIG_BOOTLOADER_NUM_PIN_FACTORY_RESET with target specific ranges. The modifications were merged internally and will be available with the next sync with GH.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally
Projects
None yet
Development

No branches or pull requests

3 participants