cmake: STM32H7: fix stm32h747 targets

This needs to be defined for "final" targets not contained in their processor subdirectory
pull/13826/head
Martino Facchin 2021-01-04 17:32:23 +01:00
parent a723b4ce23
commit 26f758d83c
1 changed files with 6 additions and 2 deletions

View File

@ -3,12 +3,16 @@
if("DISCO_H747I" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_DISCO_H747I)
elseif("STM32H747xI_CM4" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_STM32H747xI_CM4)
elseif("STM32H7A3xIQ" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_STM32H7A3xIQ)
endif()
if("STM32H747xI_CM7" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_STM32H747xI_CM7)
elseif("STM32H747xI_CM4" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_STM32H747xI_CM4)
endif()
target_sources(mbed-core
INTERFACE
system_clock.c