From 4c115a5c8d301d317e389cb9008db59c5f3ac6d1 Mon Sep 17 00:00:00 2001 From: Martin Kojtal Date: Tue, 17 Nov 2020 16:30:37 +0000 Subject: [PATCH] CMake: fix STM32 cmsis include --- targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/CMakeLists.txt | 1 + targets/TARGET_STM/TARGET_STM32L0/STM32Cube_FW/CMakeLists.txt | 1 + targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/CMakeLists.txt b/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/CMakeLists.txt index 894969a6ba..a9673cbae3 100644 --- a/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/CMakeLists.txt +++ b/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/CMakeLists.txt @@ -129,6 +129,7 @@ target_sources(mbed-core target_include_directories(mbed-core INTERFACE . + CMSIS STM32H7xx_HAL_Driver STM32H7xx_HAL_Driver/Legacy ) diff --git a/targets/TARGET_STM/TARGET_STM32L0/STM32Cube_FW/CMakeLists.txt b/targets/TARGET_STM/TARGET_STM32L0/STM32Cube_FW/CMakeLists.txt index a6fc8c36c5..d0033540ca 100644 --- a/targets/TARGET_STM/TARGET_STM32L0/STM32Cube_FW/CMakeLists.txt +++ b/targets/TARGET_STM/TARGET_STM32L0/STM32Cube_FW/CMakeLists.txt @@ -74,6 +74,7 @@ target_sources(mbed-core target_include_directories(mbed-core INTERFACE . + CMSIS STM32L0xx_HAL_Driver STM32L0xx_HAL_Driver/Legacy ) diff --git a/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/CMakeLists.txt b/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/CMakeLists.txt index 1f06b554a5..fa5a2d42a6 100644 --- a/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/CMakeLists.txt +++ b/targets/TARGET_STM/TARGET_STM32L4/STM32Cube_FW/CMakeLists.txt @@ -11,5 +11,5 @@ target_sources(mbed-core target_include_directories(mbed-core INTERFACE . - CMSIS + CMSIS )