Skip to content

Commit cbb178c

Browse files
committed
Subsection firmware paths
1 parent 313e7bb commit cbb178c

File tree

10 files changed

+3
-3
lines changed

10 files changed

+3
-3
lines changed

CMakeLists.txt renamed to firmware/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ endif()
1212

1313

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

1717
# Set the board directory and check that it exists.
1818
if(NOT CUSTOM_BOARD_DIR)
@@ -64,7 +64,7 @@ set(SDKCONFIG_DEFAULTS ${CMAKE_BINARY_DIR}/sdkconfig.combined)
6464

6565
# Build with our custom full.cmake file
6666
set(USER_C_MODULES
67-
${CMAKE_CURRENT_LIST_DIR}/src/full.cmake
67+
${CMAKE_CURRENT_LIST_DIR}/../src/full.cmake
6868
)
6969

7070
# Include main IDF cmake file.
File renamed without changes.
File renamed without changes.

main/CMakeLists.txt renamed to firmware/main/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Set location of base MicroPython directory.
22
if(NOT MICROPY_DIR)
3-
get_filename_component(MICROPY_DIR ${CMAKE_CURRENT_LIST_DIR}/../third_party/micropython ABSOLUTE)
3+
get_filename_component(MICROPY_DIR ${CMAKE_CURRENT_LIST_DIR}/../../third_party/micropython ABSOLUTE)
44
endif()
55

66
# Set location of the ESP32 port directory.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)