Skip to content

feature: show defconfig content#30

Merged
fdcavalcanti merged 1 commit intomainfrom
feature/show-defconfig-content
Feb 18, 2026
Merged

feature: show defconfig content#30
fdcavalcanti merged 1 commit intomainfrom
feature/show-defconfig-content

Conversation

@fdcavalcanti
Copy link
Copy Markdown
Owner

Adds get_defconfig method to Board class and CLI command to get the content of a defconfig, allowing a quick read without having to navigate the source code.

Basically, do:

$ ntxbuild list defconfigs esp32s3-devkit --read usbmsc

And it prints the content of this defconfig:

Defconfig content for usbmsc:
#include "../usb_device/defconfig"
CONFIG_BCH=y
CONFIG_DEV_ZERO=y
CONFIG_ESP32S3_SPIFLASH=y
CONFIG_ESP32S3_SPIFLASH_MTD_BLKSIZE=512
CONFIG_SYSTEM_USBMSC=y
CONFIG_SYSTEM_USBMSC_DEVMINOR1=0
CONFIG_SYSTEM_USBMSC_DEVMINOR2=1
CONFIG_SYSTEM_USBMSC_DEVPATH1="/dev/ram10"
CONFIG_SYSTEM_USBMSC_DEVPATH2="/dev/esp32s3flash"
CONFIG_USBMSC=y
CONFIG_USBMSC_EPBULKIN=2
CONFIG_USBMSC_EPBULKOUT=1

@fdcavalcanti fdcavalcanti self-assigned this Feb 18, 2026
Adds `get_defconfig` method to Board class and CLI command
to get the content of a defconfig, allowing a quick read without
having to navigate the source code.

Signed-off-by: Filipe Cavalcanti <filipe.cavalcanti@espressif.com>
@fdcavalcanti fdcavalcanti force-pushed the feature/show-defconfig-content branch from f7fe71d to 436a4fc Compare February 18, 2026 18:11
@fdcavalcanti fdcavalcanti merged commit af6cdf3 into main Feb 18, 2026
4 checks passed
@fdcavalcanti fdcavalcanti deleted the feature/show-defconfig-content branch February 18, 2026 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant