Skip to content

Commit 867f43f

Browse files
committed
USER_C_MODULES within CMakeLists.txt
1 parent 6662913 commit 867f43f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ endforeach()
6262
configure_file(${CMAKE_BINARY_DIR}/sdkconfig.combined.in ${CMAKE_BINARY_DIR}/sdkconfig.combined COPYONLY)
6363
set(SDKCONFIG_DEFAULTS ${CMAKE_BINARY_DIR}/sdkconfig.combined)
6464

65+
# Build with our custom full.cmake file
66+
set(USER_C_MODULES
67+
${PROJECT_DIR}/src/full.cmake
68+
)
69+
6570
# Include main IDF cmake file.
6671
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
6772

boards/ESP32_GENERIC_S3/mpconfigboard.cmake

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,3 @@ set(SDKCONFIG_DEFAULTS
77
${MICROPY_ESP32_DIR}/boards/sdkconfig.spiram_sx
88
${MICROPY_ESP32_DIR}/boards/ESP32_GENERIC_S3/sdkconfig.board
99
)
10-
11-
set(USER_C_MODULES
12-
${PROJECT_DIR}/src/full.cmake
13-
)

0 commit comments

Comments
 (0)