Skip to content

CMake: Componentize Mbed OS into multiple CMake targets #13732

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 109 commits into from
Oct 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
b9ab145
CMake: add simple function to enable internal components
0xc0170 Sep 21, 2020
57d99c5
CMake: add component configuration
0xc0170 Sep 21, 2020
66ac59c
CMake: fix the name for config functions
0xc0170 Sep 21, 2020
c5d96f9
CMake: fix few dependencies, lot of TODO
0xc0170 Sep 21, 2020
f3d9dea
CMake: add internal components prefix
0xc0170 Sep 22, 2020
e063d25
CMake: fix prefix, build OK
0xc0170 Sep 22, 2020
7bb50f7
CMake: move components setup to components
0xc0170 Sep 22, 2020
a9e873d
CMake: add cmsis and event libraries
0xc0170 Sep 22, 2020
77ef264
CMake: fix include dirs in generators
0xc0170 Sep 22, 2020
475f42d
revert cmsis and events as libs, they depend on many things
0xc0170 Sep 23, 2020
77f4f22
CMake: fix name for core components
0xc0170 Sep 23, 2020
601dc9d
CMake: remove device key for now
0xc0170 Sep 23, 2020
9799376
CMake components: fix style
0xc0170 Sep 23, 2020
b69a3b6
CMake: revert mbedtls removal, not needed anymore
0xc0170 Sep 23, 2020
4462535
CMake: add connectivity and storage components
0xc0170 Sep 23, 2020
d11c106
events: remove unused definitions
0xc0170 Sep 23, 2020
e8c06e4
drivers: FIX this on master
0xc0170 Sep 24, 2020
4302d00
CMake: create nfc component
0xc0170 Sep 24, 2020
5504c86
CMake: fix component path, needs to be with root
0xc0170 Sep 24, 2020
7fa3dc3
CMake: fixes to nfc, now links properly
0xc0170 Sep 24, 2020
ce2a79d
CMake: connectivity paths fixed
0xc0170 Sep 24, 2020
cdc551e
CMake: fix components name
0xc0170 Sep 24, 2020
1fede0f
events: revert changes that are not needed
0xc0170 Sep 24, 2020
65f8924
CMake components: the top is not needed in components
0xc0170 Sep 24, 2020
182f7eb
CMake components: fix comments
0xc0170 Sep 24, 2020
33ae4e3
CMake components: core does not need to have args
0xc0170 Sep 24, 2020
130a9ea
storage: remove not needed components now
0xc0170 Sep 24, 2020
55ec4a8
CMake drivers: fix compilation, enable only if needed
0xc0170 Sep 24, 2020
4ceb435
CMake component: use ${ARGV} for enabling components
0xc0170 Sep 24, 2020
e58ded9
CMake: add components enabled macro
0xc0170 Sep 24, 2020
45c058f
CMake: big refactor for components
0xc0170 Sep 25, 2020
0ac9cb7
CMake component: fix prefix and rtos enable macro
0xc0170 Sep 25, 2020
3b2a344
CMake component: fix macro name
0xc0170 Sep 25, 2020
3f23024
CMake: fix component path not found, display an error
0xc0170 Sep 25, 2020
88873dd
CMake: disable only enabled components fix
0xc0170 Sep 25, 2020
cfa1caa
CMake: fix component prefix, remove it for macro
0xc0170 Sep 25, 2020
3909ceb
CMake: internal core component function prefix
0xc0170 Sep 25, 2020
707b2f3
CMake drivers: storage header protection
0xc0170 Sep 25, 2020
a146e74
CMake: add nfc PN12 component
0xc0170 Sep 25, 2020
92467c1
CMake: pn511 nfc path fix
0xc0170 Sep 25, 2020
305050f
CMake netsocket: add new library
0xc0170 Sep 25, 2020
c9ef9f2
CMake: fix nanostack lib naming
0xc0170 Sep 25, 2020
609101f
STM: remove mbed.h, will be fixed on master
0xc0170 Sep 25, 2020
ed44f3c
nanostack: TODO fix upstream
0xc0170 Sep 25, 2020
4e52a36
STM32: TODO fix upstream
0xc0170 Sep 25, 2020
095eb64
CMake: add mbedtls and fix nanostack dependencies
0xc0170 Sep 25, 2020
53b819e
CMake components: add component only once
0xc0170 Sep 26, 2020
5bef632
CMake components: fix dependency tree in netsockets
0xc0170 Sep 26, 2020
853168f
CMake components: add dependencies for components
0xc0170 Sep 26, 2020
53b8f57
CMake components: add dependencies via mbed_enable_component
0xc0170 Sep 27, 2020
690489a
CMake components: fix comments and naming
0xc0170 Sep 27, 2020
95ebe9a
CMake components: fix function comments
0xc0170 Sep 27, 2020
62fc80b
CMake component: component must set _DEPENDS variable
0xc0170 Sep 27, 2020
06ffda7
CMake components: keep list of disabled modules
0xc0170 Sep 28, 2020
0e01f23
CMake components: fix comments
0xc0170 Sep 28, 2020
ad40a6a
Add design document for components
0xc0170 Sep 28, 2020
bab4890
test subdir in the tree
0xc0170 Sep 28, 2020
1320320
remove components concept, use pure CMake for this
0xc0170 Sep 28, 2020
0a14106
CMake components: add storage and fix drivers/usb issue
0xc0170 Sep 28, 2020
ac7619d
CMake components: update design doc to the latest implementation
0xc0170 Sep 28, 2020
1459299
CMake components: fix design doc typos
0xc0170 Sep 28, 2020
1f7081f
CMake components: add PRESENT macro, backward compatibility with old …
0xc0170 Sep 28, 2020
199e9d6
CMake components: fix connectivity libraries macros
0xc0170 Sep 28, 2020
ccc801e
Apply suggestions from code review
0xc0170 Sep 28, 2020
b14011f
CMake wifi driver: fix the library location
0xc0170 Sep 28, 2020
582c867
CMake drivers: add comments to exceptions
0xc0170 Sep 28, 2020
1b638c0
CMake: fix RZ_Ax emac libs
0xc0170 Sep 28, 2020
6eb4453
CMake: add drivers libs
0xc0170 Sep 28, 2020
f6f3598
CMake components: add cellular drivers
0xc0170 Sep 28, 2020
7a20024
CMake: remove unused components
0xc0170 Sep 28, 2020
3ca2140
CMake features: add fpga ci test shield
0xc0170 Sep 28, 2020
0f8cc89
CMake: revert drivers, ready for inclusion
0xc0170 Sep 28, 2020
f1b8d87
mbedtls stm: fix the driver name
0xc0170 Sep 28, 2020
5ee1fe5
CMake: fix component name in features
0xc0170 Sep 28, 2020
68d2579
drivers ble: adding components
0xc0170 Sep 28, 2020
1788d10
CMake: add 802.15.4 components
0xc0170 Sep 28, 2020
d460880
CMake: one of the way to fix object linking
0xc0170 Sep 28, 2020
4de14d5
connectivity: fix component dependencies
0xc0170 Sep 29, 2020
4a4d564
CMake components: fix components dependencies
0xc0170 Sep 29, 2020
1defcc4
CMake components: add debug message
0xc0170 Sep 29, 2020
866ec42
CMake components: add list of all components
0xc0170 Sep 29, 2020
c2cbc7b
CMake netsocket: fix name in the dependencies
0xc0170 Sep 29, 2020
bf44442
CMake components: commmit to link only with app requested, fails to b…
0xc0170 Sep 29, 2020
4f85876
CMake events: make it conditional
0xc0170 Sep 29, 2020
e5e9e2d
CMake components: remove components.cmake, not needed
0xc0170 Sep 29, 2020
d6f949c
CMake components as INTERFACE libraries
0xc0170 Sep 29, 2020
066e5fc
CMake: update design doc to the changes
0xc0170 Sep 29, 2020
00154fa
CMake storage: refactor to interface libs
0xc0170 Sep 29, 2020
2e46c82
CMake: fixing some deps
0xc0170 Sep 29, 2020
e4add7f
mbed.h: fix symbols
0xc0170 Sep 29, 2020
1b6ec1a
fix netsocket cellular file inclusion
0xc0170 Sep 29, 2020
a054d97
CMake components: fix mbed.h until we get tools updated
0xc0170 Sep 29, 2020
d36d9fa
CMake netsocket: fix depedencies in netsockets
0xc0170 Sep 29, 2020
0cd7dab
Apply suggestions from code review
0xc0170 Sep 30, 2020
30cd1a9
CMake: move events to exclude group
0xc0170 Sep 30, 2020
2249725
CMake components: fix naming
0xc0170 Sep 30, 2020
4934358
CMake cellular: fix interface for add_library
0xc0170 Sep 30, 2020
14a65a5
CMake: Have only one CMake target for each component
hugueskamba Oct 1, 2020
7966ab4
CMake: Move connectivity targets creation to parent directory
hugueskamba Oct 2, 2020
653c461
CMake: Clean up storage targets
hugueskamba Oct 5, 2020
4748187
CMake: Make PSA an optional target
hugueskamba Oct 5, 2020
614d4e3
CMake: Fix netsocket dependencies
hugueskamba Oct 5, 2020
78d12e7
CMake: Fix BLE target
hugueskamba Oct 5, 2020
18d0603
CMake: Cleanup nanostack target
hugueskamba Oct 5, 2020
7b06b26
CMake: Fix mbed-trace
hugueskamba Oct 5, 2020
f25a007
CMake: Fix mbed-tls for STM Mbed taregts
hugueskamba Oct 5, 2020
a8c2268
CMake: Fix lorawan
hugueskamba Oct 5, 2020
4a5d855
Rename CMakelists.txt to CMakeLists.txt
rajkan01 Oct 5, 2020
d93c937
CMake: Move features dir component definition to parent directory
hugueskamba Oct 6, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 13 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ include(${MBED_ROOT}/tools/cmake/core.cmake)
include(${MBED_ROOT}/tools/cmake/util.cmake)
include(${MBED_ROOT}/tools/cmake/profile.cmake)

