mbed-os/hal/CMakeLists.txt

36 lines
910 B
CMake
Raw Normal View History

# Copyright (c) 2020 ARM Limited. All rights reserved.
2020-07-20 16:58:04 +00:00
# SPDX-License-Identifier: Apache-2.0
if("FLASH_CMSIS_ALGO" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_FLASH_CMSIS_ALGO)
endif()
2020-09-03 12:47:08 +00:00
add_subdirectory(usb)
target_include_directories(mbed-core
INTERFACE
2020-09-03 12:47:08 +00:00
include
include/hal
)
target_sources(mbed-core
INTERFACE
2020-09-03 12:47:08 +00:00
source/LowPowerTickerWrapper.cpp
source/mbed_compat.c
source/mbed_critical_section_api.c
source/mbed_flash_api.c
source/mbed_gpio.c
source/mbed_gpio_irq.c
source/mbed_itm_api.c
source/mbed_lp_ticker_api.c
source/mbed_lp_ticker_wrapper.cpp
source/mbed_pinmap_common.c
source/mbed_pinmap_default.cpp
source/mbed_ticker_api.c
source/mbed_us_ticker_api.c
source/static_pinmap.cpp
2020-07-20 16:58:04 +00:00
2020-09-03 12:47:08 +00:00
source/mpu/mbed_mpu_v7m.c
source/mpu/mbed_mpu_v8m.c
2020-07-20 16:58:04 +00:00
)