Merge pull request from AnotherButler/patch-2

Delete build_profiles.md
pull/3561/head^2
Sam Grove 2017-02-13 10:14:39 -06:00 committed by GitHub
commit 21b91c794e
1 changed files with 0 additions and 23 deletions

View File

@ -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)