Browse Source

Fix the typo that made the test not creating executable for second core

Maxime JOURDAN - XANTHIO 1 năm trước cách đây
mục cha
commit
aae801448d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      tests/cmsis/CMakeLists.txt

+ 1 - 1
tests/cmsis/CMakeLists.txt

@@ -35,7 +35,7 @@ foreach(FAMILY ${TEST_FAMILIES})
             add_executable(cmsis-test-${DEVICE} ${SOURCES})
             target_link_libraries(cmsis-test-${DEVICE} CMSIS::STM32::${DEVICE} STM32::NoSys)
         else()
-            stm32_get_cores(CORES FAMILY ${FAMILY} DEVICE ${DEVICE})
+            stm32_get_cores(DEV_CORES FAMILY ${FAMILY} DEVICE ${DEVICE})
             foreach(CORE ${DEV_CORES})
                 stm32_get_memory_info(FAMILY ${FAMILY} DEVICE ${DEVICE} CORE ${CORE} FLASH SIZE FLASH_SIZE)
                 stm32_get_memory_info(FAMILY ${FAMILY} DEVICE ${DEVICE} CORE ${CORE} RAM SIZE RAM_SIZE)