Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force MP_SCHEDULER_DEPTH to be set by copying our own mpconfigport.h over ports/esp32 #405

Merged
merged 1 commit into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tulip/esp32s3/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ execute_process(COMMAND bash -c "python3 ../../../lv_binding_micropython_tulip/g
WORKING_DIRECTORY "."
)

# We also have to copy over mpconfigport.h
execute_process(COMMAND bash -c "cp ../mpconfigport.h ../../../micropython/ports/esp32/mpconfigport.h" WORKING_DIRECTORY ".")

# Turn this on for debugging submodules
#file(WRITE "submod" "${GIT_SUBMOD_RESULT}")

Expand Down
1 change: 1 addition & 0 deletions tulip/esp32s3/boards/N16R8/mpconfigboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@
#define MICROPY_HW_ENABLE_USBDEV (1)
#define MICROPY_HW_ESP_USB_SERIAL_JTAG (0)
#define MICROPY_ENABLE_SCHEDULER (1)
#define MICROPY_SCHEDULER_DEPTH (128)
11 changes: 0 additions & 11 deletions tulip/esp32s3/boards/N32R8/mpconfigboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,3 @@
#define MICROPY_HW_ENABLE_UART_REPL (1)


#define MICROPY_HW_I2C0_SCL (I2C_SCL)
#define MICROPY_HW_I2C0_SDA (I2C_SDA)

#define MICROPY_HW_ENABLE_SDCARD (0)
#define MICROPY_PY_MACHINE_I2S (0)
#define MICROPY_PY_BLUETOOTH (0)
#define MICROPY_BLUETOOTH_NIMBLE (0)
#define MICROPY_HW_USB_CDC (1)
#define MICROPY_HW_ENABLE_USBDEV (1)
#define MICROPY_HW_ESP_USB_SERIAL_JTAG (0)
#define MICROPY_ENABLE_SCHEDULER (1)
12 changes: 1 addition & 11 deletions tulip/esp32s3/boards/TDECK/mpconfigboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,6 @@
#define MICROPY_HW_ENABLE_UART_REPL (1)

#define USB_SERIAL_JTAG_PACKET_SZ_BYTES 64
#define MICROPY_HW_I2C0_SCL (I2C_SCL)
#define MICROPY_HW_I2C0_SDA (I2C_SDA)

#define MICROPY_HW_ENABLE_SDCARD (0)
#define MICROPY_PY_MACHINE_I2S (0)
#define MICROPY_PY_BLUETOOTH (0)
#define MICROPY_BLUETOOTH_NIMBLE (0)
#define MICROPY_HW_USB_CDC (0)
#define MICROPY_HW_ENABLE_USBDEV (0)
#define MICROPY_HW_ESP_USB_SERIAL_JTAG (1)
#define MICROPY_ENABLE_SCHEDULER (1)
#define MICROPY_ESP32_USE_BOOTLOADER_RTC (0)
#define MICROPY_BOARD_ENTER_BOOTLOADER(nargs,args) void
#define MICROPY_BOARD_ENTER_BOOTLOADER(nargs,args) void
13 changes: 0 additions & 13 deletions tulip/esp32s3/boards/TULIP4_R11/mpconfigboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,3 @@
// Enable UART REPL for modules that have an external USB-UART and don't use native USB.
#define MICROPY_HW_ENABLE_UART_REPL (1)


#define MICROPY_HW_I2C0_SCL (I2C_SCL)
#define MICROPY_HW_I2C0_SDA (I2C_SDA)

#define MICROPY_HW_ENABLE_SDCARD (0)
#define MICROPY_PY_MACHINE_I2S (0)
#define MICROPY_PY_BLUETOOTH (0)
#define MICROPY_BLUETOOTH_NIMBLE (0)
#define MICROPY_HW_USB_CDC (1)
#define MICROPY_HW_ENABLE_USBDEV (1)
#define MICROPY_HW_ESP_USB_SERIAL_JTAG (0)
#define MICROPY_ENABLE_SCHEDULER (1)

11 changes: 0 additions & 11 deletions tulip/esp32s3/boards/TULIP4_R11_DEBUG/mpconfigboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,3 @@
#define MICROPY_HW_ENABLE_UART_REPL (1)


#define MICROPY_HW_I2C0_SCL (I2C_SCL)
#define MICROPY_HW_I2C0_SDA (I2C_SDA)

#define MICROPY_HW_ENABLE_SDCARD (0)
#define MICROPY_PY_MACHINE_I2S (0)
#define MICROPY_PY_BLUETOOTH (0)
#define MICROPY_BLUETOOTH_NIMBLE (0)
#define MICROPY_HW_USB_CDC (1)
#define MICROPY_HW_ENABLE_USBDEV (1)
#define MICROPY_HW_ESP_USB_SERIAL_JTAG (0)
#define MICROPY_ENABLE_SCHEDULER (1)
Loading
Loading