mirror of https://github.com/ARMmbed/mbed-os.git
CMake: Add support for features dir
parent
a63fa605e4
commit
1d6f86f553
|
@ -0,0 +1,22 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("FEATURE")
|
||||
|
||||
add_subdirectory(cellular/framework)
|
||||
add_subdirectory(cryptocell)
|
||||
add_subdirectory(device_key)
|
||||
add_subdirectory(frameworks/mbed-client-randlib)
|
||||
add_subdirectory(frameworks/mbed-trace)
|
||||
add_subdirectory(frameworks/mbed-client-cli)
|
||||
add_subdirectory(lorawan)
|
||||
add_subdirectory(lwipstack)
|
||||
add_subdirectory(mbedtls)
|
||||
add_subdirectory(nanostack)
|
||||
add_subdirectory(netsocket)
|
||||
add_subdirectory(nfc)
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
|
@ -0,0 +1,11 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_subdirectory(ble)
|
||||
add_subdirectory(source)
|
||||
add_subdirectory(targets)
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
|
@ -0,0 +1,12 @@
|
|||
# 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}/common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/gap
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/generic
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/pal
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/services
|
||||
)
|
|
@ -0,0 +1,22 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
BLE.cpp
|
||||
BLEInstanceBase.cpp
|
||||
DiscoveredCharacteristic.cpp
|
||||
GattClient.tpp
|
||||
GattServer.tpp
|
||||
SecurityManager.tpp
|
||||
|
||||
gap/AdvertisingDataBuilder.cpp
|
||||
gap/AdvertisingParameters.cpp
|
||||
gap/ConnectionParameters.cpp
|
||||
gap/Gap.tpp
|
||||
|
||||
generic/FileSecurityDb.cpp
|
||||
generic/GenericGap.tpp
|
||||
generic/GenericGattClient.tpp
|
||||
generic/GenericSecurityManager.tpp
|
||||
)
|
|
@ -0,0 +1,4 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("TARGET")
|
|
@ -0,0 +1,33 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_subdirectory(stack)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
driver/CordioHCIDriver.cpp
|
||||
driver/CordioHCITransportDriver.cpp
|
||||
driver/H4TransportDriver.cpp
|
||||
|
||||
source/CordioBLE.cpp
|
||||
source/CordioGattServer.cpp
|
||||
source/CordioImplementations.cpp
|
||||
source/CordioPalAttClient.cpp
|
||||
source/CordioPalGap.tpp
|
||||
source/CordioPalSecurityManager.tpp
|
||||
|
||||
stack_adaptation/hci_drv.c
|
||||
stack_adaptation/hci_tr.c
|
||||
stack_adaptation/hci_vs.c
|
||||
stack_adaptation/pal_mbed_os_adaptation.cpp
|
||||
stack_adaptation/wsf_cs.c
|
||||
stack_adaptation/wsf_mbed_os_adaptation.c
|
||||
stack_adaptation/wsf_os.c
|
||||
)
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/driver
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/stack_adaptation
|
||||
)
|
|
@ -0,0 +1,11 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_subdirectory(ble-host)
|
||||
add_subdirectory(wsf)
|
||||
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/platform/include
|
||||
)
|
|
@ -0,0 +1,106 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
sources/hci/common/hci_core.c
|
||||
|
||||
sources/hci/dual_chip/hci_cmd.c
|
||||
sources/hci/dual_chip/hci_cmd_ae.c
|
||||
sources/hci/dual_chip/hci_cmd_cte.c
|
||||
sources/hci/dual_chip/hci_cmd_past.c
|
||||
sources/hci/dual_chip/hci_cmd_phy.c
|
||||
sources/hci/dual_chip/hci_core_ps.c
|
||||
sources/hci/dual_chip/hci_evt.c
|
||||
sources/hci/dual_chip/hci_vs_ae.c
|
||||
|
||||
sources/sec/common/sec_aes.c
|
||||
sources/sec/common/sec_ccm_hci.c
|
||||
sources/sec/common/sec_cmac_hci.c
|
||||
sources/sec/common/sec_ecc_hci.c
|
||||
sources/sec/common/sec_main.c
|
||||
|
||||
sources/sec/pal/sec_ccm.c
|
||||
|
||||
sources/stack/att/att_main.c
|
||||
sources/stack/att/att_uuid.c
|
||||
sources/stack/att/attc_disc.c
|
||||
sources/stack/att/attc_main.c
|
||||
sources/stack/att/attc_proc.c
|
||||
sources/stack/att/attc_read.c
|
||||
sources/stack/att/attc_sign.c
|
||||
sources/stack/att/attc_write.c
|
||||
sources/stack/att/atts_ccc.c
|
||||
sources/stack/att/atts_csf.c
|
||||
sources/stack/att/atts_dyn.c
|
||||
sources/stack/att/atts_ind.c
|
||||
sources/stack/att/atts_main.c
|
||||
sources/stack/att/atts_proc.c
|
||||
sources/stack/att/atts_read.c
|
||||
sources/stack/att/atts_sign.c
|
||||
sources/stack/att/atts_write.c
|
||||
|
||||
sources/stack/cfg/cfg_stack.c
|
||||
|
||||
sources/stack/dm/dm_adv.c
|
||||
sources/stack/dm/dm_adv_ae.c
|
||||
sources/stack/dm/dm_adv_leg.c
|
||||
sources/stack/dm/dm_conn.c
|
||||
sources/stack/dm/dm_conn_cte.c
|
||||
sources/stack/dm/dm_conn_master.c
|
||||
sources/stack/dm/dm_conn_master_ae.c
|
||||
sources/stack/dm/dm_conn_master_leg.c
|
||||
sources/stack/dm/dm_conn_slave.c
|
||||
sources/stack/dm/dm_conn_slave_ae.c
|
||||
sources/stack/dm/dm_conn_slave_leg.c
|
||||
sources/stack/dm/dm_conn_sm.c
|
||||
sources/stack/dm/dm_dev.c
|
||||
sources/stack/dm/dm_dev_priv.c
|
||||
sources/stack/dm/dm_main.c
|
||||
sources/stack/dm/dm_past.c
|
||||
sources/stack/dm/dm_phy.c
|
||||
sources/stack/dm/dm_priv.c
|
||||
sources/stack/dm/dm_scan.c
|
||||
sources/stack/dm/dm_scan_ae.c
|
||||
sources/stack/dm/dm_scan_leg.c
|
||||
sources/stack/dm/dm_sec.c
|
||||
sources/stack/dm/dm_sec_lesc.c
|
||||
sources/stack/dm/dm_sec_master.c
|
||||
sources/stack/dm/dm_sec_slave.c
|
||||
sources/stack/dm/dm_sync_ae.c
|
||||
|
||||
sources/stack/hci/hci_main.c
|
||||
|
||||
sources/stack/l2c/l2c_coc.c
|
||||
sources/stack/l2c/l2c_main.c
|
||||
sources/stack/l2c/l2c_master.c
|
||||
sources/stack/l2c/l2c_slave.c
|
||||
|
||||
sources/stack/smp/smp_act.c
|
||||
sources/stack/smp/smp_db.c
|
||||
sources/stack/smp/smp_main.c
|
||||
sources/stack/smp/smp_non.c
|
||||
sources/stack/smp/smp_sc_act.c
|
||||
sources/stack/smp/smp_sc_main.c
|
||||
sources/stack/smp/smpi_act.c
|
||||
sources/stack/smp/smpi_sc_act.c
|
||||
sources/stack/smp/smpi_sc_sm.c
|
||||
sources/stack/smp/smpi_sm.c
|
||||
sources/stack/smp/smpr_act.c
|
||||
sources/stack/smp/smpr_sc_act.c
|
||||
sources/stack/smp/smpr_sc_sm.c
|
||||
sources/stack/smp/smpr_sm.c
|
||||
)
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/sources/hci/dual_chip
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/sources/sec/common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/sources/stack/att
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/sources/stack/cfg
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/sources/stack/dm
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/sources/stack/hci
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/sources/stack/l2c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/sources/stack/smp
|
||||
)
|
|
@ -0,0 +1,34 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
sources/port/baremetal/wsf_assert.c
|
||||
sources/port/baremetal/wsf_buf.c
|
||||
sources/port/baremetal/wsf_bufio.c
|
||||
sources/port/baremetal/wsf_detoken.c
|
||||
sources/port/baremetal/wsf_efs.c
|
||||
sources/port/baremetal/wsf_heap.c
|
||||
sources/port/baremetal/wsf_msg.c
|
||||
sources/port/baremetal/wsf_nvm.c
|
||||
sources/port/baremetal/wsf_queue.c
|
||||
sources/port/baremetal/wsf_timer.c
|
||||
sources/port/baremetal/wsf_trace.c
|
||||
|
||||
sources/util/bda.c
|
||||
sources/util/bstream.c
|
||||
sources/util/calc128.c
|
||||
sources/util/crc32.c
|
||||
sources/util/fcs.c
|
||||
sources/util/prand.c
|
||||
sources/util/print.c
|
||||
sources/util/terminal.c
|
||||
sources/util/wstr.c
|
||||
)
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/util
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/sources/port/baremetal
|
||||
)
|
|
@ -0,0 +1,253 @@
|
|||
# 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_sources(mbed-os
|
||||
PRIVATE
|
||||
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
|
||||
stack/controller/sources/ble/bb/bb_ble_adv_slave_ae.c
|
||||
stack/controller/sources/ble/bb/bb_ble_conn.c
|
||||
stack/controller/sources/ble/bb/bb_ble_conn_master.c
|
||||
stack/controller/sources/ble/bb/bb_ble_conn_slave.c
|
||||
stack/controller/sources/ble/bb/bb_ble_main.c
|
||||
stack/controller/sources/ble/bb/bb_ble_pdufilt.c
|
||||
stack/controller/sources/ble/bb/bb_ble_periodiclist.c
|
||||
stack/controller/sources/ble/bb/bb_ble_reslist.c
|
||||
stack/controller/sources/ble/bb/bb_ble_test.c
|
||||
stack/controller/sources/ble/bb/bb_ble_whitelist.c
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
stack/controller/sources/ble/init/init.c
|
||||
stack/controller/sources/ble/init/init_ctr.c
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
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
|
||||
stack/controller/sources/ble/lctr/lctr_act_adv_slave_ae.c
|
||||
stack/controller/sources/ble/lctr/lctr_act_conn.c
|
||||
stack/controller/sources/ble/lctr/lctr_act_conn_master.c
|
||||
stack/controller/sources/ble/lctr/lctr_act_conn_master_ae.c
|
||||
stack/controller/sources/ble/lctr/lctr_act_conn_past.c
|
||||
stack/controller/sources/ble/lctr/lctr_act_enc.c
|
||||
stack/controller/sources/ble/lctr/lctr_act_enc_master.c
|
||||
stack/controller/sources/ble/lctr/lctr_act_init_master.c
|
||||
stack/controller/sources/ble/lctr/lctr_act_init_master_ae.c
|
||||
stack/controller/sources/ble/lctr/lctr_act_phy.c
|
||||
stack/controller/sources/ble/lctr/lctr_isr_adv_master.c
|
||||
stack/controller/sources/ble/lctr/lctr_isr_adv_master_ae.c
|
||||
stack/controller/sources/ble/lctr/lctr_isr_adv_slave.c
|
||||
stack/controller/sources/ble/lctr/lctr_isr_adv_slave_ae.c
|
||||
stack/controller/sources/ble/lctr/lctr_isr_conn.c
|
||||
stack/controller/sources/ble/lctr/lctr_isr_conn_master.c
|
||||
stack/controller/sources/ble/lctr/lctr_isr_conn_slave.c
|
||||
stack/controller/sources/ble/lctr/lctr_isr_init_master.c
|
||||
stack/controller/sources/ble/lctr/lctr_isr_init_master_ae.c
|
||||
stack/controller/sources/ble/lctr/lctr_main.c
|
||||
stack/controller/sources/ble/lctr/lctr_main_adv_master.c
|
||||
stack/controller/sources/ble/lctr/lctr_main_adv_master_ae.c
|
||||
stack/controller/sources/ble/lctr/lctr_main_adv_slave.c
|
||||
stack/controller/sources/ble/lctr/lctr_main_adv_slave_ae.c
|
||||
stack/controller/sources/ble/lctr/lctr_main_conn.c
|
||||
stack/controller/sources/ble/lctr/lctr_main_conn_cs2.c
|
||||
stack/controller/sources/ble/lctr/lctr_main_conn_data.c
|
||||
stack/controller/sources/ble/lctr/lctr_main_conn_master.c
|
||||
stack/controller/sources/ble/lctr/lctr_main_conn_slave.c
|
||||
stack/controller/sources/ble/lctr/lctr_main_enc_master.c
|
||||
stack/controller/sources/ble/lctr/lctr_main_enc_slave.c
|
||||
stack/controller/sources/ble/lctr/lctr_main_init_master.c
|
||||
stack/controller/sources/ble/lctr/lctr_main_init_master_ae.c
|
||||
stack/controller/sources/ble/lctr/lctr_main_master_phy.c
|
||||
stack/controller/sources/ble/lctr/lctr_main_past.c
|
||||
stack/controller/sources/ble/lctr/lctr_main_priv.c
|
||||
stack/controller/sources/ble/lctr/lctr_main_sc.c
|
||||
stack/controller/sources/ble/lctr/lctr_main_slave_phy.c
|
||||
stack/controller/sources/ble/lctr/lctr_pdu_adv_master_ae.c
|
||||
stack/controller/sources/ble/lctr/lctr_pdu_adv_slave.c
|
||||
stack/controller/sources/ble/lctr/lctr_pdu_adv_slave_ae.c
|
||||
stack/controller/sources/ble/lctr/lctr_pdu_conn.c
|
||||
stack/controller/sources/ble/lctr/lctr_pdu_enc.c
|
||||
stack/controller/sources/ble/lctr/lctr_sm_adv_master.c
|
||||
stack/controller/sources/ble/lctr/lctr_sm_adv_master_ae.c
|
||||
stack/controller/sources/ble/lctr/lctr_sm_adv_slave.c
|
||||
stack/controller/sources/ble/lctr/lctr_sm_adv_slave_ae.c
|
||||
stack/controller/sources/ble/lctr/lctr_sm_conn_master.c
|
||||
stack/controller/sources/ble/lctr/lctr_sm_conn_slave.c
|
||||
stack/controller/sources/ble/lctr/lctr_sm_init_master.c
|
||||
stack/controller/sources/ble/lctr/lctr_sm_init_master_ae.c
|
||||
stack/controller/sources/ble/lctr/lctr_sm_llcp_conn.c
|
||||
stack/controller/sources/ble/lctr/lctr_sm_llcp_conn_master.c
|
||||
stack/controller/sources/ble/lctr/lctr_sm_llcp_conn_slave.c
|
||||
stack/controller/sources/ble/lctr/lctr_sm_llcp_enc_master.c
|
||||
stack/controller/sources/ble/lctr/lctr_sm_llcp_enc_slave.c
|
||||
stack/controller/sources/ble/lctr/lctr_sm_llcp_master_phy.c
|
||||
stack/controller/sources/ble/lctr/lctr_sm_llcp_slave_phy.c
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
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
|
||||
stack/controller/sources/ble/lhci/lhci_cmd_adv_priv.c
|
||||
stack/controller/sources/ble/lhci/lhci_cmd_adv_slave.c
|
||||
stack/controller/sources/ble/lhci/lhci_cmd_adv_slave_ae.c
|
||||
stack/controller/sources/ble/lhci/lhci_cmd_conn.c
|
||||
stack/controller/sources/ble/lhci/lhci_cmd_conn_master.c
|
||||
stack/controller/sources/ble/lhci/lhci_cmd_conn_master_ae.c
|
||||
stack/controller/sources/ble/lhci/lhci_cmd_conn_priv.c
|
||||
stack/controller/sources/ble/lhci/lhci_cmd_enc_master.c
|
||||
stack/controller/sources/ble/lhci/lhci_cmd_enc_slave.c
|
||||
stack/controller/sources/ble/lhci/lhci_cmd_past.c
|
||||
stack/controller/sources/ble/lhci/lhci_cmd_phy.c
|
||||
stack/controller/sources/ble/lhci/lhci_cmd_sc.c
|
||||
stack/controller/sources/ble/lhci/lhci_cmd_vs.c
|
||||
stack/controller/sources/ble/lhci/lhci_cmd_vs_adv_master.c
|
||||
stack/controller/sources/ble/lhci/lhci_cmd_vs_adv_master_ae.c
|
||||
stack/controller/sources/ble/lhci/lhci_cmd_vs_adv_slave.c
|
||||
stack/controller/sources/ble/lhci/lhci_cmd_vs_adv_slave_ae.c
|
||||
stack/controller/sources/ble/lhci/lhci_cmd_vs_conn.c
|
||||
stack/controller/sources/ble/lhci/lhci_cmd_vs_conn_master.c
|
||||
stack/controller/sources/ble/lhci/lhci_cmd_vs_enc_slave.c
|
||||
stack/controller/sources/ble/lhci/lhci_cmd_vs_ext.c
|
||||
stack/controller/sources/ble/lhci/lhci_cmd_vs_sc.c
|
||||
stack/controller/sources/ble/lhci/lhci_evt.c
|
||||
stack/controller/sources/ble/lhci/lhci_evt_adv_master.c
|
||||
stack/controller/sources/ble/lhci/lhci_evt_adv_master_ae.c
|
||||
stack/controller/sources/ble/lhci/lhci_evt_adv_slave.c
|
||||
stack/controller/sources/ble/lhci/lhci_evt_adv_slave_ae.c
|
||||
stack/controller/sources/ble/lhci/lhci_evt_conn.c
|
||||
stack/controller/sources/ble/lhci/lhci_evt_conn_cs2.c
|
||||
stack/controller/sources/ble/lhci/lhci_evt_conn_master.c
|
||||
stack/controller/sources/ble/lhci/lhci_evt_conn_priv.c
|
||||
stack/controller/sources/ble/lhci/lhci_evt_enc_master.c
|
||||
stack/controller/sources/ble/lhci/lhci_evt_enc_slave.c
|
||||
stack/controller/sources/ble/lhci/lhci_evt_phy.c
|
||||
stack/controller/sources/ble/lhci/lhci_evt_sc.c
|
||||
stack/controller/sources/ble/lhci/lhci_evt_vs.c
|
||||
stack/controller/sources/ble/lhci/lhci_init.c
|
||||
stack/controller/sources/ble/lhci/lhci_init_adv_master.c
|
||||
stack/controller/sources/ble/lhci/lhci_init_adv_master_ae.c
|
||||
stack/controller/sources/ble/lhci/lhci_init_adv_priv.c
|
||||
stack/controller/sources/ble/lhci/lhci_init_adv_slave.c
|
||||
stack/controller/sources/ble/lhci/lhci_init_adv_slave_ae.c
|
||||
stack/controller/sources/ble/lhci/lhci_init_conn.c
|
||||
stack/controller/sources/ble/lhci/lhci_init_conn_cs2.c
|
||||
stack/controller/sources/ble/lhci/lhci_init_conn_master.c
|
||||
stack/controller/sources/ble/lhci/lhci_init_conn_master_ae.c
|
||||
stack/controller/sources/ble/lhci/lhci_init_conn_priv.c
|
||||
stack/controller/sources/ble/lhci/lhci_init_enc_master.c
|
||||
stack/controller/sources/ble/lhci/lhci_init_enc_slave.c
|
||||
stack/controller/sources/ble/lhci/lhci_init_past.c
|
||||
stack/controller/sources/ble/lhci/lhci_init_phy.c
|
||||
stack/controller/sources/ble/lhci/lhci_init_sc.c
|
||||
stack/controller/sources/ble/lhci/lhci_main.c
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
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
|
||||
stack/controller/sources/ble/ll/ll_init_adv_slave.c
|
||||
stack/controller/sources/ble/ll/ll_init_adv_slave_ae.c
|
||||
stack/controller/sources/ble/ll/ll_init_conn_cs2.c
|
||||
stack/controller/sources/ble/ll/ll_init_conn_master.c
|
||||
stack/controller/sources/ble/ll/ll_init_conn_slave.c
|
||||
stack/controller/sources/ble/ll/ll_init_enc_master.c
|
||||
stack/controller/sources/ble/ll/ll_init_enc_slave.c
|
||||
stack/controller/sources/ble/ll/ll_init_init_master.c
|
||||
stack/controller/sources/ble/ll/ll_init_init_master_ae.c
|
||||
stack/controller/sources/ble/ll/ll_init_master_phy.c
|
||||
stack/controller/sources/ble/ll/ll_init_past.c
|
||||
stack/controller/sources/ble/ll/ll_init_priv.c
|
||||
stack/controller/sources/ble/ll/ll_init_sc.c
|
||||
stack/controller/sources/ble/ll/ll_init_slave_phy.c
|
||||
stack/controller/sources/ble/ll/ll_main.c
|
||||
stack/controller/sources/ble/ll/ll_main_adv_master.c
|
||||
stack/controller/sources/ble/ll/ll_main_adv_master_ae.c
|
||||
stack/controller/sources/ble/ll/ll_main_adv_slave.c
|
||||
stack/controller/sources/ble/ll/ll_main_adv_slave_ae.c
|
||||
stack/controller/sources/ble/ll/ll_main_conn.c
|
||||
stack/controller/sources/ble/ll/ll_main_conn_master.c
|
||||
stack/controller/sources/ble/ll/ll_main_conn_master_ae.c
|
||||
stack/controller/sources/ble/ll/ll_main_conn_slave.c
|
||||
stack/controller/sources/ble/ll/ll_main_diag.c
|
||||
stack/controller/sources/ble/ll/ll_main_dtm.c
|
||||
stack/controller/sources/ble/ll/ll_main_enc_master.c
|
||||
stack/controller/sources/ble/ll/ll_main_enc_slave.c
|
||||
stack/controller/sources/ble/ll/ll_main_past.c
|
||||
stack/controller/sources/ble/ll/ll_main_phy.c
|
||||
stack/controller/sources/ble/ll/ll_main_priv.c
|
||||
stack/controller/sources/ble/ll/ll_main_sc.c
|
||||
stack/controller/sources/ble/ll/ll_math.c
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
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
|
||||
stack/controller/sources/ble/lmgr/lmgr_main_adv_slave_ae.c
|
||||
stack/controller/sources/ble/lmgr/lmgr_main_conn.c
|
||||
stack/controller/sources/ble/lmgr/lmgr_main_master.c
|
||||
stack/controller/sources/ble/lmgr/lmgr_main_priv.c
|
||||
stack/controller/sources/ble/lmgr/lmgr_main_sc.c
|
||||
stack/controller/sources/ble/lmgr/lmgr_main_slave.c
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
stack/controller/sources/ble/sch/sch_ble.c
|
||||
stack/controller/sources/ble/sch/sch_rm.c
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
stack/controller/sources/common/bb/bb_main.c
|
||||
|
||||
stack/controller/sources/common/chci/chci_tr.c
|
||||
|
||||
stack/controller/sources/common/sch/sch_list.c
|
||||
stack/controller/sources/common/sch/sch_main.c
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
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
|
||||
stack_adaptation/fake_lhci_drv.cpp
|
||||
)
|
|
@ -0,0 +1,5 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("COMPONENT")
|
||||
mbed_add_cmake_directory_if_labels("TARGET")
|
|
@ -0,0 +1,16 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("TARGET")
|
||||
add_subdirectory(firmware)
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
CyH4TransportDriver.cpp
|
||||
HCIDriver.cpp
|
||||
)
|
|
@ -0,0 +1,7 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
cy_bt_cordio_cfg.cpp
|
||||
)
|
|
@ -0,0 +1,5 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("COMPONENT")
|
||||
mbed_add_cmake_directory_if_labels("TARGET")
|
|
@ -0,0 +1,7 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
w_bt_firmware_controller.c
|
||||
)
|
|
@ -0,0 +1,7 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
w_bt_firmware_controller.c
|
||||
)
|
|
@ -0,0 +1,7 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
w_bt_firmware_controller.c
|
||||
)
|
|
@ -0,0 +1,7 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
w_bt_firmware_controller.c
|
||||
)
|
|
@ -0,0 +1,14 @@
|
|||
# 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}/drivers
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
Psoc6BLE.cpp
|
||||
drivers/IPCPipeTransportDriver.cpp
|
||||
)
|
|
@ -0,0 +1,4 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("TARGET")
|
|
@ -0,0 +1,4 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("TARGET")
|
|
@ -0,0 +1,2 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
|
@ -0,0 +1,27 @@
|
|||
# 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/include
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
NRFCordioHCIDriver.cpp
|
||||
NRFCordioHCITransportDriver.cpp
|
||||
|
||||
stack/sources/pal_bb.c
|
||||
stack/sources/pal_bb_ble.c
|
||||
stack/sources/pal_bb_ble_rf.c
|
||||
stack/sources/pal_cfg.c
|
||||
stack/sources/pal_crypto.c
|
||||
stack/sources/pal_led.c
|
||||
stack/sources/pal_nvm.c
|
||||
stack/sources/pal_rtc.c
|
||||
stack/sources/pal_sys.c
|
||||
stack/sources/pal_timer.c
|
||||
stack/sources/pal_twi.c
|
||||
stack/sources/pal_uart.c
|
||||
)
|
|
@ -0,0 +1,4 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("TARGET")
|
|
@ -0,0 +1,7 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
HCIDriver.cpp
|
||||
)
|
|
@ -0,0 +1,19 @@
|
|||
# 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}/STM32Cube_FW
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
HCIDriver.cpp
|
||||
hw_ipcc.c
|
||||
|
||||
STM32Cube_FW/shci.c
|
||||
STM32Cube_FW/shci_tl.c
|
||||
STM32Cube_FW/stm_list.c
|
||||
STM32Cube_FW/tl_mbox.c
|
||||
)
|
|
@ -0,0 +1,4 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("FEATURE")
|
|
@ -0,0 +1,15 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("TARGET")
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/inc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/inc/psa
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
src/psa_hrng.c
|
||||
)
|
|
@ -0,0 +1,32 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_subdirectory(services)
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/inc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/inc/psa
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/mbedtls
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/pal
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
mbedtls/psa_crypto.c
|
||||
mbedtls/psa_crypto_se.c
|
||||
mbedtls/psa_crypto_slot_management.c
|
||||
mbedtls/psa_crypto_storage.c
|
||||
mbedtls/psa_its_file.c
|
||||
|
||||
pal/pal_attestation_eat.c
|
||||
pal/pal_attestation_intf.c
|
||||
pal/pal_client_api_empty_intf.c
|
||||
pal/pal_client_api_intf.c
|
||||
pal/pal_internal_trusted_storage_intf.c
|
||||
pal/pal_mbed_os_intf.cpp
|
||||
pal/pal_protected_storage_intf.c
|
||||
|
||||
src/client.c
|
||||
src/default_random_seed.cpp
|
||||
)
|
|
@ -0,0 +1,16 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_subdirectory(attestation)
|
||||
add_subdirectory(storage)
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/platform
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
platform/platform_emul.c
|
||||
platform/platform_srv_impl.c
|
||||
)
|
|
@ -0,0 +1,36 @@
|
|||
# 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}/qcbor
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/qcbor/inc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/qcbor/src
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/tfm_impl
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/tfm_impl/t_cose/inc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/tfm_impl/t_cose/src
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
attest_boot_status_loader.c
|
||||
attest_crypto.c
|
||||
attest_crypto_keys.c
|
||||
attest_iat_claims_loader.c
|
||||
attestation_bootloader_data.c
|
||||
psa_attest_inject_key.c
|
||||
psa_attestation_stubs.c
|
||||
psa_initial_attestation_api.c
|
||||
|
||||
qcbor/src/UsefulBuf.c
|
||||
qcbor/src/ieee754.c
|
||||
qcbor/src/qcbor_decode.c
|
||||
qcbor/src/qcbor_encode.c
|
||||
|
||||
tfm_impl/attest_token.c
|
||||
tfm_impl/attestation_core.c
|
||||
|
||||
tfm_impl/t_cose/src/t_cose_sign1_sign.c
|
||||
tfm_impl/t_cose/src/t_cose_util.c
|
||||
)
|
|
@ -0,0 +1,18 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/common
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/its
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
common/psa_storage_common_impl.cpp
|
||||
|
||||
its/pits_impl.cpp
|
||||
its/psa_prot_internal_storage.cpp
|
||||
|
||||
ps/protected_storage.cpp
|
||||
)
|
|
@ -0,0 +1,20 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("TARGET")
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/psa
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include/psa_manifest
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
src/tfm_crypto_ipc_api.c
|
||||
src/tfm_initial_attestation_ipc_api.c
|
||||
src/tfm_its_ipc_api.c
|
||||
src/tfm_platform_ipc_api.c
|
||||
src/tfm_sst_ipc_api.c
|
||||
)
|
|
@ -0,0 +1,12 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
src/platform_multicore.c
|
||||
src/platform_ns_mailbox.c
|
||||
src/tfm_mbed_boot.c
|
||||
src/tfm_multi_core_api.c
|
||||
src/tfm_multi_core_psa_ns_api.c
|
||||
src/tfm_ns_mailbox.c
|
||||
)
|
|
@ -0,0 +1,10 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
src/cmsis_nvic_virtual.c
|
||||
src/tfm_mbed_boot.c
|
||||
src/tfm_ns_interface.c
|
||||
src/tfm_psa_ns_api.c
|
||||
)
|
|
@ -0,0 +1,7 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
|
@ -0,0 +1,18 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
AT_CellularContext.cpp
|
||||
AT_CellularDevice.cpp
|
||||
AT_CellularInformation.cpp
|
||||
AT_CellularNetwork.cpp
|
||||
AT_CellularSMS.cpp
|
||||
AT_CellularStack.cpp
|
||||
AT_ControlPlane_netif.cpp
|
||||
)
|
|
@ -0,0 +1,8 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_subdirectory(API)
|
||||
add_subdirectory(AT)
|
||||
add_subdirectory(common)
|
||||
add_subdirectory(device)
|
||||
add_subdirectory(targets)
|
|
@ -0,0 +1,14 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
APN_db.cpp
|
||||
CellularLog.cpp
|
||||
CellularUtil.cpp
|
||||
)
|
|
@ -0,0 +1,15 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
ATHandler.cpp
|
||||
CellularContext.cpp
|
||||
CellularDevice.cpp
|
||||
CellularStateMachine.cpp
|
||||
)
|
|
@ -0,0 +1,4 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("")
|
|
@ -0,0 +1,14 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
ALT1250_PPP.cpp
|
||||
ALT1250_PPP_CellularContext.cpp
|
||||
ALT1250_PPP_CellularNetwork.cpp
|
||||
)
|
|
@ -0,0 +1,4 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("")
|
|
@ -0,0 +1,4 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("")
|
|
@ -0,0 +1,15 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
GEMALTO_CINTERION.cpp
|
||||
GEMALTO_CINTERION_CellularContext.cpp
|
||||
GEMALTO_CINTERION_CellularInformation.cpp
|
||||
GEMALTO_CINTERION_CellularStack.cpp
|
||||
)
|
|
@ -0,0 +1,4 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("")
|
|
@ -0,0 +1,4 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("")
|
|
@ -0,0 +1,12 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
GENERIC_AT3GPP.cpp
|
||||
)
|
|
@ -0,0 +1,4 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("")
|
|
@ -0,0 +1,4 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("")
|
|
@ -0,0 +1,13 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
SARA4_PPP.cpp
|
||||
SARA4_PPP_CellularNetwork.cpp
|
||||
)
|
|
@ -0,0 +1,16 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
QUECTEL_BC95.cpp
|
||||
QUECTEL_BC95_CellularContext.cpp
|
||||
QUECTEL_BC95_CellularInformation.cpp
|
||||
QUECTEL_BC95_CellularNetwork.cpp
|
||||
QUECTEL_BC95_CellularStack.cpp
|
||||
)
|
|
@ -0,0 +1,17 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
QUECTEL_BG96.cpp
|
||||
QUECTEL_BG96_CellularContext.cpp
|
||||
QUECTEL_BG96_CellularInformation.cpp
|
||||
QUECTEL_BG96_CellularNetwork.cpp
|
||||
QUECTEL_BG96_CellularStack.cpp
|
||||
QUECTEL_BG96_ControlPlane_netif.cpp
|
||||
)
|
|
@ -0,0 +1,4 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("")
|
|
@ -0,0 +1,12 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
QUECTEL_EC2X.cpp
|
||||
)
|
|
@ -0,0 +1,15 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
QUECTEL_M26.cpp
|
||||
QUECTEL_M26_CellularContext.cpp
|
||||
QUECTEL_M26_CellularInformation.cpp
|
||||
QUECTEL_M26_CellularStack.cpp
|
||||
)
|
|
@ -0,0 +1,13 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
QUECTEL_UG96.cpp
|
||||
QUECTEL_UG96_CellularContext.cpp
|
||||
)
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
|
@ -0,0 +1,15 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
RM1000_AT.cpp
|
||||
RM1000_AT_CellularContext.cpp
|
||||
RM1000_AT_CellularNetwork.cpp
|
||||
RM1000_AT_CellularStack.cpp
|
||||
)
|
|
@ -0,0 +1,4 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("")
|
|
@ -0,0 +1,4 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("")
|
|
@ -0,0 +1,12 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
TELIT_HE910.cpp
|
||||
)
|
|
@ -0,0 +1,15 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
TELIT_ME310.cpp
|
||||
TELIT_ME310_CellularContext.cpp
|
||||
TELIT_ME310_CellularNetwork.cpp
|
||||
TELIT_ME310_CellularStack.cpp
|
||||
)
|
|
@ -0,0 +1,14 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
TELIT_ME910.cpp
|
||||
TELIT_ME910_CellularContext.cpp
|
||||
TELIT_ME910_CellularNetwork.cpp
|
||||
)
|
|
@ -0,0 +1,15 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
UBLOX_AT.cpp
|
||||
UBLOX_AT_CellularContext.cpp
|
||||
UBLOX_AT_CellularNetwork.cpp
|
||||
UBLOX_AT_CellularStack.cpp
|
||||
)
|
|
@ -0,0 +1,4 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("")
|
|
@ -0,0 +1,16 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
UBLOX_N2XX.cpp
|
||||
UBLOX_N2XX_CellularContext.cpp
|
||||
UBLOX_N2XX_CellularNetwork.cpp
|
||||
UBLOX_N2XX_CellularSMS.cpp
|
||||
UBLOX_N2XX_CellularStack.cpp
|
||||
)
|
|
@ -0,0 +1,12 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
UBLOX_PPP.cpp
|
||||
)
|
|
@ -0,0 +1,4 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("FEATURE")
|
|
@ -0,0 +1,25 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("TARGET")
|
||||
add_subdirectory(binaries)
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/include
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
aes_alt.c
|
||||
cc_internal.c
|
||||
ccm_alt.c
|
||||
cmac_alt.c
|
||||
ecdh_alt.c
|
||||
ecdsa_alt.c
|
||||
sha1_alt.c
|
||||
sha256_alt.c
|
||||
sha512_alt.c
|
||||
trng.c
|
||||
)
|
|
@ -0,0 +1,37 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
function(_mbed_get_libcc_310_ext)
|
||||
if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
|
||||
set(LIBCC_310_EXT TOOLCHAIN_GCC_ARM/libcc_310_ext.a)
|
||||
elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
|
||||
set(LIBCC_310_EXT TOOLCHAIN_ARM/libcc_310_ext.ar)
|
||||
elseif(${MBED_TOOLCHAIN} STREQUAL "IAR")
|
||||
set(LIBCC_310_EXT TOOLCHAIN_IAR/lib_cc310_ext.a)
|
||||
endif()
|
||||
target_sources(mbed-os PRIVATE ${LIBCC_310_EXT})
|
||||
endfunction()
|
||||
|
||||
function(_mbed_get_libcc_310_trng)
|
||||
if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
|
||||
set(LIBCC_310_TRNG TOOLCHAIN_GCC_ARM/libcc_310_trng.a)
|
||||
elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
|
||||
set(LIBCC_310_TRNG TOOLCHAIN_ARM/libcc_310_trng.ar)
|
||||
elseif(${MBED_TOOLCHAIN} STREQUAL "IAR")
|
||||
set(LIBCC_310_TRNG TOOLCHAIN_IAR/lib_cc310_trng.a)
|
||||
endif()
|
||||
target_sources(mbed-os PRIVATE ${LIBCC_310_TRNG})
|
||||
endfunction()
|
||||
|
||||
_mbed_get_libcc_310_ext()
|
||||
_mbed_get_libcc_310_trng()
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
crypto_device_platform.c
|
||||
)
|
|
@ -0,0 +1,15 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
function(_mbed_get_libcc_310_core)
|
||||
if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
|
||||
set(LIBCC_310_CORE TOOLCHAIN_GCC_ARM/libcc_310_core.a)
|
||||
elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
|
||||
set(LIBCC_310_CORE TOOLCHAIN_ARM/libcc_310_core.ar)
|
||||
elseif(${MBED_TOOLCHAIN} STREQUAL "IAR")
|
||||
set(LIBCC_310_CORE TOOLCHAIN_IAR/lib_cc310_ext.a)
|
||||
endif()
|
||||
target_sources(mbed-os PRIVATE ${LIBCC_310_CORE})
|
||||
endfunction()
|
||||
|
||||
_mbed_get_libcc_310_core()
|
|
@ -0,0 +1,12 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
source
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
source/DeviceKey.cpp
|
||||
)
|
|
@ -0,0 +1,13 @@
|
|||
# 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}/mbed-client-cli
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
source/ns_cmdline.c
|
||||
)
|
|
@ -0,0 +1,12 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
source/randLIB.c
|
||||
)
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
mbed-client-randlib
|
||||
mbed-client-randlib/platform
|
||||
)
|
|
@ -0,0 +1,16 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_subdirectory(lorastack)
|
||||
add_subdirectory(system)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
LoRaWANInterface.cpp
|
||||
LoRaWANStack.cpp
|
||||
)
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
|
@ -0,0 +1,28 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
mac/LoRaMac.cpp
|
||||
mac/LoRaMacChannelPlan.cpp
|
||||
mac/LoRaMacCommand.cpp
|
||||
mac/LoRaMacCrypto.cpp
|
||||
|
||||
phy/LoRaPHY.cpp
|
||||
phy/LoRaPHYAS923.cpp
|
||||
phy/LoRaPHYAU915.cpp
|
||||
phy/LoRaPHYCN470.cpp
|
||||
phy/LoRaPHYCN779.cpp
|
||||
phy/LoRaPHYEU433.cpp
|
||||
phy/LoRaPHYEU868.cpp
|
||||
phy/LoRaPHYIN865.cpp
|
||||
phy/LoRaPHYKR920.cpp
|
||||
phy/LoRaPHYUS915.cpp
|
||||
)
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/mac
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/phy
|
||||
)
|
|
@ -0,0 +1,12 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
LoRaWANTimer.cpp
|
||||
)
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
|
@ -0,0 +1,87 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
lwip/src/api/lwip_api_lib.c
|
||||
lwip/src/api/lwip_api_msg.c
|
||||
lwip/src/api/lwip_err.c
|
||||
lwip/src/api/lwip_if_api.c
|
||||
lwip/src/api/lwip_netbuf.c
|
||||
lwip/src/api/lwip_netdb.c
|
||||
lwip/src/api/lwip_netifapi.c
|
||||
lwip/src/api/lwip_sockets.c
|
||||
lwip/src/api/lwip_tcpip.c
|
||||
|
||||
lwip/src/core/ipv4/lwip_autoip.c
|
||||
lwip/src/core/ipv4/lwip_dhcp.c
|
||||
lwip/src/core/ipv4/lwip_etharp.c
|
||||
lwip/src/core/ipv4/lwip_icmp.c
|
||||
lwip/src/core/ipv4/lwip_igmp.c
|
||||
lwip/src/core/ipv4/lwip_ip4.c
|
||||
lwip/src/core/ipv4/lwip_ip4_addr.c
|
||||
lwip/src/core/ipv4/lwip_ip4_frag.c
|
||||
|
||||
lwip/src/core/ipv6/lwip_dhcp6.c
|
||||
lwip/src/core/ipv6/lwip_ethip6.c
|
||||
lwip/src/core/ipv6/lwip_icmp6.c
|
||||
lwip/src/core/ipv6/lwip_inet6.c
|
||||
lwip/src/core/ipv6/lwip_ip6.c
|
||||
lwip/src/core/ipv6/lwip_ip6_addr.c
|
||||
lwip/src/core/ipv6/lwip_ip6_frag.c
|
||||
lwip/src/core/ipv6/lwip_mld6.c
|
||||
lwip/src/core/ipv6/lwip_nd6.c
|
||||
|
||||
lwip/src/core/lwip_altcp.c
|
||||
lwip/src/core/lwip_altcp_alloc.c
|
||||
lwip/src/core/lwip_altcp_tcp.c
|
||||
lwip/src/core/lwip_def.c
|
||||
lwip/src/core/lwip_dns.c
|
||||
lwip/src/core/lwip_inet_chksum.c
|
||||
lwip/src/core/lwip_init.c
|
||||
lwip/src/core/lwip_ip.c
|
||||
lwip/src/core/lwip_mem.c
|
||||
lwip/src/core/lwip_memp.c
|
||||
lwip/src/core/lwip_netif.c
|
||||
lwip/src/core/lwip_pbuf.c
|
||||
lwip/src/core/lwip_raw.c
|
||||
lwip/src/core/lwip_stats.c
|
||||
lwip/src/core/lwip_sys.c
|
||||
lwip/src/core/lwip_tcp.c
|
||||
lwip/src/core/lwip_tcp_in.c
|
||||
lwip/src/core/lwip_tcp_out.c
|
||||
lwip/src/core/lwip_timeouts.c
|
||||
lwip/src/core/lwip_udp.c
|
||||
|
||||
lwip/src/netif/lwip_bridgeif.c
|
||||
lwip/src/netif/lwip_bridgeif_fdb.c
|
||||
lwip/src/netif/lwip_ethernet.c
|
||||
lwip/src/netif/lwip_lowpan6.c
|
||||
lwip/src/netif/lwip_lowpan6_ble.c
|
||||
lwip/src/netif/lwip_lowpan6_common.c
|
||||
lwip/src/netif/lwip_zepif.c
|
||||
|
||||
lwip-sys/arch/lwip_checksum.c
|
||||
lwip-sys/arch/lwip_memcpy.c
|
||||
lwip-sys/arch/lwip_sys_arch.c
|
||||
lwip-sys/lwip_random.c
|
||||
lwip-sys/lwip_tcp_isn.c
|
||||
|
||||
LWIPInterface.cpp
|
||||
LWIPInterfaceEMAC.cpp
|
||||
LWIPInterfaceL3IP.cpp
|
||||
LWIPInterfacePPP.cpp
|
||||
LWIPMemoryManager.cpp
|
||||
LWIPStack.cpp
|
||||
lwip_tools.cpp
|
||||
)
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
lwip/src/include
|
||||
lwip/src/include/lwip
|
||||
lwip-sys
|
||||
lwip-sys/arch
|
||||
)
|
||||
|
||||
mbed_add_cmake_directory_if_labels("COMPONENT")
|
|
@ -0,0 +1,100 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_subdirectory(targets)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
platform/src/mbed_trng.cpp
|
||||
platform/src/platform_alt.cpp
|
||||
platform/src/shared_rng.cpp
|
||||
|
||||
src/aes.c
|
||||
src/aesni.c
|
||||
src/arc4.c
|
||||
src/aria.c
|
||||
src/asn1parse.c
|
||||
src/asn1write.c
|
||||
src/base64.c
|
||||
src/bignum.c
|
||||
src/blowfish.c
|
||||
src/camellia.c
|
||||
src/ccm.c
|
||||
src/certs.c
|
||||
src/chacha20.c
|
||||
src/chachapoly.c
|
||||
src/cipher.c
|
||||
src/cipher_wrap.c
|
||||
src/cmac.c
|
||||
src/ctr_drbg.c
|
||||
src/debug.c
|
||||
src/des.c
|
||||
src/dhm.c
|
||||
src/ecdh.c
|
||||
src/ecdsa.c
|
||||
src/ecjpake.c
|
||||
src/ecp.c
|
||||
src/ecp_curves.c
|
||||
src/entropy.c
|
||||
src/entropy_poll.c
|
||||
src/error.c
|
||||
src/gcm.c
|
||||
src/havege.c
|
||||
src/hkdf.c
|
||||
src/hmac_drbg.c
|
||||
src/md.c
|
||||
src/md2.c
|
||||
src/md4.c
|
||||
src/md5.c
|
||||
src/memory_buffer_alloc.c
|
||||
src/net_sockets.c
|
||||
src/nist_kw.c
|
||||
src/oid.c
|
||||
src/padlock.c
|
||||
src/pem.c
|
||||
src/pk.c
|
||||
src/pk_wrap.c
|
||||
src/pkcs11.c
|
||||
src/pkcs12.c
|
||||
src/pkcs5.c
|
||||
src/pkparse.c
|
||||
src/pkwrite.c
|
||||
src/platform.c
|
||||
src/platform_util.c
|
||||
src/poly1305.c
|
||||
src/ripemd160.c
|
||||
src/rsa.c
|
||||
src/rsa_internal.c
|
||||
src/sha1.c
|
||||
src/sha256.c
|
||||
src/sha512.c
|
||||
src/ssl_cache.c
|
||||
src/ssl_ciphersuites.c
|
||||
src/ssl_cli.c
|
||||
src/ssl_cookie.c
|
||||
src/ssl_msg.c
|
||||
src/ssl_srv.c
|
||||
src/ssl_ticket.c
|
||||
src/ssl_tls.c
|
||||
src/threading.c
|
||||
src/timing.c
|
||||
src/version.c
|
||||
src/version_features.c
|
||||
src/x509.c
|
||||
src/x509_create.c
|
||||
src/x509_crl.c
|
||||
src/x509_crt.c
|
||||
src/x509_csr.c
|
||||
src/x509write_crt.c
|
||||
src/x509write_csr.c
|
||||
src/xtea.c
|
||||
)
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/inc
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/inc/mbedtls
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/platform
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/platform/inc
|
||||
)
|
|
@ -0,0 +1,10 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("TARGET")
|
||||
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
hash_wrappers.c
|
||||
)
|
|
@ -0,0 +1,4 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("TARGET")
|
|
@ -0,0 +1,21 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("TARGET")
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
aes_alt.c
|
||||
crypto_common.c
|
||||
ecdsa_alt.c
|
||||
ecp_alt.c
|
||||
ecp_curves_alt.c
|
||||
sha1_alt.c
|
||||
sha256_alt.c
|
||||
sha512_alt.c
|
||||
)
|
|
@ -0,0 +1,7 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
|
@ -0,0 +1,7 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
|
@ -0,0 +1,4 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("TARGET")
|
|
@ -0,0 +1,27 @@
|
|||
# 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}/aes
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/des
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/sha
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
aes/aes_alt.c
|
||||
|
||||
des/des_alt.c
|
||||
|
||||
ecp/ecp_internal_alt.c
|
||||
|
||||
sha/sha1_alt.c
|
||||
sha/sha1_alt_sw.c
|
||||
sha/sha256_alt.c
|
||||
sha/sha256_alt_sw.c
|
||||
sha/sha512_alt.c
|
||||
sha/sha512_alt_sw.c
|
||||
sha/sha_alt_hw.c
|
||||
)
|
|
@ -0,0 +1,25 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("TARGET")
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/aes
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/des
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/sha
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
aes/aes_alt.c
|
||||
|
||||
des/des_alt.c
|
||||
|
||||
sha/sha1_alt.c
|
||||
sha/sha1_alt_sw.c
|
||||
sha/sha256_alt.c
|
||||
sha/sha256_alt_sw.c
|
||||
sha/sha_alt_hw.c
|
||||
)
|
|
@ -0,0 +1,7 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
|
@ -0,0 +1,22 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("TARGET")
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
aes_alt.cpp
|
||||
aes_alt_stm32l4.c
|
||||
ccm_alt.cpp
|
||||
cryp_stm32.c
|
||||
gcm_alt.cpp
|
||||
hash_stm32.c
|
||||
md5_alt.cpp
|
||||
sha1_alt.cpp
|
||||
sha256_alt.cpp
|
||||
)
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
|
@ -0,0 +1,7 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
|
@ -0,0 +1,7 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
|
@ -0,0 +1,7 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
|
@ -0,0 +1,7 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
|
@ -0,0 +1,7 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
|
@ -0,0 +1,7 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
|
@ -0,0 +1,7 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
|
@ -0,0 +1,14 @@
|
|||
# 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}/sha
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
sha/sha256_alt.c
|
||||
sha/sha512_alt.c
|
||||
)
|
|
@ -0,0 +1,16 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
aes_aes.c
|
||||
crypto_aes.c
|
||||
crypto_ecp.c
|
||||
crypto_management.c
|
||||
crypto_sha.c
|
||||
)
|
|
@ -0,0 +1,8 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_subdirectory(coap-service)
|
||||
add_subdirectory(mbed-mesh-api)
|
||||
add_subdirectory(nanostack-hal-mbed-cmsis-rtos)
|
||||
add_subdirectory(nanostack-interface)
|
||||
add_subdirectory(sal-stack-nanostack)
|
||||
add_subdirectory(sal-stack-nanostack-eventloop)
|
|
@ -0,0 +1,17 @@
|
|||
# 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}/coap-service
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/source/include
|
||||
)
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
source/coap_connection_handler.c
|
||||
source/coap_message_handler.c
|
||||
source/coap_security_handler.c
|
||||
source/coap_service_api.c
|
||||
)
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue