Skip to content

Commit b20088f

Browse files
author
Amanda Butler
authored
Copy edit mbed_targets.md
Copy edit for active voice, consistent tense and formatting.
1 parent cfebd4b commit b20088f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/tools/mbed_targets.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ When you use target inheritance, you may alter the values of `features` using `f
151151

152152
#### `config` and `overrides`
153153

154-
_configs_ provide a more flexible way to manage macros for a target. Each configuration has a macro name as well as a default value and an optional help value. For example, this config flag defines a configuration `lf_clock_src` that defines the source for the low frequency clock on the nRF51 target, with a default value of `NRF_LF_SRC_XTAL`. When compiled, this value will be set for the macro `MBED_CONF_NORDIC_NRF_LF_CLOCK_SRC`:
154+
_configs_ provide a more flexible way to manage macros for a target. Each configuration has a macro name, as well as a default value and an optional help value. For example, this config flag defines a configuration `lf_clock_src` that defines the source for the low frequency clock on the nRF51 target, with a default value of `NRF_LF_SRC_XTAL`. Compiling sets this value for the macro `MBED_CONF_NORDIC_NRF_LF_CLOCK_SRC`:
155155

156156
```json
157157
"config": {
@@ -162,15 +162,15 @@ _configs_ provide a more flexible way to manage macros for a target. Each config
162162
}
163163
```
164164

165-
_overrides_ allow a child target to change the value of a config. For example, if a child target of the nRF51 used the internal RC clock instead of the crystal, it can add an override like so:
165+
_overrides_ allow a child target to change the value of a config. For example, if a child target of the nRF51 uses the internal RC clock instead of the crystal, it can add an override:
166166

167167
```json
168168
"overrides": {
169169
"lf_clock_src": "NRF_LF_SRC_RC"
170170
}
171171
```
172172

173-
configurations can also be modified in a project in the mbed_app.json file using `target_overrides`.
173+
You can also modify a project's configurations in the `mbed_app.json file` by using `target_overrides`.
174174

175175
```json
176176
"target_overrides": {
@@ -181,6 +181,7 @@ configurations can also be modified in a project in the mbed_app.json file using
181181
"config2": "value_for_single_target"
182182
}
183183
}
184+
```
184185

185186
#### `device_has`
186187

0 commit comments

Comments
 (0)