Skip to content

Commit da1f797

Browse files
committed
Direct paths MICROPY_ESP32_DIR
1 parent 971a944 commit da1f797

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ endif()
1212

1313

1414
# MICROPY_BOARD_DIR
15+
set(MICROPY_ESP32_DIR "${CMAKE_CURRENT_LIST_DIR}/third_party/micropython/ports/esp32")
1516

1617
# Set the board directory and check that it exists.
1718
if(NOT CUSTOM_BOARD_DIR)
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
set(IDF_TARGET esp32s3)
22

33
set(SDKCONFIG_DEFAULTS
4-
boards/sdkconfig.base
5-
boards/sdkconfig.usb
6-
boards/sdkconfig.ble
7-
boards/sdkconfig.spiram_sx
8-
boards/ESP32_GENERIC_S3/sdkconfig.board
4+
${MICROPY_ESP32_DIR}/boards/sdkconfig.base
5+
${MICROPY_ESP32_DIR}/boards/sdkconfig.usb
6+
${MICROPY_ESP32_DIR}/boards/sdkconfig.ble
7+
${MICROPY_ESP32_DIR}/boards/sdkconfig.spiram_sx
8+
${MICROPY_ESP32_DIR}/boards/ESP32_GENERIC_S3/sdkconfig.board
99
)

boards/ESP32_GENERIC_S3/mpconfigvariant_SPIRAM_OCT.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
set(SDKCONFIG_DEFAULTS
22
${SDKCONFIG_DEFAULTS}
3-
boards/sdkconfig.240mhz
4-
boards/sdkconfig.spiram_oct
3+
${MICROPY_ESP32_DIR}/boards/sdkconfig.240mhz
4+
${MICROPY_ESP32_DIR}/boards/sdkconfig.spiram_oct
55
)
66

77
list(APPEND MICROPY_DEF_BOARD

0 commit comments

Comments
 (0)