File tree Expand file tree Collapse file tree
ports/espressif/boards/waveshare_esp32_s3_amoled_241 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,5 +29,18 @@ CONFIG_LWIP_LOCAL_HOSTNAME="waveshare-esp32-s3-amoled"
2929# Disable USB-Serial/JTAG console - CircuitPython uses TinyUSB (USB OTG) for REPL
3030CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=n
3131
32+ # === TEMPORARY DEBUG: route console to UART0 (TX=GPIO43, RX=GPIO44) ===
33+ # CONFIG_ESP_CONSOLE_UART_DEFAULT=y
34+ # CONFIG_BOOTLOADER_LOG_LEVEL_INFO=y
35+ # CONFIG_LOG_DEFAULT_LEVEL_INFO=y
36+ # CONFIG_ESP_SYSTEM_PANIC_PRINT_HALT=y
37+ # === END TEMPORARY DEBUG ===
38+
39+ # Workaround: NimBLE BLE_STATIC_TO_DYNAMIC=y (default in IDF 5.5.3) causes
40+ # ble_gap_vars to be a dynamically allocated pointer (NULL before ble_gap_init).
41+ # CircuitPython calls ble_gap_adv_active() before NimBLE init → NULL deref → bootloop.
42+ # Reverting to static allocation avoids the crash.
43+ CONFIG_BT_NIMBLE_STATIC_TO_DYNAMIC=n
44+
3245# Enable .app_desc structure
3346CONFIG_APP_RETRIEVE_LEN_ELF_SHA=16
You can’t perform that action at this time.
0 commit comments