Structure of an Mbed OS project
Every Mbed OS project is composed of a:
- Target, defined in
mbed-os/targets/targets.json
and optionally incustom_targets.json
. See the targets documentation for more information about defining your custom targets for your custom boards. - Configuration, optionally defined in
mbed_lib.json
andmbed_app.json
. See the configuration system documentation for more information about configuring Mbed OS's build in libraries. - Toolchain and build profile, which define the arguments to the compiler suite. See the build profile documentation for more information about changing parameters in your C and C++ compiler.
- Resources such as C sources, C++ sources, and configuration files. See the build rules documentation for more information on which files are included.