Newer
Older
mbed-os / targets / TARGET_STM / TARGET_STM32G0 / TARGET_STM32G031xx / TARGET_NUCLEO_G031K8 / CMakeLists.txt
@Martin Kojtal Martin Kojtal on 9 Feb 2021 378 bytes CMake STM32: fix targets naming
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

add_library(mbed-nucleo-g031k8 INTERFACE)

target_sources(mbed-nucleo-g031k8
    INTERFACE
        PeripheralPins.c
        system_clock.c
)

target_include_directories(mbed-nucleo-g031k8
    INTERFACE
        .
)

target_link_libraries(mbed-nucleo-g031k8 INTERFACE mbed-stm32g031xx)