Skip to content

Commit fdef59f

Browse files
committed
CMake STM32H7: fix disco m4/m7 targets
1 parent 2d3bf3f commit fdef59f

File tree

1 file changed

+7
-1
lines changed
  • targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_DISCO_H747I

1 file changed

+7
-1
lines changed

targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_DISCO_H747I/CMakeLists.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,10 @@ target_include_directories(mbed-disco-h747i
1313
.
1414
)
1515

16-
target_link_libraries(mbed-disco-h747i INTERFACE mbed-stm32h747xi)
16+
target_link_libraries(mbed-disco-h747i INTERFACE mbed-stm32h747xi mbed-stm32h747xi-cm7)
17+
18+
add_library(mbed-disco-h747i-cm7 INTERFACE)
19+
target_link_libraries(mbed-disco-h747i-cm7 INTERFACE mbed-stm32h747xi mbed-stm32h747xi-cm7)
20+
21+
add_library(mbed-disco-h747i-cm4 INTERFACE)
22+
target_link_libraries(mbed-disco-h747i-cm4 INTERFACE mbed-stm32h747xi mbed-stm32h747xi-cm4)

0 commit comments

Comments
 (0)