You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<spanclass="tips">**Tip:** If you have files that you want to compile only in release mode, put them in a directory called `TARGET_RELEASE` at any level of your tree. If you have files that you want to compile only in debug mode, put them in a directory called `TARGET_DEBUG` at any level of your tree (then use `-o debug-info` as explained above).
450
453
</span>
451
454
455
+
___The configuration system___
456
+
457
+
The [mbed configuration system](https://github.com/ARMmbed/mbed-os/blob/master/docs/config_system.md) provides a flexible mechanism for configuring the mbed application, its libraries and the build target. Refer to the previous link for more details about the configuration system.
458
+
459
+
#### Inspecting configuration
460
+
461
+
If the [mbed configuration system](https://github.com/ARMmbed/mbed-os/blob/master/docs/config_system.md) is used by the program, the configuration can be displayed using `mbed config`:
462
+
463
+
```
464
+
$ mbed config -t GCC_ARM -m K64F
465
+
```
466
+
467
+
To display more verbose information about the configuration parameters, use `-v`:
468
+
469
+
```
470
+
$ mbed config -t GCC_ARM -m K64F -v
471
+
```
472
+
473
+
It's possible to filter the output of `mbed config` by specifying one or more prefixes for the configuration parameters that will be displayed. For example, to display only the configuration defined by the targets:
474
+
475
+
```
476
+
$ mbed config -t GCC_ARM -m K64F --prefix target
477
+
```
478
+
479
+
`--prefix` can be used more than once. To display only the configuration defined by the application and the targets, use two `--prefix` options:
If you need to debug your code, a good way to do that is to export your source tree to an IDE project file, so that you can use the IDE's debugging facilities. Currently *mbed-cli* supports exporting to Keil uVision, DS-5, IAR Workbench, Simplicity Studio and other IDEs.
0 commit comments