File tree Expand file tree Collapse file tree
boards/espressif_esp32_eye Expand file tree Collapse file tree Original file line number Diff line number Diff line change 143143[submodule "ports/espressif/esp-idf "]
144144 path = ports/espressif/esp-idf
145145 url = https://github.com/adafruit/esp-idf.git
146- branch = circuitpython-v5.1.2
146+ branch = circuitpython-v5.1.3
147147[submodule "ports/espressif/esp-protocols "]
148148 path = ports/espressif/esp-protocols
149149 url = https://github.com/espressif/esp-protocols.git
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ CIRCUITPY_ESP_PSRAM_SIZE = 8MB
1111CIRCUITPY_ESP_PSRAM_MODE = qio
1212CIRCUITPY_ESP_PSRAM_FREQ = 40m
1313
14+ CIRCUITPY_CANIO = 0
1415CIRCUITPY_NEOPIXEL_WRITE = 0
1516CIRCUITPY_PS2IO = 0
1617CIRCUITPY_ROTARYIO = 0
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ CONFIG_COMPILER_OPTIMIZATION_SIZE=y
1414# ESP System Settings
1515#
1616CONFIG_ESP_SYSTEM_PANIC_PRINT_HALT=y
17+ CONFIG_ESP_PANIC_HANDLER_IRAM=y
1718# end of ESP System Settings
1819
1920# end of Component config
Original file line number Diff line number Diff line change 4444#error Unknown CONFIG_IDF_TARGET_xxx
4545#endif
4646
47- void mp_hal_delay_us (mp_uint_t delay ) {
47+ #include "esp_attr.h"
48+
49+ // This is used by ProtoMatter's interrupt so make sure it is available when
50+ // flash isn't.
51+ void IRAM_ATTR mp_hal_delay_us (mp_uint_t delay ) {
4852 ets_delay_us (delay );
4953}
5054
Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ safe_mode_t port_init(void) {
270270 #endif
271271
272272 #ifndef ENABLE_JTAG
273- #define ENABLE_JTAG (defined(DEBUG) && DEBUG )
273+ #define ENABLE_JTAG (0 )
274274 #endif
275275
276276 #if ENABLE_JTAG
Original file line number Diff line number Diff line change 2525 "CONFIG_HAL_DEFAULT_ASSERTION_LEVEL" ,
2626 "CONFIG_BOOTLOADER_LOG_LEVEL" ,
2727 "LOG_DEFAULT_LEVEL" ,
28+ "CONFIG_ESP_PANIC_HANDLER_IRAM" ,
2829]
2930
3031TARGET_SETTINGS = [
Original file line number Diff line number Diff line change @@ -171,6 +171,10 @@ void usb_background(void) {
171171 #if CIRCUITPY_USB_HOST
172172 tuh_task ();
173173 #endif
174+ #elif CFG_TUSB_OS == OPT_OS_FREERTOS
175+ // Yield to FreeRTOS in case TinyUSB runs in a separate task. Don't use
176+ // port_yield() because it has a longer delay.
177+ vTaskDelay (0 );
174178 #endif
175179 // No need to flush if there's no REPL.
176180 #if CIRCUITPY_USB_CDC
You can’t perform that action at this time.
0 commit comments