Skip to content

Commit ce485ad

Browse files
author
Seppo Takalo
committed
Remove outdated references to FEATURE_NANOSTACK, COMMON_PAL or others.
In Mbed OS 5.10 all network related "features" have been removed. This is transparent change to applications, as those code blocks are now always enabled in the build. Only visible change is that applications do not need to explicitly request FEATURE_NANOSTACK or others, and targets do not need to enable FEATURE_LWIP to provide ethernet driver.
1 parent 8831151 commit ce485ad

File tree

3 files changed

+3
-19
lines changed

3 files changed

+3
-19
lines changed

docs/reference/configuration/mesh.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ An example of the configuration file:
2323
{
2424
"target_overrides": {
2525
"*": {
26-
"target.features_add": ["NANOSTACK", "COMMON_PAL"],
2726
"nanostack.configuration": "lowpan_router",
2827
"mbed-mesh-api.6lowpan-nd-device-type": "NET_6LOWPAN_ROUTER",
2928
"mbed-mesh-api.6lowpan-nd-channel": 12,

docs/reference/contributing/connectivity/MeshInterface.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ The Mbed OS port of Nanostack consists of a few helper modules that provide an e
1616
- Security settings.
1717
- Channel configuration.
1818
- Connection and reconnection logic.
19-
- [nanostack-hal-mbed-cmsis-rtos](https://github.com/ARMmbed/mbed-os/tree/master/features/FEATURE_COMMON_PAL/nanostack-hal-mbed-cmsis-rtos) implements Platform API for Mbed OS.
19+
- [nanostack-hal-mbed-cmsis-rtos](https://github.com/ARMmbed/mbed-os/tree/master/features/nanostack/nanostack-hal-mbed-cmsis-rtos) implements Platform API for Mbed OS.
2020
- An internal event handler is initialized when the stack starts.
2121
- The event handler is running in its own thread. Not visible for users.
22-
- [NanostackInterface](https://github.com/ARMmbed/mbed-os/tree/master/features/nanostack/FEATURE_NANOSTACK/nanostack-interface) class implements the network stack abstraction for the socket layer.
22+
- [NanostackInterface](https://github.com/ARMmbed/mbed-os/tree/master/features/nanostack/nanostack-interface) class implements the network stack abstraction for the socket layer.
2323
- Initializes the RF driver. See [Providing RF driver](#providing-rf-driver-for-mbed-os-applications).
2424

2525
In Mbed OS, Socket API hides the differences between the networking stacks. Users will only use one of its high level APIs:
@@ -42,7 +42,7 @@ For Mbed OS 5, the RF driver implements the `NanostackRfPhy` API. `MeshInterface
4242

4343
Applications use only `LoWPANNDInterface` or `ThreadInterface` directly to set up the network and provide a driver. The rest of the classes provide an abstration between Nanostack and Socket layers of Mbed OS.
4444

45-
See [NanostackRfPhy.h](https://github.com/ARMmbed/mbed-os/blob/master/features/nanostack/FEATURE_NANOSTACK/nanostack-interface/NanostackRfPhy.h) for an up-to-date header file and API.
45+
See [NanostackRfPhy](https://os.mbed.com/docs/latest/mbed-os-api-doxy/class_nanostack_rf_phy.html) for an up-to-date header file and API.
4646

4747
### Device Driver API
4848

docs/tools/mbed_targets.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -130,22 +130,7 @@ When you use target inheritance, you may alter the values of `extra_labels` usin
130130
The list of _features_ enables software features on a platform. Like `extra_labels`, `features` makes the build system aware of additional directories it must scan for resources. Unlike `extra_labels`, the build system recognizes a fixed set of values in the `features` list. The build system recognizes the following features:
131131
- `UVISOR`.
132132
- `BLE`.
133-
- `CLIENT`.
134-
- `IPV4`.
135-
- `LWIP`.
136-
- `COMMON_PAL`.
137133
- `STORAGE`.
138-
- `NANOSTACK`.
139-
140-
The following features, also recognized by the build system, are all Nanostack configurations:
141-
- `LOWPAN_BORDER_ROUTER`.
142-
- `LOWPAN_HOST`.
143-
- `LOWPAN_ROUTER`.
144-
- `NANOSTACK_FULL`.
145-
- `THREAD_BORDER_ROUTER`.
146-
- `THREAD_END_DEVICE`.
147-
- `THREAD_ROUTER`.
148-
- `ETHERNET_HOST`.
149134

150135
The build system errors when you use features outside of this list.
151136

0 commit comments

Comments
 (0)