Skip to content

Add documentation on how to enable bare-metal #964

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 1, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/tutorials/migrate-from-mbed-os-2-to-5.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,3 +348,13 @@ Now, the program successfully compiles.
### Runtime errors

Although the program or library now compiles successfully, runtime errors may still be present. Please visit the [compile-time errors tutorial](compile-time-errors.html#runtime-errors-and-lights-of-the-dead) for further debugging tips about common errors.

### Enable Bare-metal

Enabling bare-metal profile allows you to build mbed-os without an rtos. In order to enable it, you have to complete the migration to `Mbed OS 5`. Once the migration is completed, you can enable bare-metal by creating an `mbed-app.json` with the following contents:

```
{
"requires": ["bare-metal"]
}
```