File tree Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Original file line number Diff line number Diff line change 1
1
2
- FILE (GLOB SUBDIRS ABSOLUTE ${CMAKE_CURRENT_LIST_DIR} ${CMAKE_CURRENT_LIST_DIR} /* )
3
- FOREACH (SUBDIR ${SUBDIRS} )
4
- IF (IS_DIRECTORY ${SUBDIR} )
5
- include (${SUBDIR} /micropython.cmake )
6
- ENDIF ()
7
- ENDFOREACH ()
2
+ include (${CMAKE_CURRENT_LIST_DIR} /nvs/micropython.cmake )
3
+ include (${CMAKE_CURRENT_LIST_DIR} /spi/micropython.cmake )
Original file line number Diff line number Diff line change @@ -5,14 +5,14 @@ set(SPI_INCLUDES)
5
5
set (SPI_SOURCES ${CMAKE_CURRENT_LIST_DIR} /src/spi.c )
6
6
7
7
# gets driver include paths
8
- idf_component_get_property (DRIVER_INCLUDES driver INCLUDE_DIRS )
9
- idf_component_get_property (DRIVER_DIR driver COMPONENT_DIR )
8
+ # idf_component_get_property(DRIVER_INCLUDES driver INCLUDE_DIRS)
9
+ # idf_component_get_property(DRIVER_DIR driver COMPONENT_DIR)
10
10
11
11
# sets the include paths into INCLUDES variable
12
- if (DRIVER_INCLUDES )
13
- list (TRANSFORM DRIVER_INCLUDES PREPEND ${DRIVER_DIR} / )
14
- list (APPEND SPI_INCLUDES ${DRIVER_INCLUDES} )
15
- endif ()
12
+ # if(DRIVER_INCLUDES)
13
+ # list(TRANSFORM DRIVER_INCLUDES PREPEND ${DRIVER_DIR}/)
14
+ # list(APPEND SPI_INCLUDES ${DRIVER_INCLUDES})
15
+ # endif()
16
16
17
17
# Add our source files to the lib
18
18
target_sources (usermod_spi INTERFACE ${SPI_SOURCES} )
You can’t perform that action at this time.
0 commit comments