Out of date: This is not the most recent version of this page. Please see the most recent version
mbed OS 5 supports three primary build profiles: develop, debug and release. The Online Compiler uses the develop profile. When building from mbed CLI, you can select a profile by adding the --profile <profile>
flag. You can specify custom user-defined profiles by giving the path to the profile.
- Small and fast code.
- Full error information. For example, asserts have file name and line number.
- Hard to follow code flow when using a debugger.
- Chip goes to sleep when idle:
- Debugger is likely to drop connection.
- Breaks the local file system on the mbed interface on some boards.
- Largest and slowest profile.
- Full error information. For example, asserts have file name and line number.
- Easy to step through code with a debugger.
- Disabled sleep mode.
- Smallest profile and still fast.
- Minimal error information.
- Chip goes to sleep when idle:
- Debugger is likely to drop connection.
- Breaks the local file system on the mbed interface on some boards.