Newer
Older
mbed-os / targets / TARGET_STM / TARGET_STM32L4 / CMakeLists.txt
@Rajkumar Kanagaraj Rajkumar Kanagaraj on 6 Nov 2020 508 bytes Update CMake based on new STM32L4 directory structure
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

if("STM32L475xG" IN_LIST MBED_TARGET_LABELS)
    add_subdirectory(TARGET_STM32L475xG)
endif()

add_subdirectory(STM32Cube_FW)

target_sources(mbed-os
    PRIVATE
        analogin_device.c
        analogout_device.c
        flash_api.c
        gpio_irq_device.c
        pwmout_device.c
        serial_device.c
        spi_api.c
)

target_include_directories(mbed-os
    PUBLIC
        ${CMAKE_CURRENT_SOURCE_DIR}
)