We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04ed0f7 commit 9dcffe1Copy full SHA for 9dcffe1
1 file changed
CMakeLists.txt
@@ -21,6 +21,14 @@ message(STATUS "${PROJECT_NAME} Ethernet: ${USE_ETHERNET}")
21
message(STATUS "${PROJECT_NAME} Nucleo: ${TARGET_NUCLEO}")
22
message(STATUS "${PROJECT_NAME} Crosscompiling: ${CMAKE_CROSSCOMPILING}")
23
24
+if(NOT EXISTS ${CMAKE_CURRENT_LIST_DIR}/STM32CubeH7/Drivers/CMSIS/Device/ST/STM32H7xx/Include)
25
+ execute_process(
26
+ COMMAND git submodule update --init
27
+ )
28
29
+ COMMAND git submodule update --init --depth 1 STM32CubeH7/Drivers/CMSIS/Device/ST/STM32H7xx
30
31
+endif()
32
33
if(NOT CMAKE_CROSSCOMPILING)
34
message(STATUS "Compiling for simulator")
0 commit comments