2020-11-17 12:06:59 +00:00
|
|
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
if("NUCLEO_F207ZG" IN_LIST MBED_TARGET_LABELS)
|
2020-12-10 09:19:26 +00:00
|
|
|
add_subdirectory(TARGET_STM32F207xG)
|
2020-11-17 12:06:59 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
target_sources(mbed-core
|
|
|
|
INTERFACE
|
|
|
|
analogin_device.c
|
|
|
|
analogout_device.c
|
|
|
|
flash_api.c
|
|
|
|
gpio_irq_device.c
|
|
|
|
pwmout_device.c
|
|
|
|
serial_device.c
|
|
|
|
spi_api.c
|
|
|
|
|
|
|
|
)
|
|
|
|
|
2020-12-10 09:19:26 +00:00
|
|
|
add_subdirectory(STM32Cube_FW)
|
|
|
|
|
2020-11-17 12:06:59 +00:00
|
|
|
target_include_directories(mbed-core
|
|
|
|
INTERFACE
|
|
|
|
.
|
2020-12-10 09:19:26 +00:00
|
|
|
./STM32Cube_FW
|
|
|
|
./STM32Cube_FW/CMSIS
|
|
|
|
./STM32Cube_FW/STM32F2xx_HAL_Driver
|
|
|
|
./STM32Cube_FW/STM32F2xx_HAL_Driver/Legacy
|
2020-11-17 12:06:59 +00:00
|
|
|
)
|