# Create Mbed OS library
add_library(mbed-os OBJECT)

# Validate selected C library type
Expand Down Expand Up @@ -80,19 +79,26 @@ target_include_directories(mbed-os
${CMAKE_CURRENT_SOURCE_DIR}
)

# Default build
# TODO CMake: This component is made visible here so its source files in
# drivers/ can be added and it can be linked against by libraries in storage/.
# Should the source files be moved from drivers/ to storage/ ?
add_library(mbed-os-device_key INTERFACE)

add_subdirectory(cmsis)
add_subdirectory(components)
add_subdirectory(connectivity)
add_subdirectory(drivers)
add_subdirectory(events)
add_subdirectory(features)
add_subdirectory(hal)
add_subdirectory(platform)
add_subdirectory(rtos)
add_subdirectory(storage)
add_subdirectory(targets)

# The directories below contain optional target libraries
add_subdirectory(events EXCLUDE_FROM_ALL)
add_subdirectory(connectivity EXCLUDE_FROM_ALL)
add_subdirectory(storage EXCLUDE_FROM_ALL)
add_subdirectory(drivers/device_key EXCLUDE_FROM_ALL)
add_subdirectory(drivers/source/usb EXCLUDE_FROM_ALL)
add_subdirectory(features EXCLUDE_FROM_ALL)
add_subdirectory(platform/FEATURE_EXPERIMENTAL_API EXCLUDE_FROM_ALL)

