Skip to content

Commit

Permalink
Add esp32s3-cdc variant.
Browse files Browse the repository at this point in the history
  • Loading branch information
floitsch committed Apr 28, 2024
1 parent 19c8367 commit dc127e0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions variants/esp32s3-cdc/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# ESP32-CDC

A variant of the ESP32S3 envelope that enables CDC and uses it for logging.
11 changes: 11 additions & 0 deletions variants/esp32s3-cdc/sdkconfig.defaults.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- toolchains/esp32s3/sdkconfig.defaults 2024-03-28 11:11:46.249705447 +0100
+++ toolchains/esp32s3-cdc/sdkconfig.defaults 2024-04-28 19:26:40.803000066 +0200
@@ -35,6 +35,8 @@
CONFIG_SPIRAM_IGNORE_NOTFOUND=y
CONFIG_SPIRAM_RODATA_PADDING=2097152
CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y
+CONFIG_ESP_CONSOLE_USB_CDC=y
+CONFIG_ESP_CONSOLE_USB_CDC_SUPPORT_ETS_PRINTF=y
# CONFIG_ESP_INT_WDT is not set
# CONFIG_ESP_TASK_WDT_INIT is not set
CONFIG_ESP_IPC_TASK_STACK_SIZE=1024

0 comments on commit dc127e0

Please sign in to comment.