fix: modify esp32c5 devkit max gpio#759
Merged
espzav merged 3 commits intoespressif:masterfrom Apr 13, 2026
Merged
Conversation
Contributor
Author
|
@tore-espressif Please review this MR |
espzav
reviewed
Apr 13, 2026
cc30d8f to
e0a0c20
Compare
espzav
approved these changes
Apr 13, 2026
Collaborator
espzav
left a comment
There was a problem hiding this comment.
@Miaojianyu Thank you for this fix. LGTM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ESP-BSP Pull Request checklist
Change description
Increase the ESP32-C5 GPIO range limit in
esp_bsp_devkitKconfig from0..25to0..28.The previous configuration incorrectly excluded valid ESP32-C5 GPIOs from
menuconfig, which prevented selectingGPIO26,GPIO27, andGPIO28for generic BSP button and LED settings. This does not match the actual ESP32-C5 GPIO numbering, which spansGPIO0..GPIO28.This update aligns the generic BSP GPIO selection range with the chip's valid GPIO index range, allowing current ESP32-C5 DevKit board configurations to be represented correctly, including setups using
GPIO27for LED andGPIO28for boot button related functions.Note
Low Risk
Low risk: this only widens the ESP32-C5
menuconfigGPIO range used for BSP pin selection and bumps the component version, with no runtime logic changes.Overview
Fixes ESP32-C5 DevKit BSP
menuconfigGPIO selection by increasingENV_GPIO_RANGE_MAXfrom25to28, allowingGPIO26–GPIO28to be chosen for generic button/LED settings.Bumps
esp_bsp_devkitcomponent version from3.0.1to3.0.2to reflect the configuration change.Reviewed by Cursor Bugbot for commit 52d7e39. Bugbot is set up for automated code reviews on this repo. Configure here.