forked from ARMmbed/mbed-os
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Begin documenting Mbed OS target features and components (#240)
* Start on documenting features and components * Missed some renames * Go through all cellular and 802.15.4 modules * Fix build * Fix style * Update copyright year
- Loading branch information
1 parent
d1b0cca
commit f19273a
Showing
228 changed files
with
732 additions
and
2,876 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,43 @@ | ||
# Copyright (c) 2020 ARM Limited. All rights reserved. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
add_library(mbed-802.15.4-rf STATIC EXCLUDE_FROM_ALL) | ||
# The 'mbed-802.15.4-rf' target is lazily created because there might not be any subdirectories needing it at all. | ||
macro(create_802_15_4_target) | ||
if(NOT TARGET create_802_15_4_target) | ||
add_library(mbed-802.15.4-rf STATIC EXCLUDE_FROM_ALL) | ||
|
||
# Nanostack drivers always require Mbed RTOS | ||
target_link_libraries(mbed-802.15.4-rf PUBLIC mbed-core-flags mbed-rtos-flags) | ||
|
||
target_link_libraries(mbed-nanostack | ||
INTERFACE | ||
mbed-802.15.4-rf | ||
) | ||
endif() | ||
endmacro() | ||
|
||
target_link_libraries(mbed-802.15.4-rf PUBLIC mbed-core-flags) | ||
|
||
if("Freescale" IN_LIST MBED_TARGET_LABELS) | ||
create_802_15_4_target() | ||
add_subdirectory(TARGET_Freescale) | ||
add_subdirectory(mcr20a-rf-driver) | ||
elseif("Silicon_Labs" IN_LIST MBED_TARGET_LABELS) | ||
create_802_15_4_target() | ||
add_subdirectory(TARGET_Silicon_Labs) | ||
elseif("STM" IN_LIST MBED_TARGET_LABELS) | ||
add_subdirectory(stm-s2lp-rf-driver) | ||
endif() | ||
|
||
add_subdirectory(atmel-rf-driver) | ||
if("COMPONENT_MICROCHIP_AT86RF=1" IN_LIST MBED_TARGET_DEFINITIONS) | ||
create_802_15_4_target() | ||
add_subdirectory(COMPONENT_MICROCHIP_AT86RF) | ||
endif() | ||
|
||
if("COMPONENT_NXP_MCR20A=1" IN_LIST MBED_TARGET_DEFINITIONS) | ||
create_802_15_4_target() | ||
add_subdirectory(COMPONENT_NXP_MCR20A) | ||
endif() | ||
|
||
if("COMPONENT_STM_S2_LP=1" IN_LIST MBED_TARGET_DEFINITIONS) | ||
create_802_15_4_target() | ||
add_subdirectory(COMPONENT_STM_S2_LP) | ||
endif() | ||
|
||
|
||
target_link_libraries(mbed-nanostack | ||
INTERFACE | ||
mbed-802.15.4-rf | ||
) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Copyright (c) 2020 ARM Limited. All rights reserved. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
add_subdirectory(ALT1250) | ||
if("COMPONENT_ALTAIR_ALT1250=1" IN_LIST MBED_TARGET_DEFINITIONS) | ||
add_subdirectory(COMPONENT_ALTAIR_ALT1250) | ||
endif() |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Copyright (c) 2020 ARM Limited. All rights reserved. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
add_subdirectory(CINTERION) | ||
if("COMPONENT_GEMALTO_CINTERION=1" IN_LIST MBED_TARGET_DEFINITIONS) | ||
add_subdirectory(CINTERION) | ||
endif() |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Copyright (c) 2020 ARM Limited. All rights reserved. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
add_subdirectory(GENERIC_AT3GPP) | ||
if("COMPONENT_GENERIC_AT3GPP=1" IN_LIST MBED_TARGET_DEFINITIONS) | ||
add_subdirectory(COMPONENT_GENERIC_AT3GPP) | ||
endif() |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
# Copyright (c) 2020 ARM Limited. All rights reserved. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
add_subdirectory(DragonflyNano) | ||
if("COMPONENT_MULTITECH_DRAGONFLY_NANO_CELLULAR=1" IN_LIST MBED_TARGET_DEFINITIONS) | ||
add_subdirectory(COMPONENT_MULTITECH_DRAGONFLY_NANO_CELLULAR) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,23 @@ | ||
# Copyright (c) 2020 ARM Limited. All rights reserved. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
add_subdirectory(BC95) | ||
add_subdirectory(BG96) | ||
add_subdirectory(EC2X) | ||
add_subdirectory(M26) | ||
add_subdirectory(UG96) | ||
if("COMPONENT_QUECTEL_EC2X=1" IN_LIST MBED_TARGET_DEFINITIONS) | ||
add_subdirectory(COMPONENT_QUECTEL_EC2X) | ||
endif() | ||
|
||
if("COMPONENT_QUECTEL_BG96=1" IN_LIST MBED_TARGET_DEFINITIONS OR ("COMPONENT_STMOD_CELLULAR=1" IN_LIST MBED_TARGET_DEFINITIONS AND "MBED_CONF_STMOD_CELLULAR_TYPE=STMOD_BG96")) | ||
add_subdirectory(COMPONENT_QUECTEL_BG96) | ||
endif() | ||
|
||
if("COMPONENT_QUECTEL_UG96=1" IN_LIST MBED_TARGET_DEFINITIONS OR ("COMPONENT_STMOD_CELLULAR=1" IN_LIST MBED_TARGET_DEFINITIONS AND "MBED_CONF_STMOD_CELLULAR_TYPE=STMOD_UG96")) | ||
add_subdirectory(COMPONENT_QUECTEL_UG96) | ||
endif() | ||
|
||
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() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 12 additions & 0 deletions
12
...ivity/drivers/cellular/QUECTEL/COMPONENT_QUECTEL_BC95/TARGET_ADV_WISE_1570/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 12 additions & 0 deletions
12
connectivity/drivers/cellular/QUECTEL/COMPONENT_QUECTEL_BG96/TARGET_WIO_BG96/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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_BG96.cpp | ||
) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
12 changes: 12 additions & 0 deletions
12
...rivers/cellular/QUECTEL/COMPONENT_QUECTEL_EC2X/TARGET_MTS_DRAGONFLY_L496VG/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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_EG25.cpp | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 12 additions & 0 deletions
12
connectivity/drivers/cellular/QUECTEL/COMPONENT_QUECTEL_UG96/TARGET_WIO_3G/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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_UG96.cpp | ||
) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |
20 changes: 20 additions & 0 deletions
20
connectivity/drivers/cellular/TELIT/COMPONENT_TELIT_HE910/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# 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 | ||
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() |
Oops, something went wrong.