mirror of https://github.com/ARMmbed/mbed-os.git
commit
21b91c794e
|
@ -1,23 +0,0 @@
|
||||||
# Build Profiles
|
|
||||||
Mbed 5.0 supports three primary build profiles, *develop*, *debug* and *release*. When using
|
|
||||||
the online compiler the *develop* profile is used. When building from the command line
|
|
||||||
the desired profile can be can be selected by adding the ```--profile <profile>```
|
|
||||||
command line flag, but `develop` will be used by default. Custom user defined profiles can also be specific by giving the path
|
|
||||||
the the profile.
|
|
||||||
|
|
||||||
## Develop profile
|
|
||||||
* Small and fast code
|
|
||||||
* Full error information - e.g. asserts have filename and line number
|
|
||||||
* Hard to follow code flow when using a debugger
|
|
||||||
|
|
||||||
## Debug profile
|
|
||||||
* Easy to step through code with a debugger
|
|
||||||
* Full error information - e.g. asserts have filename and line number
|
|
||||||
* Largest and slowest profile
|
|
||||||
|
|
||||||
## Release profile
|
|
||||||
* Smallest profile and still fast
|
|
||||||
* Minimal error information
|
|
||||||
* Chip is put to sleep when going idle:
|
|
||||||
* debugger is likely to drop connection
|
|
||||||
* breaks the [local file system](https://developer.mbed.org/handbook/LocalFileSystem) on the [mbed interface](https://developer.mbed.org/handbook/mbed-interface) (only for few NXP boards & if used)
|
|
Loading…
Reference in New Issue