|
@@ -8,13 +8,13 @@ find_package(CMSIS COMPONENTS STM32H757VG_M4 STM32H757VG_M7 REQUIRED)
|
|
|
find_package(HAL COMPONENTS STM32H757VG_M4 STM32H757VG_M7 REQUIRED)
|
|
find_package(HAL COMPONENTS STM32H757VG_M4 STM32H757VG_M7 REQUIRED)
|
|
|
|
|
|
|
|
#Creating both binaries
|
|
#Creating both binaries
|
|
|
-add_executable(m7core.elf main.c)
|
|
|
|
|
-add_executable(m4core.elf main.c)
|
|
|
|
|
|
|
+add_executable(m7core main.c)
|
|
|
|
|
+add_executable(m4core main.c)
|
|
|
|
|
|
|
|
-target_include_directories(m7core.elf PRIVATE Inc)
|
|
|
|
|
-target_include_directories(m4core.elf PRIVATE Inc)
|
|
|
|
|
|
|
+target_include_directories(m7core PRIVATE Inc)
|
|
|
|
|
+target_include_directories(m4core PRIVATE Inc)
|
|
|
|
|
|
|
|
-target_link_libraries(m7core.elf PRIVATE
|
|
|
|
|
|
|
+target_link_libraries(m7core PRIVATE
|
|
|
HAL::STM32::H7::M7::RCC
|
|
HAL::STM32::H7::M7::RCC
|
|
|
HAL::STM32::H7::M7::GPIO
|
|
HAL::STM32::H7::M7::GPIO
|
|
|
HAL::STM32::H7::M7::CORTEX
|
|
HAL::STM32::H7::M7::CORTEX
|
|
@@ -22,7 +22,7 @@ target_link_libraries(m7core.elf PRIVATE
|
|
|
STM32::NoSys
|
|
STM32::NoSys
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
-target_link_libraries(m4core.elf PRIVATE
|
|
|
|
|
|
|
+target_link_libraries(m4core PRIVATE
|
|
|
HAL::STM32::H7::M4::RCC
|
|
HAL::STM32::H7::M4::RCC
|
|
|
HAL::STM32::H7::M4::GPIO
|
|
HAL::STM32::H7::M4::GPIO
|
|
|
HAL::STM32::H7::M4::CORTEX
|
|
HAL::STM32::H7::M4::CORTEX
|