File tree Expand file tree Collapse file tree 8 files changed +15
-4
lines changed
boards/espressif_esp32_eye Expand file tree Collapse file tree 8 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 143
143
[submodule "ports/espressif/esp-idf "]
144
144
path = ports/espressif/esp-idf
145
145
url = https://github.com/adafruit/esp-idf.git
146
- branch = circuitpython-v5.1.2
146
+ branch = circuitpython-v5.1.3
147
147
[submodule "ports/espressif/esp-protocols "]
148
148
path = ports/espressif/esp-protocols
149
149
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
11
11
CIRCUITPY_ESP_PSRAM_MODE = qio
12
12
CIRCUITPY_ESP_PSRAM_FREQ = 40m
13
13
14
+ CIRCUITPY_CANIO = 0
14
15
CIRCUITPY_NEOPIXEL_WRITE = 0
15
16
CIRCUITPY_PS2IO = 0
16
17
CIRCUITPY_ROTARYIO = 0
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ CONFIG_COMPILER_OPTIMIZATION_SIZE=y
14
14
# ESP System Settings
15
15
#
16
16
CONFIG_ESP_SYSTEM_PANIC_PRINT_HALT=y
17
+ CONFIG_ESP_PANIC_HANDLER_IRAM=y
17
18
# end of ESP System Settings
18
19
19
20
# end of Component config
Original file line number Diff line number Diff line change 44
44
#error Unknown CONFIG_IDF_TARGET_xxx
45
45
#endif
46
46
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 ) {
48
52
ets_delay_us (delay );
49
53
}
50
54
Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ safe_mode_t port_init(void) {
270
270
#endif
271
271
272
272
#ifndef ENABLE_JTAG
273
- #define ENABLE_JTAG (defined(DEBUG) && DEBUG )
273
+ #define ENABLE_JTAG (0 )
274
274
#endif
275
275
276
276
#if ENABLE_JTAG
Original file line number Diff line number Diff line change 25
25
"CONFIG_HAL_DEFAULT_ASSERTION_LEVEL" ,
26
26
"CONFIG_BOOTLOADER_LOG_LEVEL" ,
27
27
"LOG_DEFAULT_LEVEL" ,
28
+ "CONFIG_ESP_PANIC_HANDLER_IRAM" ,
28
29
]
29
30
30
31
TARGET_SETTINGS = [
Original file line number Diff line number Diff line change @@ -171,6 +171,10 @@ void usb_background(void) {
171
171
#if CIRCUITPY_USB_HOST
172
172
tuh_task ();
173
173
#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 );
174
178
#endif
175
179
// No need to flush if there's no REPL.
176
180
#if CIRCUITPY_USB_CDC
You can’t perform that action at this time.
0 commit comments