-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
shell: follow IDF basic console configuration
Previously, shell.c was based on the ESP-IDF example in: ${IDF_PATH}/examples/system/console/advanced This worked for most boards, but it did not work for the Adafruit ESP32-S2/S3 Feather boards, which use USB C and require CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG. It turns out the ESP-IDF "basic" console examples are a better fit for what we need in shell.c, and they easily support CONSOLE_ESP_CONSOLE_{UART,USB_CDC,USB_SERIAL_JTAG} options, which should cover any ESP32 board. Tested and confirmed the new shell.c works on the following boards: ESP32-DevkitC Magtag ESP32-S2, Adafruit ESP32-S3 Feather Signed-off-by: Nick Miller <[email protected]>
- Loading branch information
Showing
2 changed files
with
25 additions
and
95 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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