#
# Configures the application
Expand Down Expand Up @@ -134,7 +140,6 @@ function(mbed_set_mbed_target_linker_script target)
)
endfunction()


#
# Converts output file of `target` to binary file and to Intel HEX file.
#
Expand Down
1 change: 1 addition & 0 deletions cmsis/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@

add_subdirectory(CMSIS_5)
add_subdirectory(device)

4 changes: 0 additions & 4 deletions components/CMakeLists.txt

This file was deleted.

4 changes: 0 additions & 4 deletions components/testing/CMakeLists.txt

This file was deleted.

18 changes: 0 additions & 18 deletions components/testing/COMPONENT_FPGA_CI_TEST_SHIELD/CMakeLists.txt

This file was deleted.

32 changes: 26 additions & 6 deletions connectivity/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,33 @@
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

mbed_add_cmake_directory_if_labels("FEATURE")
# List of all connectivity libraries available.
add_library(mbed-os-802.15.4-rf INTERFACE)
add_library(mbed-os-ble INTERFACE)
add_library(mbed-os-ble-blue_nrg INTERFACE)
add_library(mbed-os-ble-cordio INTERFACE)
add_library(mbed-os-ble-cordio_ll INTERFACE)
add_library(mbed-os-cellular INTERFACE)
add_library(mbed-os-coap INTERFACE)
add_library(mbed-os-emac INTERFACE)
add_library(mbed-os-lorawan INTERFACE)
add_library(mbed-os-lwipstack INTERFACE)
add_library(mbed-os-mbedtls INTERFACE)
add_library(mbed-os-mbedtls-cryptocell310 INTERFACE)
add_library(mbed-os-nanostack INTERFACE)
add_library(mbed-os-nanostack-coap_service INTERFACE)
add_library(mbed-os-nanostack-mbed_mesh_api INTERFACE)
add_library(mbed-os-nanostack-hal_mbed_cmsis_rtos INTERFACE)
add_library(mbed-os-nanostack-sal_stack INTERFACE)
add_library(mbed-os-nanostack-sal_stack-event_loop INTERFACE)
add_library(mbed-os-nanostack-libservice INTERFACE)
add_library(mbed-os-netsocket INTERFACE)
add_library(mbed-os-nfc INTERFACE)
add_library(mbed-os-ppp INTERFACE)
add_library(mbed-os-wifi INTERFACE)


