Skip to content

Commit

Permalink
Go through all cellular and 802.15.4 modules
Browse files Browse the repository at this point in the history
  • Loading branch information
multiplemonomials committed Feb 6, 2024
1 parent 3f0eae2 commit 4f247c9
Show file tree
Hide file tree
Showing 121 changed files with 157 additions and 2,673 deletions.
3 changes: 2 additions & 1 deletion connectivity/drivers/802.15.4_RF/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

add_library(mbed-802.15.4-rf STATIC EXCLUDE_FROM_ALL)

target_link_libraries(mbed-802.15.4-rf PUBLIC mbed-core-flags)
# Nanostack drivers always require Mbed RTOS
target_link_libraries(mbed-802.15.4-rf PUBLIC mbed-core-flags mbed-rtos-flags)

if("Freescale" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_Freescale)
Expand Down
8 changes: 1 addition & 7 deletions connectivity/drivers/cellular/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,4 @@ add_subdirectory(GENERIC)
add_subdirectory(MultiTech)
add_subdirectory(QUECTEL)
add_subdirectory(RiotMicro)
add_subdirectory(TELIT)
add_subdirectory(UBLOX)

target_include_directories(mbed-cellular
PUBLIC
.
)
add_subdirectory(TELIT)
9 changes: 7 additions & 2 deletions connectivity/drivers/cellular/QUECTEL/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ if("COMPONENT_QUECTEL_UG96=1" IN_LIST MBED_TARGET_DEFINITIONS OR ("COMPONENT_STM
add_subdirectory(COMPONENT_QUECTEL_UG96)
endif()

add_subdirectory(COMPONENT_QUECTEL_BC95)
add_subdirectory(COMPONENT_QUECTEL_M26)
if("COMPONENT_QUECTEL_BC95=1" IN_LIST MBED_TARGET_DEFINITIONS)
add_subdirectory(COMPONENT_QUECTEL_BC95)
endif()

if("COMPONENT_QUECTEL_M26=1" IN_LIST MBED_TARGET_DEFINITIONS)
add_subdirectory(COMPONENT_QUECTEL_M26)
endif()

Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ target_sources(mbed-cellular
QUECTEL_BC95_CellularNetwork.cpp
QUECTEL_BC95_CellularStack.cpp
)

if("TARGET_ADV_WISE_1570" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_ADV_WISE_1570)
endif()
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Copyright (c) 2024 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

target_include_directories(mbed-cellular
PUBLIC
.
)

target_sources(mbed-cellular
PRIVATE
ONBOARD_QUECTEL_BC95.cpp
)
6 changes: 5 additions & 1 deletion connectivity/drivers/cellular/RiotMicro/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

add_subdirectory(AT)
# Note that the RM1000 chip appears to be unbuyable and the RIOT_MICRO_MODULE target that used it was
# already removed from Mbed in Mbed 6.0.0. This would make it a candidate for removal.
if("COMPONENT_RIOTMICRO_RM1000=1" IN_LIST MBED_TARGET_DEFINITIONS)
add_subdirectory(COMPONENT_RIOTMICRO_RM1000)
endif()
14 changes: 11 additions & 3 deletions connectivity/drivers/cellular/TELIT/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

add_subdirectory(HE910)
add_subdirectory(ME310)
add_subdirectory(ME910)
if("COMPONENT_TELIT_HE910=1" IN_LIST MBED_TARGET_DEFINITIONS)
add_subdirectory(COMPONENT_TELIT_HE910)
endif()

if("COMPONENT_TELIT_ME310=1" IN_LIST MBED_TARGET_DEFINITIONS)
add_subdirectory(COMPONENT_TELIT_ME310)
endif()

if("COMPONENT_TELIT_ME910=1" IN_LIST MBED_TARGET_DEFINITIONS)
add_subdirectory(COMPONENT_TELIT_ME910)
endif()
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

target_include_directories(mbed-cellular
PUBLIC
.
)

target_sources(mbed-cellular
PRIVATE
TELIT_HE910.cpp
)

if("TARGET_MTS_DRAGONFLY_F411RE" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_MTS_DRAGONFLY_F411RE)
endif()

if("TARGET_MTS_DRAGONFLY_F413RH" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_MTS_DRAGONFLY_F413RH)
endif()
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2020 ARM Limited. All rights reserved.
# Copyright (c) 2024 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

target_include_directories(mbed-cellular
Expand All @@ -8,5 +8,5 @@ target_include_directories(mbed-cellular

target_sources(mbed-cellular
PRIVATE
TELIT_HE910.cpp
)
ONBOARD_TELIT_HE910.cpp
)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2020 ARM Limited. All rights reserved.
# Copyright (c) 2024 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

target_include_directories(mbed-cellular
Expand All @@ -8,5 +8,5 @@ target_include_directories(mbed-cellular

target_sources(mbed-cellular
PRIVATE
UBLOX_PPP.cpp
)
ONBOARD_TELIT_HE910.cpp
)
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ target_sources(mbed-cellular
TELIT_ME310_CellularNetwork.cpp
TELIT_ME310_CellularStack.cpp
)

if("TARGET_EP_ATLAS" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_EP_ATLAS)
endif()
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Copyright (c) 2024 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

target_include_directories(mbed-cellular
PUBLIC
.
)

target_sources(mbed-cellular
PRIVATE
ONBOARD_TELIT_ME310.cpp
)
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ target_sources(mbed-cellular
TELIT_ME910_CellularContext.cpp
TELIT_ME910_CellularNetwork.cpp
)

if("TARGET_EP_AGORA" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_EP_AGORA)
endif()
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Copyright (c) 2024 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

target_include_directories(mbed-cellular
PUBLIC
.
)

target_sources(mbed-cellular
PRIVATE
ONBOARD_TELIT_ME910.cpp
)
15 changes: 0 additions & 15 deletions connectivity/drivers/cellular/UBLOX/AT/CMakeLists.txt

This file was deleted.

Loading

0 comments on commit 4f247c9

Please sign in to comment.