Skip to content

Doumentation updates on renaming "default_lib" to "c_lib" for small C library selection #1197

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/program-setup/bare_metal/c_small_libs.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ You can build with the smaller C libraries by creating an `mbed_app.json` with t
"requires": ["bare-metal"],
"target_overrides": {
"*": {
"target.default_lib": "small"
"target.c_lib": "small"
}
}
}
Expand Down
12 changes: 6 additions & 6 deletions docs/program-setup/mbed_targets.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,9 +281,9 @@ The `detect_code` contains four ASCII characters containing only hexadecimal val

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.

### default_lib
### c_lib

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.
The `c_lib` property controls which library, small or standard, the toolchain links. The `c_lib` property may take on the values `std` for the standard library and `small` for the reduced size library.

### bootloader_supported

Expand Down Expand Up @@ -336,7 +336,7 @@ For each of these target roles, some restrictions are in place:
- MCUs are required to have, and Families and Subfamilies may have:
- `release_versions`.
- `supported_toolchains`.
- `default_lib`.
- `c_lib`.
- `public`.
- `device_has`.
- Modules and Boards may have the following keys:
Expand Down Expand Up @@ -398,7 +398,7 @@ target errors:
- EFM32 is not allowed in extra_labels
EFM32GG990F1024:
- macros found, and is not allowed
- default_lib not found, and is required
- c_lib not found, and is required
- device_has not found, and is required
EFM32GG_STK3700:
- progen found, and is not allowed
Expand All @@ -410,7 +410,7 @@ target errors:
- EFM32 is not allowed in extra_labels
EFM32WG990F256:
- macros found, and is not allowed
- default_lib not found, and is required
- c_lib not found, and is required
- device_has not found, and is required
EFM32WG_STK3800:
- progen found, and is not allowed
Expand All @@ -422,7 +422,7 @@ hierarchy errors:
target errors:
LPC11U24_301:
- release_versions not found, and is required
- default_lib not found, and is required
- c_lib not found, and is required
- public not found, and is required
```

Expand Down