Skip to content

Commit 2750775

Browse files
author
Amanda Butler
authored
Update mbed_targets.md
Add content from PR #190
1 parent 8646891 commit 2750775

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

docs/porting/mbed_targets.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,27 @@ When you use target inheritance, you may alter the values of `extra_labels` usin
118118

119119
#### `features`, `features_add` and `features_remove`
120120

121-
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.
121+
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:
122+
- `UVISOR`.
123+
- `BLE`.
124+
- `CLIENT`.
125+
- `IPV4`.
126+
- `LWIP`.
127+
- `COMMON_PAL`.
128+
- `STORAGE`.
129+
- `NANOSTACK`.
130+
131+
The following features, also recognized by the build system, are all Nanostack configurations:
132+
- `LOWPAN_BORDER_ROUTER`.
133+
- `LOWPAN_HOST`.
134+
- `LOWPAN_ROUTER`.
135+
- `NANOSTACK_FULL`.
136+
- `THREAD_BORDER_ROUTER`.
137+
- `THREAD_END_DEVICE`.
138+
- `THREAD_ROUTER`.
139+
- `ETHERNET_HOST`.
140+
141+
The build system errors when you use features outside of this list.
122142

123143
When you use target inheritance, you may alter the values of `features` using `features_add` and `features_remove`. This is similar to the `macros_add` and `macros_remove` mechanism the previous section describes.
124144

0 commit comments

Comments
 (0)