1 Star 1 Fork 1

yuyangworld/mbed-os

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 1.35 KB
一键复制 编辑 原始数据 按行查看 历史
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_TESTING)
if(BUILD_GREENTEA_TESTS)
add_subdirectory(tests/TESTS)
else()
add_subdirectory(tests/UNITTESTS)
endif()
endif()
target_include_directories(mbed-core
INTERFACE
.
./include
./include/drivers
./include/drivers/internal
)
target_sources(mbed-core
INTERFACE
source/AnalogIn.cpp
source/AnalogOut.cpp
source/BufferedSerial.cpp
source/BusIn.cpp
source/BusInOut.cpp
source/BusOut.cpp
source/CAN.cpp
source/DigitalIn.cpp
source/DigitalInOut.cpp
source/DigitalOut.cpp
source/FlashIAP.cpp
source/I2C.cpp
source/I2CSlave.cpp
source/InterruptIn.cpp
source/MbedCRC.cpp
source/OSPI.cpp
source/PortIn.cpp
source/PortInOut.cpp
source/PortOut.cpp
source/PwmOut.cpp
source/QSPI.cpp
source/ResetReason.cpp
source/SPI.cpp
source/SPISlave.cpp
source/SerialBase.cpp
source/SerialWireOutput.cpp
source/Ticker.cpp
source/Timeout.cpp
source/Timer.cpp
source/TimerEvent.cpp
source/UnbufferedSerial.cpp
source/Watchdog.cpp
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yuyangworld/mbed-os.git
git@gitee.com:yuyangworld/mbed-os.git
yuyangworld
mbed-os
mbed-os
master

搜索帮助