mbed-os/targets/TARGET_STM/TARGET_STM32L5/CMakeLists.txt

30 lines
694 B
CMake

# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
if("STM32L552xC" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_STM32L552xC)
elseif("STM32L552xE" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_STM32L552xE)
elseif("STM32L562xE" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_STM32L562xE)
endif()
add_subdirectory(STM32Cube_FW)
target_sources(mbed-core
INTERFACE
analogin_device.c
analogout_device.c
flash_api.c
gpio_irq_device.c
pwmout_device.c
serial_device.c
system_clock.c
spi_api.c
)
target_include_directories(mbed-core
INTERFACE
.
)