add_subdirectory(FEATURE_BLE)
add_subdirectory(cellular)
add_subdirectory(drivers)
add_subdirectory(libraries)
Expand All @@ -12,8 +37,3 @@ add_subdirectory(mbedtls)
add_subdirectory(nanostack)
add_subdirectory(netsocket)
add_subdirectory(nfc)

target_include_directories(mbed-os
PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}
)
9 changes: 7 additions & 2 deletions connectivity/FEATURE_BLE/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
add_subdirectory(libraries)
add_subdirectory(source)

target_include_directories(mbed-os
PUBLIC
target_include_directories(mbed-os-ble
INTERFACE
.
include
include/ble
Expand All @@ -20,3 +20,8 @@ target_include_directories(mbed-os
include/ble/services
source
)

target_compile_definitions(mbed-os-ble
INTERFACE
MBED_CONF_BLE_PRESENT=1
)
13 changes: 10 additions & 3 deletions connectivity/FEATURE_BLE/libraries/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

mbed_add_cmake_directory_if_labels("TARGET")
if("CORDIO_LL" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_CORDIO_LL)
endif()

add_subdirectory(cordio_stack)

target_include_directories(mbed-os
PUBLIC
target_include_directories(mbed-os-ble-cordio
INTERFACE
.
)

target_link_libraries(mbed-os-ble-cordio
INTERFACE
mbed-os-ble
)
83 changes: 44 additions & 39 deletions connectivity/FEATURE_BLE/libraries/TARGET_CORDIO_LL/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

target_include_directories(mbed-os
PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/stack
${CMAKE_CURRENT_SOURCE_DIR}/stack/controller
${CMAKE_CURRENT_SOURCE_DIR}/stack/controller/include
${CMAKE_CURRENT_SOURCE_DIR}/stack/controller/include/ble
${CMAKE_CURRENT_SOURCE_DIR}/stack/controller/include/common
${CMAKE_CURRENT_SOURCE_DIR}/stack/controller/sources/ble/bb
${CMAKE_CURRENT_SOURCE_DIR}/stack/controller/sources/ble/include
${CMAKE_CURRENT_SOURCE_DIR}/stack/controller/sources/ble/lctr
${CMAKE_CURRENT_SOURCE_DIR}/stack/controller/sources/ble/lhci
${CMAKE_CURRENT_SOURCE_DIR}/stack/controller/sources/ble/sch
${CMAKE_CURRENT_SOURCE_DIR}/stack/controller/sources/common/bb
${CMAKE_CURRENT_SOURCE_DIR}/stack/controller/sources/common/sch
${CMAKE_CURRENT_SOURCE_DIR}/stack/thirdparty
${CMAKE_CURRENT_SOURCE_DIR}/stack/thirdparty/nordic-bsp/components/boards
${CMAKE_CURRENT_SOURCE_DIR}/stack/thirdparty/uecc
${CMAKE_CURRENT_SOURCE_DIR}/stack_adaptation
target_include_directories(mbed-os-ble-cordio_ll
INTERFACE
.
./stack
./stack/controller
./stack/controller/include
./stack/controller/include/ble
./stack/controller/include/common
./stack/controller/sources/ble/bb
./stack/controller/sources/ble/include
./stack/controller/sources/ble/lctr
./stack/controller/sources/ble/lhci
./stack/controller/sources/ble/sch
./stack/controller/sources/common/bb
./stack/controller/sources/common/sch
./stack/thirdparty
./stack/thirdparty/nordic-bsp/components/boards
./stack/thirdparty/uecc
./stack_adaptation
)

target_sources(mbed-os
PRIVATE
target_sources(mbed-os-ble-cordio_ll
INTERFACE
stack/controller/sources/ble/bb/bb_ble_adv_master.c
stack/controller/sources/ble/bb/bb_ble_adv_master_ae.c
stack/controller/sources/ble/bb/bb_ble_adv_slave.c
Expand All @@ -45,14 +45,14 @@ target_sources(mbed-os
stack/controller/sources/ble/bb/bb_ble_whitelist.c
)

target_sources(mbed-os
PRIVATE
target_sources(mbed-os-ble-cordio_ll
INTERFACE
stack/controller/sources/ble/init/init.c
stack/controller/sources/ble/init/init_ctr.c
)

target_sources(mbed-os
PRIVATE
target_sources(mbed-os-ble-cordio_ll
INTERFACE
stack/controller/sources/ble/lctr/lctr_act_adv_master.c
stack/controller/sources/ble/lctr/lctr_act_adv_master_ae.c
stack/controller/sources/ble/lctr/lctr_act_adv_slave.c
Expand Down Expand Up @@ -145,8 +145,8 @@ target_sources(mbed-os
stack/controller/sources/ble/lctr/lctr_sm_llcp_slave_phy.c
)

target_sources(mbed-os
PRIVATE
target_sources(mbed-os-ble-cordio_ll
INTERFACE
stack/controller/sources/ble/lhci/lhci_cmd.c
stack/controller/sources/ble/lhci/lhci_cmd_adv_master.c
stack/controller/sources/ble/lhci/lhci_cmd_adv_master_ae.c
Expand Down Expand Up @@ -224,8 +224,8 @@ target_sources(mbed-os
stack/controller/sources/ble/lhci/lhci_main_iso.c
)

target_sources(mbed-os
PRIVATE
target_sources(mbed-os-ble-cordio_ll
INTERFACE
stack/controller/sources/ble/ll/ll_init.c
stack/controller/sources/ble/ll/ll_init_adv_master.c
stack/controller/sources/ble/ll/ll_init_adv_master_ae.c
Expand Down Expand Up @@ -275,8 +275,8 @@ target_sources(mbed-os
stack/controller/sources/ble/ll/ll_math.c
)

target_sources(mbed-os
PRIVATE
target_sources(mbed-os-ble-cordio_ll
INTERFACE
stack/controller/sources/ble/lmgr/lmgr_events.c
stack/controller/sources/ble/lmgr/lmgr_main.c
stack/controller/sources/ble/lmgr/lmgr_main_adv_master_ae.c
Expand All @@ -290,15 +290,15 @@ target_sources(mbed-os
stack/controller/sources/ble/lmgr/lmgr_main_slave.c
)

target_sources(mbed-os
PRIVATE
target_sources(mbed-os-ble-cordio_ll
INTERFACE
stack/controller/sources/ble/sch/sch_ble.c
stack/controller/sources/ble/sch/sch_rm.c
stack/controller/sources/ble/sch/sch_tm.c
)

target_sources(mbed-os
PRIVATE
target_sources(mbed-os-ble-cordio_ll
INTERFACE
stack/controller/sources/common/bb/bb_main.c

stack/controller/sources/common/chci/chci_tr.c
Expand All @@ -307,16 +307,21 @@ target_sources(mbed-os
stack/controller/sources/common/sch/sch_main.c
)

target_sources(mbed-os
PRIVATE
target_sources(mbed-os-ble-cordio_ll
INTERFACE
stack/thirdparty/nordic-bsp/components/boards/boards.c

stack/thirdparty/uecc/asm_arm.inc
stack/thirdparty/uecc/uECC.c
stack/thirdparty/uecc/uECC_ll.c
)

target_sources(mbed-os
PRIVATE
target_sources(mbed-os-ble-cordio_ll
INTERFACE
stack_adaptation/custom_chci_tr.cpp
)

target_link_libraries(mbed-os-ble-cordio_ll
INTERFACE
mbed-os-ble-cordio
)
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

target_include_directories(mbed-os
PUBLIC
target_include_directories(mbed-os-ble-cordio
INTERFACE
include
sources/hci/dual_chip
sources/sec/common
Expand All @@ -14,8 +14,8 @@ target_include_directories(mbed-os
sources/stack/smp
)

target_sources(mbed-os
PRIVATE
target_sources(mbed-os-ble-cordio
INTERFACE
sources/hci/common/hci_core.c

sources/hci/dual_chip/hci_cmd.c
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

target_include_directories(mbed-os
PUBLIC
target_include_directories(mbed-os-ble-cordio
INTERFACE
include
)
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

target_include_directories(mbed-os
PUBLIC
target_include_directories(mbed-os-ble-cordio
INTERFACE
include
include/util
)

target_sources(mbed-os
PRIVATE
target_sources(mbed-os-ble-cordio
INTERFACE
sources/port/baremetal/wsf_assert.c
sources/port/baremetal/wsf_buf.c
sources/port/baremetal/wsf_bufio.c
Expand Down
4 changes: 2 additions & 2 deletions connectivity/FEATURE_BLE/source/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ add_subdirectory(gatt)
add_subdirectory(generic)
add_subdirectory(pal)

target_sources(mbed-os
PRIVATE
target_sources(mbed-os-ble
INTERFACE
BLE.cpp
Gap.cpp
GattClient.cpp
Expand Down
8 changes: 4 additions & 4 deletions connectivity/FEATURE_BLE/source/cordio/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

target_include_directories(mbed-os
PUBLIC
target_include_directories(mbed-os-ble-cordio
INTERFACE
.
source
stack_adaptation
)

target_sources(mbed-os
PRIVATE
target_sources(mbed-os-ble-cordio
INTERFACE
driver/CordioHCIDriver.cpp
driver/CordioHCITransportDriver.cpp
driver/H4TransportDriver.cpp
Expand Down
Loading