mirror of https://github.com/ARMmbed/mbed-os.git
CMake: Rename CMake targets
* mbed-os renamed mbed-core * mbed-os-<COMPONENT> renamed mbed-<COMPONENT>pull/13566/head
parent
c9cacaf080
commit
bf84a5b329
|
@ -13,7 +13,7 @@ endif()
|
||||||
include(${MBED_ROOT}/tools/cmake/core.cmake)
|
include(${MBED_ROOT}/tools/cmake/core.cmake)
|
||||||
include(${MBED_ROOT}/tools/cmake/profile.cmake)
|
include(${MBED_ROOT}/tools/cmake/profile.cmake)
|
||||||
|
|
||||||
add_library(mbed-os OBJECT)
|
add_library(mbed-core OBJECT)
|
||||||
|
|
||||||
# Validate selected C library type
|
# Validate selected C library type
|
||||||
# The C library type selected has to match the library that the target can support
|
# The C library type selected has to match the library that the target can support
|
||||||
|
@ -43,26 +43,26 @@ if(NOT ${MBED_PRINTF_LIB} IN_LIST MBED_PRINTF_LIB_TYPES)
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
mbed_set_cpu_core_options(mbed-os ${MBED_TOOLCHAIN})
|
mbed_set_cpu_core_options(mbed-core ${MBED_TOOLCHAIN})
|
||||||
mbed_set_toolchain_options(mbed-os)
|
mbed_set_toolchain_options(mbed-core)
|
||||||
mbed_set_c_lib(mbed-os ${MBED_C_LIB})
|
mbed_set_c_lib(mbed-core ${MBED_C_LIB})
|
||||||
mbed_set_printf_lib(mbed-os ${MBED_PRINTF_LIB})
|
mbed_set_printf_lib(mbed-core ${MBED_PRINTF_LIB})
|
||||||
mbed_set_language_standard(mbed-os)
|
mbed_set_language_standard(mbed-core)
|
||||||
mbed_set_profile_options(mbed-os ${MBED_TOOLCHAIN})
|
mbed_set_profile_options(mbed-core ${MBED_TOOLCHAIN})
|
||||||
|
|
||||||
set_target_properties(mbed-os
|
set_target_properties(mbed-core
|
||||||
PROPERTIES
|
PROPERTIES
|
||||||
MBED_TARGET_LABELS "${MBED_TARGET_LABELS}"
|
MBED_TARGET_LABELS "${MBED_TARGET_LABELS}"
|
||||||
)
|
)
|
||||||
|
|
||||||
target_compile_definitions(mbed-os
|
target_compile_definitions(mbed-core
|
||||||
PUBLIC
|
PUBLIC
|
||||||
${MBED_TARGET_DEFINITIONS}
|
${MBED_TARGET_DEFINITIONS}
|
||||||
${MBED_CONFIG_DEFINITIONS}
|
${MBED_CONFIG_DEFINITIONS}
|
||||||
)
|
)
|
||||||
|
|
||||||
# Include mbed.h and config from generate folder
|
# Include mbed.h and config from generate folder
|
||||||
target_include_directories(mbed-os
|
target_include_directories(mbed-core
|
||||||
PUBLIC
|
PUBLIC
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
)
|
)
|
||||||
|
@ -70,7 +70,7 @@ target_include_directories(mbed-os
|
||||||
# TODO CMake: This component is made visible here so its source files in
|
# 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/.
|
# drivers/ can be added and it can be linked against by libraries in storage/.
|
||||||
# Should the source files be moved from drivers/ to storage/ ?
|
# Should the source files be moved from drivers/ to storage/ ?
|
||||||
add_library(mbed-os-device_key INTERFACE)
|
add_library(mbed-device_key INTERFACE)
|
||||||
|
|
||||||
add_subdirectory(cmsis)
|
add_subdirectory(cmsis)
|
||||||
add_subdirectory(drivers)
|
add_subdirectory(drivers)
|
||||||
|
@ -111,7 +111,7 @@ function(mbed_set_mbed_target_linker_script target)
|
||||||
)
|
)
|
||||||
elseif(MBED_TOOLCHAIN STREQUAL "ARM")
|
elseif(MBED_TOOLCHAIN STREQUAL "ARM")
|
||||||
set(CMAKE_PRE_BUILD_COMMAND COMMAND "")
|
set(CMAKE_PRE_BUILD_COMMAND COMMAND "")
|
||||||
target_link_options(mbed-os
|
target_link_options(mbed-core
|
||||||
PUBLIC
|
PUBLIC
|
||||||
"--scatter=${mbed_target_linker_script}"
|
"--scatter=${mbed_target_linker_script}"
|
||||||
)
|
)
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
|
|
||||||
add_subdirectory(RTX)
|
add_subdirectory(RTX)
|
||||||
|
|
||||||
target_include_directories(mbed-os
|
target_include_directories(mbed-core
|
||||||
PUBLIC
|
PUBLIC
|
||||||
Include
|
Include
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os
|
target_sources(mbed-core
|
||||||
PRIVATE
|
PRIVATE
|
||||||
Source/os_systick.c
|
Source/os_systick.c
|
||||||
Source/os_tick_ptim.c
|
Source/os_tick_ptim.c
|
||||||
|
|
|
@ -19,7 +19,7 @@ function(_mbed_get_cortex_m_exception_handlers toolchain_dir)
|
||||||
set(STARTUP_RTX_FILE TARGET_RTOS_M4_M7/irq_cm4f.S)
|
set(STARTUP_RTX_FILE TARGET_RTOS_M4_M7/irq_cm4f.S)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_sources(mbed-os
|
target_sources(mbed-core
|
||||||
PRIVATE
|
PRIVATE
|
||||||
Source/${toolchain_dir}/${STARTUP_RTX_FILE}
|
Source/${toolchain_dir}/${STARTUP_RTX_FILE}
|
||||||
)
|
)
|
||||||
|
@ -29,7 +29,7 @@ endfunction()
|
||||||
function(_mbed_get_cortex_a_exception_handlers)
|
function(_mbed_get_cortex_a_exception_handlers)
|
||||||
foreach(key ${MBED_TARGET_LABELS})
|
foreach(key ${MBED_TARGET_LABELS})
|
||||||
if(${key} STREQUAL CORTEX_A)
|
if(${key} STREQUAL CORTEX_A)
|
||||||
target_sources(mbed-os PRIVATE Config/TARGET_CORTEX_A/handlers.c)
|
target_sources(mbed-core PRIVATE Config/TARGET_CORTEX_A/handlers.c)
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
endfunction()
|
endfunction()
|
||||||
|
@ -44,7 +44,7 @@ elseif(${MBED_TOOLCHAIN} STREQUAL "IAR")
|
||||||
_mbed_get_cortex_m_exception_handlers(TOOLCHAIN_IAR)
|
_mbed_get_cortex_m_exception_handlers(TOOLCHAIN_IAR)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_include_directories(mbed-os
|
target_include_directories(mbed-core
|
||||||
PUBLIC
|
PUBLIC
|
||||||
Config
|
Config
|
||||||
Include
|
Include
|
||||||
|
@ -52,7 +52,7 @@ target_include_directories(mbed-os
|
||||||
Source
|
Source
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os
|
target_sources(mbed-core
|
||||||
PRIVATE
|
PRIVATE
|
||||||
Config/RTX_Config.c
|
Config/RTX_Config.c
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os
|
target_include_directories(mbed-core
|
||||||
PUBLIC
|
PUBLIC
|
||||||
Include
|
Include
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os
|
target_sources(mbed-core
|
||||||
PRIVATE
|
PRIVATE
|
||||||
Source/irq_ctrl_gic.c
|
Source/irq_ctrl_gic.c
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os
|
target_include_directories(mbed-core
|
||||||
PUBLIC
|
PUBLIC
|
||||||
Include
|
Include
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os
|
target_sources(mbed-core
|
||||||
PRIVATE
|
PRIVATE
|
||||||
Source/mbed_tz_context.c
|
Source/mbed_tz_context.c
|
||||||
)
|
)
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
add_subdirectory(RTE)
|
add_subdirectory(RTE)
|
||||||
add_subdirectory(rtos)
|
add_subdirectory(rtos)
|
||||||
|
|
||||||
target_include_directories(mbed-os
|
target_include_directories(mbed-core
|
||||||
PUBLIC
|
PUBLIC
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os
|
target_include_directories(mbed-core
|
||||||
PUBLIC
|
PUBLIC
|
||||||
include
|
include
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,35 +2,35 @@
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
|
if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
|
||||||
target_sources(mbed-os
|
target_sources(mbed-core
|
||||||
PRIVATE
|
PRIVATE
|
||||||
TOOLCHAIN_GCC_ARM/mbed_boot_gcc_arm.c
|
TOOLCHAIN_GCC_ARM/mbed_boot_gcc_arm.c
|
||||||
)
|
)
|
||||||
elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
|
elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
|
||||||
target_sources(mbed-os
|
target_sources(mbed-core
|
||||||
PRIVATE
|
PRIVATE
|
||||||
TOOLCHAIN_ARM_STD/mbed_boot_arm_std.c
|
TOOLCHAIN_ARM_STD/mbed_boot_arm_std.c
|
||||||
)
|
)
|
||||||
elseif(${MBED_TOOLCHAIN} STREQUAL "IAR")
|
elseif(${MBED_TOOLCHAIN} STREQUAL "IAR")
|
||||||
target_sources(mbed-os
|
target_sources(mbed-core
|
||||||
PRIVATE
|
PRIVATE
|
||||||
TOOLCHAIN_IAR/mbed_boot_iar.c
|
TOOLCHAIN_IAR/mbed_boot_iar.c
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_include_directories(mbed-os
|
target_include_directories(mbed-core
|
||||||
PUBLIC
|
PUBLIC
|
||||||
include
|
include
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os PRIVATE
|
target_sources(mbed-core PRIVATE
|
||||||
source/mbed_boot.c
|
source/mbed_boot.c
|
||||||
source/mbed_rtos_rtx.c
|
source/mbed_rtos_rtx.c
|
||||||
source/mbed_rtx_handlers.c
|
source/mbed_rtx_handlers.c
|
||||||
source/mbed_rtx_idle.cpp
|
source/mbed_rtx_idle.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
target_compile_definitions(mbed-os
|
target_compile_definitions(mbed-core
|
||||||
PUBLIC
|
PUBLIC
|
||||||
MBED_CONF_RTOS_PRESENT=1
|
MBED_CONF_RTOS_PRESENT=1
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,29 +2,29 @@
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
# List of all connectivity libraries available.
|
# List of all connectivity libraries available.
|
||||||
add_library(mbed-os-802.15.4-rf INTERFACE)
|
add_library(mbed-802.15.4-rf INTERFACE)
|
||||||
add_library(mbed-os-ble INTERFACE)
|
add_library(mbed-ble INTERFACE)
|
||||||
add_library(mbed-os-ble-blue_nrg INTERFACE)
|
add_library(mbed-ble-blue_nrg INTERFACE)
|
||||||
add_library(mbed-os-ble-cordio INTERFACE)
|
add_library(mbed-ble-cordio INTERFACE)
|
||||||
add_library(mbed-os-ble-cordio_ll INTERFACE)
|
add_library(mbed-ble-cordio_ll INTERFACE)
|
||||||
add_library(mbed-os-cellular INTERFACE)
|
add_library(mbed-cellular INTERFACE)
|
||||||
add_library(mbed-os-coap INTERFACE)
|
add_library(mbed-coap INTERFACE)
|
||||||
add_library(mbed-os-emac INTERFACE)
|
add_library(mbed-emac INTERFACE)
|
||||||
add_library(mbed-os-lorawan INTERFACE)
|
add_library(mbed-lorawan INTERFACE)
|
||||||
add_library(mbed-os-lwipstack INTERFACE)
|
add_library(mbed-lwipstack INTERFACE)
|
||||||
add_library(mbed-os-mbedtls INTERFACE)
|
add_library(mbed-mbedtls INTERFACE)
|
||||||
add_library(mbed-os-mbedtls-cryptocell310 INTERFACE)
|
add_library(mbed-mbedtls-cryptocell310 INTERFACE)
|
||||||
add_library(mbed-os-nanostack INTERFACE)
|
add_library(mbed-nanostack INTERFACE)
|
||||||
add_library(mbed-os-nanostack-coap_service INTERFACE)
|
add_library(mbed-nanostack-coap_service INTERFACE)
|
||||||
add_library(mbed-os-nanostack-mbed_mesh_api INTERFACE)
|
add_library(mbed-nanostack-mbed_mesh_api INTERFACE)
|
||||||
add_library(mbed-os-nanostack-hal_mbed_cmsis_rtos INTERFACE)
|
add_library(mbed-nanostack-hal_mbed_cmsis_rtos INTERFACE)
|
||||||
add_library(mbed-os-nanostack-sal_stack INTERFACE)
|
add_library(mbed-nanostack-sal_stack INTERFACE)
|
||||||
add_library(mbed-os-nanostack-sal_stack-event_loop INTERFACE)
|
add_library(mbed-nanostack-sal_stack-event_loop INTERFACE)
|
||||||
add_library(mbed-os-nanostack-libservice INTERFACE)
|
add_library(mbed-nanostack-libservice INTERFACE)
|
||||||
add_library(mbed-os-netsocket INTERFACE)
|
add_library(mbed-netsocket INTERFACE)
|
||||||
add_library(mbed-os-nfc INTERFACE)
|
add_library(mbed-nfc INTERFACE)
|
||||||
add_library(mbed-os-ppp INTERFACE)
|
add_library(mbed-ppp INTERFACE)
|
||||||
add_library(mbed-os-wifi INTERFACE)
|
add_library(mbed-wifi INTERFACE)
|
||||||
|
|
||||||
|
|
||||||
add_subdirectory(FEATURE_BLE)
|
add_subdirectory(FEATURE_BLE)
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
add_subdirectory(libraries)
|
add_subdirectory(libraries)
|
||||||
add_subdirectory(source)
|
add_subdirectory(source)
|
||||||
|
|
||||||
target_include_directories(mbed-os-ble
|
target_include_directories(mbed-ble
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
include
|
include
|
||||||
|
@ -21,7 +21,7 @@ target_include_directories(mbed-os-ble
|
||||||
source
|
source
|
||||||
)
|
)
|
||||||
|
|
||||||
target_compile_definitions(mbed-os-ble
|
target_compile_definitions(mbed-ble
|
||||||
INTERFACE
|
INTERFACE
|
||||||
MBED_CONF_BLE_PRESENT=1
|
MBED_CONF_BLE_PRESENT=1
|
||||||
)
|
)
|
||||||
|
|
|
@ -7,12 +7,12 @@ endif()
|
||||||
|
|
||||||
add_subdirectory(cordio_stack)
|
add_subdirectory(cordio_stack)
|
||||||
|
|
||||||
target_include_directories(mbed-os-ble-cordio
|
target_include_directories(mbed-ble-cordio
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(mbed-os-ble-cordio
|
target_link_libraries(mbed-ble-cordio
|
||||||
INTERFACE
|
INTERFACE
|
||||||
mbed-os-ble
|
mbed-ble
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-ble-cordio_ll
|
target_include_directories(mbed-ble-cordio_ll
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
./stack
|
./stack
|
||||||
|
@ -22,7 +22,7 @@ target_include_directories(mbed-os-ble-cordio_ll
|
||||||
./stack_adaptation
|
./stack_adaptation
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-ble-cordio_ll
|
target_sources(mbed-ble-cordio_ll
|
||||||
INTERFACE
|
INTERFACE
|
||||||
stack/controller/sources/ble/bb/bb_ble_adv_master.c
|
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_master_ae.c
|
||||||
|
@ -45,13 +45,13 @@ target_sources(mbed-os-ble-cordio_ll
|
||||||
stack/controller/sources/ble/bb/bb_ble_whitelist.c
|
stack/controller/sources/ble/bb/bb_ble_whitelist.c
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-ble-cordio_ll
|
target_sources(mbed-ble-cordio_ll
|
||||||
INTERFACE
|
INTERFACE
|
||||||
stack/controller/sources/ble/init/init.c
|
stack/controller/sources/ble/init/init.c
|
||||||
stack/controller/sources/ble/init/init_ctr.c
|
stack/controller/sources/ble/init/init_ctr.c
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-ble-cordio_ll
|
target_sources(mbed-ble-cordio_ll
|
||||||
INTERFACE
|
INTERFACE
|
||||||
stack/controller/sources/ble/lctr/lctr_act_adv_master.c
|
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_master_ae.c
|
||||||
|
@ -145,7 +145,7 @@ target_sources(mbed-os-ble-cordio_ll
|
||||||
stack/controller/sources/ble/lctr/lctr_sm_llcp_slave_phy.c
|
stack/controller/sources/ble/lctr/lctr_sm_llcp_slave_phy.c
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-ble-cordio_ll
|
target_sources(mbed-ble-cordio_ll
|
||||||
INTERFACE
|
INTERFACE
|
||||||
stack/controller/sources/ble/lhci/lhci_cmd.c
|
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.c
|
||||||
|
@ -224,7 +224,7 @@ target_sources(mbed-os-ble-cordio_ll
|
||||||
stack/controller/sources/ble/lhci/lhci_main_iso.c
|
stack/controller/sources/ble/lhci/lhci_main_iso.c
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-ble-cordio_ll
|
target_sources(mbed-ble-cordio_ll
|
||||||
INTERFACE
|
INTERFACE
|
||||||
stack/controller/sources/ble/ll/ll_init.c
|
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.c
|
||||||
|
@ -275,7 +275,7 @@ target_sources(mbed-os-ble-cordio_ll
|
||||||
stack/controller/sources/ble/ll/ll_math.c
|
stack/controller/sources/ble/ll/ll_math.c
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-ble-cordio_ll
|
target_sources(mbed-ble-cordio_ll
|
||||||
INTERFACE
|
INTERFACE
|
||||||
stack/controller/sources/ble/lmgr/lmgr_events.c
|
stack/controller/sources/ble/lmgr/lmgr_events.c
|
||||||
stack/controller/sources/ble/lmgr/lmgr_main.c
|
stack/controller/sources/ble/lmgr/lmgr_main.c
|
||||||
|
@ -290,14 +290,14 @@ target_sources(mbed-os-ble-cordio_ll
|
||||||
stack/controller/sources/ble/lmgr/lmgr_main_slave.c
|
stack/controller/sources/ble/lmgr/lmgr_main_slave.c
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-ble-cordio_ll
|
target_sources(mbed-ble-cordio_ll
|
||||||
INTERFACE
|
INTERFACE
|
||||||
stack/controller/sources/ble/sch/sch_ble.c
|
stack/controller/sources/ble/sch/sch_ble.c
|
||||||
stack/controller/sources/ble/sch/sch_rm.c
|
stack/controller/sources/ble/sch/sch_rm.c
|
||||||
stack/controller/sources/ble/sch/sch_tm.c
|
stack/controller/sources/ble/sch/sch_tm.c
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-ble-cordio_ll
|
target_sources(mbed-ble-cordio_ll
|
||||||
INTERFACE
|
INTERFACE
|
||||||
stack/controller/sources/common/bb/bb_main.c
|
stack/controller/sources/common/bb/bb_main.c
|
||||||
|
|
||||||
|
@ -307,7 +307,7 @@ target_sources(mbed-os-ble-cordio_ll
|
||||||
stack/controller/sources/common/sch/sch_main.c
|
stack/controller/sources/common/sch/sch_main.c
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-ble-cordio_ll
|
target_sources(mbed-ble-cordio_ll
|
||||||
INTERFACE
|
INTERFACE
|
||||||
stack/thirdparty/nordic-bsp/components/boards/boards.c
|
stack/thirdparty/nordic-bsp/components/boards/boards.c
|
||||||
|
|
||||||
|
@ -316,12 +316,12 @@ target_sources(mbed-os-ble-cordio_ll
|
||||||
stack/thirdparty/uecc/uECC_ll.c
|
stack/thirdparty/uecc/uECC_ll.c
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-ble-cordio_ll
|
target_sources(mbed-ble-cordio_ll
|
||||||
INTERFACE
|
INTERFACE
|
||||||
stack_adaptation/custom_chci_tr.cpp
|
stack_adaptation/custom_chci_tr.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(mbed-os-ble-cordio_ll
|
target_link_libraries(mbed-ble-cordio_ll
|
||||||
INTERFACE
|
INTERFACE
|
||||||
mbed-os-ble-cordio
|
mbed-ble-cordio
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-ble-cordio
|
target_include_directories(mbed-ble-cordio
|
||||||
INTERFACE
|
INTERFACE
|
||||||
include
|
include
|
||||||
sources/hci/dual_chip
|
sources/hci/dual_chip
|
||||||
|
@ -14,7 +14,7 @@ target_include_directories(mbed-os-ble-cordio
|
||||||
sources/stack/smp
|
sources/stack/smp
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-ble-cordio
|
target_sources(mbed-ble-cordio
|
||||||
INTERFACE
|
INTERFACE
|
||||||
sources/hci/common/hci_core.c
|
sources/hci/common/hci_core.c
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-ble-cordio
|
target_include_directories(mbed-ble-cordio
|
||||||
INTERFACE
|
INTERFACE
|
||||||
include
|
include
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-ble-cordio
|
target_include_directories(mbed-ble-cordio
|
||||||
INTERFACE
|
INTERFACE
|
||||||
include
|
include
|
||||||
include/util
|
include/util
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-ble-cordio
|
target_sources(mbed-ble-cordio
|
||||||
INTERFACE
|
INTERFACE
|
||||||
sources/port/baremetal/wsf_assert.c
|
sources/port/baremetal/wsf_assert.c
|
||||||
sources/port/baremetal/wsf_buf.c
|
sources/port/baremetal/wsf_buf.c
|
||||||
|
|
|
@ -7,7 +7,7 @@ add_subdirectory(gatt)
|
||||||
add_subdirectory(generic)
|
add_subdirectory(generic)
|
||||||
add_subdirectory(pal)
|
add_subdirectory(pal)
|
||||||
|
|
||||||
target_sources(mbed-os-ble
|
target_sources(mbed-ble
|
||||||
INTERFACE
|
INTERFACE
|
||||||
BLE.cpp
|
BLE.cpp
|
||||||
Gap.cpp
|
Gap.cpp
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-ble-cordio
|
target_include_directories(mbed-ble-cordio
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
source
|
source
|
||||||
stack_adaptation
|
stack_adaptation
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-ble-cordio
|
target_sources(mbed-ble-cordio
|
||||||
INTERFACE
|
INTERFACE
|
||||||
driver/CordioHCIDriver.cpp
|
driver/CordioHCIDriver.cpp
|
||||||
driver/CordioHCITransportDriver.cpp
|
driver/CordioHCITransportDriver.cpp
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_sources(mbed-os-ble
|
target_sources(mbed-ble
|
||||||
INTERFACE
|
INTERFACE
|
||||||
AdvertisingDataBuilder.cpp
|
AdvertisingDataBuilder.cpp
|
||||||
AdvertisingParameters.cpp
|
AdvertisingParameters.cpp
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_sources(mbed-os-ble
|
target_sources(mbed-ble
|
||||||
INTERFACE
|
INTERFACE
|
||||||
DiscoveredCharacteristic.cpp
|
DiscoveredCharacteristic.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-ble
|
target_include_directories(mbed-ble
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-ble
|
target_sources(mbed-ble
|
||||||
INTERFACE
|
INTERFACE
|
||||||
FileSecurityDb.cpp
|
FileSecurityDb.cpp
|
||||||
GapImpl.cpp
|
GapImpl.cpp
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-ble
|
target_include_directories(mbed-ble
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-ble
|
target_sources(mbed-ble
|
||||||
INTERFACE
|
INTERFACE
|
||||||
PalAttClientToGattClient.cpp
|
PalAttClientToGattClient.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
add_subdirectory(source/framework)
|
add_subdirectory(source/framework)
|
||||||
|
|
||||||
target_include_directories(mbed-os-cellular
|
target_include_directories(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/include
|
${CMAKE_CURRENT_SOURCE_DIR}/include
|
||||||
|
@ -15,13 +15,13 @@ target_include_directories(mbed-os-cellular
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/include/cellular/framework/device
|
${CMAKE_CURRENT_SOURCE_DIR}/include/cellular/framework/device
|
||||||
)
|
)
|
||||||
|
|
||||||
target_compile_definitions(mbed-os-cellular
|
target_compile_definitions(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
MBED_CONF_CELLULAR_PRESENT=1
|
MBED_CONF_CELLULAR_PRESENT=1
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(mbed-os-cellular
|
target_link_libraries(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
mbed-os-netsocket
|
mbed-netsocket
|
||||||
mbed-os
|
mbed-core
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_sources(mbed-os-cellular
|
target_sources(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
AT_CellularContext.cpp
|
AT_CellularContext.cpp
|
||||||
AT_CellularDevice.cpp
|
AT_CellularDevice.cpp
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_sources(mbed-os-cellular
|
target_sources(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
APN_db.cpp
|
APN_db.cpp
|
||||||
CellularLog.cpp
|
CellularLog.cpp
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_sources(mbed-os-cellular
|
target_sources(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
ATHandler.cpp
|
ATHandler.cpp
|
||||||
CellularContext.cpp
|
CellularContext.cpp
|
||||||
|
|
|
@ -12,7 +12,7 @@ endif()
|
||||||
|
|
||||||
add_subdirectory(atmel-rf-driver)
|
add_subdirectory(atmel-rf-driver)
|
||||||
|
|
||||||
target_link_libraries(mbed-os-802.15.4-rf
|
target_link_libraries(mbed-802.15.4-rf
|
||||||
INTERFACE
|
INTERFACE
|
||||||
mbed-os-nanostack
|
mbed-nanostack
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-802.15.4-rf
|
target_include_directories(mbed-802.15.4-rf
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-802.15.4-rf
|
target_sources(mbed-802.15.4-rf
|
||||||
INTERFACE
|
INTERFACE
|
||||||
NanostackRfPhyKw41z.cpp
|
NanostackRfPhyKw41z.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-802.15.4-rf
|
target_include_directories(mbed-802.15.4-rf
|
||||||
INTERFACE
|
INTERFACE
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-802.15.4-rf
|
target_sources(mbed-802.15.4-rf
|
||||||
INTERFACE
|
INTERFACE
|
||||||
NanostackRfPhyEfr32.cpp
|
NanostackRfPhyEfr32.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-802.15.4-rf
|
target_include_directories(mbed-802.15.4-rf
|
||||||
INTERFACE
|
INTERFACE
|
||||||
atmel-rf-driver
|
atmel-rf-driver
|
||||||
source
|
source
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-802.15.4-rf
|
target_sources(mbed-802.15.4-rf
|
||||||
INTERFACE
|
INTERFACE
|
||||||
source/NanostackRfPhyAT86RF215.cpp
|
source/NanostackRfPhyAT86RF215.cpp
|
||||||
source/NanostackRfPhyAtmel.cpp
|
source/NanostackRfPhyAtmel.cpp
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-802.15.4-rf
|
target_include_directories(mbed-802.15.4-rf
|
||||||
INTERFACE
|
INTERFACE
|
||||||
mcr20a-rf-driver
|
mcr20a-rf-driver
|
||||||
source
|
source
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-802.15.4-rf
|
target_sources(mbed-802.15.4-rf
|
||||||
INTERFACE
|
INTERFACE
|
||||||
source/MCR20Drv.c
|
source/MCR20Drv.c
|
||||||
source/NanostackRfPhyMcr20a.cpp
|
source/NanostackRfPhyMcr20a.cpp
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-802.15.4-rf
|
target_include_directories(mbed-802.15.4-rf
|
||||||
INTERFACE
|
INTERFACE
|
||||||
stm-s2lp-rf-driver
|
stm-s2lp-rf-driver
|
||||||
source
|
source
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-802.15.4-rf
|
target_sources(mbed-802.15.4-rf
|
||||||
INTERFACE
|
INTERFACE
|
||||||
source/NanostackRfPhys2lp.cpp
|
source/NanostackRfPhys2lp.cpp
|
||||||
source/at24mac_s2lp.cpp
|
source/at24mac_s2lp.cpp
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_sources(mbed-os-ble-blue_nrg
|
target_sources(mbed-ble-blue_nrg
|
||||||
INTERFACE
|
INTERFACE
|
||||||
BlueNrgMsHCIDriver.cpp
|
BlueNrgMsHCIDriver.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(mbed-os-ble-blue_nrg
|
target_link_libraries(mbed-ble-blue_nrg
|
||||||
INTERFACE
|
INTERFACE
|
||||||
mbed-os-ble
|
mbed-ble
|
||||||
)
|
)
|
||||||
|
|
|
@ -7,12 +7,12 @@ endif()
|
||||||
|
|
||||||
add_subdirectory(firmware)
|
add_subdirectory(firmware)
|
||||||
|
|
||||||
target_include_directories(mbed-os-ble
|
target_include_directories(mbed-ble
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-ble
|
target_sources(mbed-ble
|
||||||
INTERFACE
|
INTERFACE
|
||||||
CyH4TransportDriver.cpp
|
CyH4TransportDriver.cpp
|
||||||
HCIDriver.cpp
|
HCIDriver.cpp
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_sources(mbed-os-ble
|
target_sources(mbed-ble
|
||||||
INTERFACE
|
INTERFACE
|
||||||
cy_bt_cordio_cfg.cpp
|
cy_bt_cordio_cfg.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_sources(mbed-os-ble
|
target_sources(mbed-ble
|
||||||
INTERFACE
|
INTERFACE
|
||||||
w_bt_firmware_controller.c
|
w_bt_firmware_controller.c
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_sources(mbed-os-ble
|
target_sources(mbed-ble
|
||||||
INTERFACE
|
INTERFACE
|
||||||
w_bt_firmware_controller.c
|
w_bt_firmware_controller.c
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_sources(mbed-os-ble
|
target_sources(mbed-ble
|
||||||
INTERFACE
|
INTERFACE
|
||||||
w_bt_firmware_controller.c
|
w_bt_firmware_controller.c
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_sources(mbed-os-ble
|
target_sources(mbed-ble
|
||||||
INTERFACE
|
INTERFACE
|
||||||
w_bt_firmware_controller.c
|
w_bt_firmware_controller.c
|
||||||
)
|
)
|
||||||
|
|
|
@ -5,12 +5,12 @@ if("Apollo3" IN_LIST MBED_TARGET_LABELS)
|
||||||
add_subdirectory(TARGET_Apollo3)
|
add_subdirectory(TARGET_Apollo3)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_include_directories(mbed-os-ble
|
target_include_directories(mbed-ble
|
||||||
INTERFACE
|
INTERFACE
|
||||||
hal/apollo3
|
hal/apollo3
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-ble
|
target_sources(mbed-ble
|
||||||
INTERFACE
|
INTERFACE
|
||||||
hal/hci_drv_apollo3.c
|
hal/hci_drv_apollo3.c
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-ble
|
target_include_directories(mbed-ble
|
||||||
PUBLIC
|
PUBLIC
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-ble
|
target_sources(mbed-ble
|
||||||
PRIVATE
|
PRIVATE
|
||||||
AP3CordioHCIDriver.cpp
|
AP3CordioHCIDriver.cpp
|
||||||
AP3CordioHCITransportDriver.cpp
|
AP3CordioHCITransportDriver.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(mbed-os-ble
|
target_link_libraries(mbed-ble
|
||||||
mbed-os
|
mbed-core
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-ble
|
target_include_directories(mbed-ble
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
drivers
|
drivers
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-ble
|
target_sources(mbed-ble
|
||||||
INTERFACE
|
INTERFACE
|
||||||
Psoc6BLE.cpp
|
Psoc6BLE.cpp
|
||||||
drivers/IPCPipeTransportDriver.cpp
|
drivers/IPCPipeTransportDriver.cpp
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-ble-cordio
|
target_include_directories(mbed-ble-cordio
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
./stack/include
|
./stack/include
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-ble-cordio
|
target_sources(mbed-ble-cordio
|
||||||
INTERFACE
|
INTERFACE
|
||||||
NRFCordioHCIDriver.cpp
|
NRFCordioHCIDriver.cpp
|
||||||
NRFCordioHCITransportDriver.cpp
|
NRFCordioHCITransportDriver.cpp
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-ble
|
target_include_directories(mbed-ble
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
./STM32Cube_FW
|
./STM32Cube_FW
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-ble
|
target_sources(mbed-ble
|
||||||
INTERFACE
|
INTERFACE
|
||||||
HCIDriver.cpp
|
HCIDriver.cpp
|
||||||
hw_ipcc.c
|
hw_ipcc.c
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-cellular
|
target_include_directories(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-cellular
|
target_sources(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
ALT1250_PPP.cpp
|
ALT1250_PPP.cpp
|
||||||
ALT1250_PPP_CellularContext.cpp
|
ALT1250_PPP_CellularContext.cpp
|
||||||
|
|
|
@ -14,7 +14,7 @@ add_subdirectory(RiotMicro)
|
||||||
add_subdirectory(TELIT)
|
add_subdirectory(TELIT)
|
||||||
add_subdirectory(UBLOX)
|
add_subdirectory(UBLOX)
|
||||||
|
|
||||||
target_include_directories(mbed-os-cellular
|
target_include_directories(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-cellular
|
target_include_directories(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-cellular
|
target_sources(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
STModCellular.cpp
|
STModCellular.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-cellular
|
target_include_directories(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-cellular
|
target_sources(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
GEMALTO_CINTERION.cpp
|
GEMALTO_CINTERION.cpp
|
||||||
GEMALTO_CINTERION_CellularContext.cpp
|
GEMALTO_CINTERION_CellularContext.cpp
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-cellular
|
target_include_directories(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-cellular
|
target_sources(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
GENERIC_AT3GPP.cpp
|
GENERIC_AT3GPP.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-cellular
|
target_include_directories(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-cellular
|
target_sources(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
SARA4_PPP.cpp
|
SARA4_PPP.cpp
|
||||||
SARA4_PPP_CellularNetwork.cpp
|
SARA4_PPP_CellularNetwork.cpp
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-cellular
|
target_include_directories(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-cellular
|
target_sources(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
QUECTEL_BC95.cpp
|
QUECTEL_BC95.cpp
|
||||||
QUECTEL_BC95_CellularContext.cpp
|
QUECTEL_BC95_CellularContext.cpp
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-cellular
|
target_include_directories(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-cellular
|
target_sources(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
QUECTEL_BG96.cpp
|
QUECTEL_BG96.cpp
|
||||||
QUECTEL_BG96_CellularContext.cpp
|
QUECTEL_BG96_CellularContext.cpp
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-cellular
|
target_include_directories(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-cellular
|
target_sources(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
QUECTEL_EC2X.cpp
|
QUECTEL_EC2X.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-cellular
|
target_include_directories(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-cellular
|
target_sources(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
QUECTEL_M26.cpp
|
QUECTEL_M26.cpp
|
||||||
QUECTEL_M26_CellularContext.cpp
|
QUECTEL_M26_CellularContext.cpp
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-cellular
|
target_include_directories(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-cellular
|
target_sources(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
QUECTEL_UG96.cpp
|
QUECTEL_UG96.cpp
|
||||||
QUECTEL_UG96_CellularContext.cpp
|
QUECTEL_UG96_CellularContext.cpp
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-cellular
|
target_include_directories(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-cellular
|
target_sources(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
RM1000_AT.cpp
|
RM1000_AT.cpp
|
||||||
RM1000_AT_CellularContext.cpp
|
RM1000_AT_CellularContext.cpp
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-cellular
|
target_include_directories(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-cellular
|
target_sources(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
TELIT_HE910.cpp
|
TELIT_HE910.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-cellular
|
target_include_directories(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-cellular
|
target_sources(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
TELIT_ME310.cpp
|
TELIT_ME310.cpp
|
||||||
TELIT_ME310_CellularContext.cpp
|
TELIT_ME310_CellularContext.cpp
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-cellular
|
target_include_directories(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-cellular
|
target_sources(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
TELIT_ME910.cpp
|
TELIT_ME910.cpp
|
||||||
TELIT_ME910_CellularContext.cpp
|
TELIT_ME910_CellularContext.cpp
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-cellular
|
target_include_directories(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-cellular
|
target_sources(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
UBLOX_AT.cpp
|
UBLOX_AT.cpp
|
||||||
UBLOX_AT_CellularContext.cpp
|
UBLOX_AT_CellularContext.cpp
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-cellular
|
target_include_directories(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-cellular
|
target_sources(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
UBLOX_N2XX.cpp
|
UBLOX_N2XX.cpp
|
||||||
UBLOX_N2XX_CellularContext.cpp
|
UBLOX_N2XX_CellularContext.cpp
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-cellular
|
target_include_directories(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-cellular
|
target_sources(mbed-cellular
|
||||||
INTERFACE
|
INTERFACE
|
||||||
UBLOX_PPP.cpp
|
UBLOX_PPP.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -25,7 +25,7 @@ elseif("Silicon_Labs" IN_LIST MBED_TARGET_LABELS)
|
||||||
add_subdirectory(TARGET_Silicon_Labs)
|
add_subdirectory(TARGET_Silicon_Labs)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_link_libraries(mbed-os-emac
|
target_link_libraries(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
mbed-os-netsocket
|
mbed-netsocket
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-emac
|
target_include_directories(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
fvp_emac.cpp
|
fvp_emac.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-emac
|
target_include_directories(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
smsc9220_emac.cpp
|
smsc9220_emac.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-emac
|
target_include_directories(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
./interface
|
./interface
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
interface/SclSTAInterface.cpp
|
interface/SclSTAInterface.cpp
|
||||||
interface/default_wifi_interface.cpp
|
interface/default_wifi_interface.cpp
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-emac
|
target_include_directories(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
./interface
|
./interface
|
||||||
|
@ -9,7 +9,7 @@ target_include_directories(mbed-os-emac
|
||||||
./utils
|
./utils
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
interface/CyDhcpServer.cpp
|
interface/CyDhcpServer.cpp
|
||||||
interface/WhdAccessPoint.cpp
|
interface/WhdAccessPoint.cpp
|
||||||
|
|
|
@ -7,12 +7,12 @@ elseif("K66F" IN_LIST MBED_TARGET_LABELS)
|
||||||
add_subdirectory(TARGET_K66F)
|
add_subdirectory(TARGET_K66F)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_include_directories(mbed-os-emac
|
target_include_directories(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
kinetis_emac.cpp
|
kinetis_emac.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
hardware_init_MK64F12.c
|
hardware_init_MK64F12.c
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
hardware_init_MK66F18.c
|
hardware_init_MK66F18.c
|
||||||
)
|
)
|
||||||
|
|
|
@ -7,12 +7,12 @@ elseif("GD32F4XX" IN_LIST MBED_TARGET_LABELS)
|
||||||
add_subdirectory(TARGET_GD32F4XX)
|
add_subdirectory(TARGET_GD32F4XX)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_include_directories(mbed-os-emac
|
target_include_directories(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
gd32xx_emac.cpp
|
gd32xx_emac.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
gd32f3_eth_init.c
|
gd32f3_eth_init.c
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
gd32f4_eth_init.c
|
gd32f4_eth_init.c
|
||||||
)
|
)
|
||||||
|
|
|
@ -7,12 +7,12 @@ elseif("NUC472" IN_LIST MBED_TARGET_LABELS)
|
||||||
add_subdirectory(TARGET_NUC472)
|
add_subdirectory(TARGET_NUC472)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_include_directories(mbed-os-emac
|
target_include_directories(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
numaker_emac.cpp
|
numaker_emac.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-emac
|
target_include_directories(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
m480_eth.c
|
m480_eth.c
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-emac
|
target_include_directories(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
nuc472_eth.c
|
nuc472_eth.c
|
||||||
)
|
)
|
||||||
|
|
|
@ -5,12 +5,12 @@ if("MIMXRT1050_EVK" IN_LIST MBED_TARGET_LABELS)
|
||||||
add_subdirectory(TARGET_MIMXRT1050_EVK)
|
add_subdirectory(TARGET_MIMXRT1050_EVK)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_include_directories(mbed-os-emac
|
target_include_directories(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
imx_emac.cpp
|
imx_emac.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
PRIVATE
|
PRIVATE
|
||||||
hardware_init.c
|
hardware_init.c
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-emac
|
target_include_directories(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
lpc17_emac.cpp
|
lpc17_emac.cpp
|
||||||
lpc_phy_dp83848.cpp
|
lpc_phy_dp83848.cpp
|
||||||
|
|
|
@ -7,12 +7,12 @@ elseif("LPCXpresso" IN_LIST MBED_TARGET_LABELS)
|
||||||
add_subdirectory(TARGET_LPCXpresso)
|
add_subdirectory(TARGET_LPCXpresso)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_include_directories(mbed-os-emac
|
target_include_directories(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
lpc546xx_emac.cpp
|
lpc546xx_emac.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
hardware_init_LPC546XX.c
|
hardware_init_LPC546XX.c
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
hardware_init_LPC546XX.c
|
hardware_init_LPC546XX.c
|
||||||
)
|
)
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
|
|
||||||
add_subdirectory(lwip-wifi)
|
add_subdirectory(lwip-wifi)
|
||||||
|
|
||||||
target_include_directories(mbed-os-emac
|
target_include_directories(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
RdaWiFiInterface.cpp
|
RdaWiFiInterface.cpp
|
||||||
rda5981x_emac.cpp
|
rda5981x_emac.cpp
|
||||||
|
|
|
@ -3,13 +3,13 @@
|
||||||
|
|
||||||
add_subdirectory(lib)
|
add_subdirectory(lib)
|
||||||
|
|
||||||
target_include_directories(mbed-os-emac
|
target_include_directories(mbed-emac
|
||||||
PUBLIC
|
PUBLIC
|
||||||
.
|
.
|
||||||
./inc
|
./inc
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
PRIVATE
|
PRIVATE
|
||||||
src/maclib_task.c
|
src/maclib_task.c
|
||||||
src/rda5991h_wland.c
|
src/rda5991h_wland.c
|
||||||
|
|
|
@ -9,7 +9,7 @@ function(_mbed_get_lib_file_uno_91h)
|
||||||
elseif(${MBED_TOOLCHAIN} STREQUAL "IAR")
|
elseif(${MBED_TOOLCHAIN} STREQUAL "IAR")
|
||||||
set(LIB_FILE TOOLCHAIN_IAR/libwifi_sta_ap.a)
|
set(LIB_FILE TOOLCHAIN_IAR/libwifi_sta_ap.a)
|
||||||
endif()
|
endif()
|
||||||
target_sources(mbed-os-emac PRIVATE ${LIB_FILE})
|
target_sources(mbed-emac PRIVATE ${LIB_FILE})
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
_mbed_get_lib_file_uno_91h()
|
_mbed_get_lib_file_uno_91h()
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-emac
|
target_include_directories(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
rza1_emac.cpp
|
rza1_emac.cpp
|
||||||
rza1_eth.cpp
|
rza1_eth.cpp
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-emac
|
target_include_directories(mbed-emac
|
||||||
PUBLIC
|
PUBLIC
|
||||||
.
|
.
|
||||||
r_ether_rza2
|
r_ether_rza2
|
||||||
|
@ -11,7 +11,7 @@ target_include_directories(mbed-os-emac
|
||||||
r_ether_rza2/src
|
r_ether_rza2/src
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
PRIVATE
|
PRIVATE
|
||||||
rza2_emac.cpp
|
rza2_emac.cpp
|
||||||
r_ether_rza2/src/r_ether_rza2.c
|
r_ether_rza2/src/r_ether_rza2.c
|
||||||
|
|
|
@ -11,12 +11,12 @@ elseif("STM32H7" IN_LIST MBED_TARGET_LABELS)
|
||||||
add_subdirectory(TARGET_STM32H7)
|
add_subdirectory(TARGET_STM32H7)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_include_directories(mbed-os-emac
|
target_include_directories(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
stm32xx_emac.cpp
|
stm32xx_emac.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -5,12 +5,12 @@ if("NUCLEO_F207ZG" IN_LIST MBED_TARGET_LABELS)
|
||||||
add_subdirectory(TARGET_NUCLEO_F207ZG)
|
add_subdirectory(TARGET_NUCLEO_F207ZG)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_include_directories(mbed-os-emac
|
target_include_directories(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
stm32f2_eth_conf.c
|
stm32f2_eth_conf.c
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
stm32f2_eth_init.c
|
stm32f2_eth_init.c
|
||||||
)
|
)
|
||||||
|
|
|
@ -9,7 +9,7 @@ elseif("NUCLEO_F439ZI" IN_LIST MBED_TARGET_LABELS)
|
||||||
add_subdirectory(TARGET_NUCLEO_F439ZI)
|
add_subdirectory(TARGET_NUCLEO_F439ZI)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_include_directories(mbed-os-emac
|
target_include_directories(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-emac
|
target_include_directories(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
stm32f4_eth_conf.c
|
stm32f4_eth_conf.c
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-emac
|
target_include_directories(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
stm32f4_eth_conf.c
|
stm32f4_eth_conf.c
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_include_directories(mbed-os-emac
|
target_include_directories(mbed-emac
|
||||||
PUBLIC
|
PUBLIC
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
PRIVATE
|
PRIVATE
|
||||||
stm32f4_eth_conf.c
|
stm32f4_eth_conf.c
|
||||||
)
|
)
|
||||||
|
|
|
@ -13,12 +13,12 @@ elseif("NUCLEO_F767ZI" IN_LIST MBED_TARGET_LABELS)
|
||||||
add_subdirectory(TARGET_NUCLEO_F767ZI)
|
add_subdirectory(TARGET_NUCLEO_F767ZI)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_include_directories(mbed-os-emac
|
target_include_directories(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
.
|
.
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
stm32f7_eth_conf.c
|
stm32f7_eth_conf.c
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
stm32f7_eth_init.c
|
stm32f7_eth_init.c
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
stm32f7_eth_init.c
|
stm32f7_eth_init.c
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
stm32f7_eth_init.c
|
stm32f7_eth_init.c
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
stm32f7_eth_init.c
|
stm32f7_eth_init.c
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
INTERFACE
|
INTERFACE
|
||||||
stm32f7_eth_init.c
|
stm32f7_eth_init.c
|
||||||
)
|
)
|
||||||
|
|
|
@ -9,13 +9,13 @@ elseif("NUCLEO_H743ZI2" IN_LIST MBED_TARGET_LABELS)
|
||||||
add_subdirectory(TARGET_NUCLEO_H743ZI2)
|
add_subdirectory(TARGET_NUCLEO_H743ZI2)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_include_directories(mbed-os-emac
|
target_include_directories(mbed-emac
|
||||||
PRIVATE
|
PRIVATE
|
||||||
.
|
.
|
||||||
./lan8742
|
./lan8742
|
||||||
)
|
)
|
||||||
|
|
||||||
target_sources(mbed-os-emac
|
target_sources(mbed-emac
|
||||||
PRIVATE
|
PRIVATE
|
||||||
lan8742/lan8742.c
|
lan8742/lan8742.c
|
||||||
)
|
)
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue