Skip to content

Commit b36377b

Browse files
committed
Rename "default_lib" to "c_lib"
1 parent e7b9991 commit b36377b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/program-setup/bare_metal/c_small_libs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ You can build with the smaller C libraries by creating an `mbed_app.json` with t
99
"requires": ["bare-metal"],
1010
"target_overrides": {
1111
"*": {
12-
"target.default_lib": "small"
12+
"target.c_lib": "small"
1313
}
1414
}
1515
}

docs/program-setup/mbed_targets.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -281,9 +281,9 @@ The `detect_code` contains four ASCII characters containing only hexadecimal val
281281

282282
The `OUTPUT_EXT` property controls the file type emitted for a target by the build system. You may set `OUTPUT_EXT` to `bin` for binary format, `hex` for Intel HEX format and `elf` for ELF format. We discourage using the `elf` value for `OUTPUT_EXT` because the build system must always emit an ELF file.
283283

284-
### default_lib
284+
### c_lib
285285

286-
The `delault_lib` property controls which library, small or standard, the `GCC_ARM` toolchain links. The `default_lib` property may take on the values `std` for the standard library and `small` for the reduced size library.
286+
The `c_lib` property controls which library, small or standard, the `GCC_ARM` toolchain links. The `c_lib` property may take on the values `std` for the standard library and `small` for the reduced size library.
287287

288288
### bootloader_supported
289289

@@ -336,7 +336,7 @@ For each of these target roles, some restrictions are in place:
336336
- MCUs are required to have, and Families and Subfamilies may have:
337337
- `release_versions`.
338338
- `supported_toolchains`.
339-
- `default_lib`.
339+
- `c_lib`.
340340
- `public`.
341341
- `device_has`.
342342
- Modules and Boards may have the following keys:
@@ -398,7 +398,7 @@ target errors:
398398
- EFM32 is not allowed in extra_labels
399399
EFM32GG990F1024:
400400
- macros found, and is not allowed
401-
- default_lib not found, and is required
401+
- c_lib not found, and is required
402402
- device_has not found, and is required
403403
EFM32GG_STK3700:
404404
- progen found, and is not allowed
@@ -410,7 +410,7 @@ target errors:
410410
- EFM32 is not allowed in extra_labels
411411
EFM32WG990F256:
412412
- macros found, and is not allowed
413-
- default_lib not found, and is required
413+
- c_lib not found, and is required
414414
- device_has not found, and is required
415415
EFM32WG_STK3800:
416416
- progen found, and is not allowed
@@ -422,7 +422,7 @@ hierarchy errors:
422422
target errors:
423423
LPC11U24_301:
424424
- release_versions not found, and is required
425-
- default_lib not found, and is required
425+
- c_lib not found, and is required
426426
- public not found, and is required
427427
```
428428

0 commit comments

Comments
 (0)