Skip to content

Commit 9f509b4

Browse files
author
Amanda Butler
authored
Merge pull request #964 from aashishc1988/enable_baremetal
Add documentation on how to enable bare-metal
2 parents 70e2ca2 + 2ac65c3 commit 9f509b4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/tutorials/migrate-from-mbed-os-2-to-5.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,3 +348,13 @@ Now, the program successfully compiles.
348348
### Runtime errors
349349

350350
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.
351+
352+
### Enabling Mbed OS bare metal
353+
354+
Enabling the Mbed OS bare metal profile allows you to build Mbed OS without an RTOS. To enable it, you have to complete the [migration to Mbed OS 5](#migrating-to-mbed-os-5). Once the migration is complete, you can enable Mbed OS bare metal by creating an `mbed-app.json` with the following contents:
355+
356+
```
357+
{
358+
"requires": ["bare-metal"]
359+
}
360+
```

0 commit comments

Comments
 (0)