Skip to content

Commit 9b4f24a

Browse files
committed
Baremetal information in README
1 parent 7632658 commit 9b4f24a

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

README.md

+30
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,36 @@ If you don't have a scanner on your phone, please install:
182182

183183
- [ST BLE Profile](https://play.google.com/store/apps/details?id=com.stm.bluetoothlevalidation) for Android.
184184

185+
186+
## Using bare metal profile
187+
188+
MBED BLE can support bare metal profile: https://os.mbed.com/docs/mbed-os/v6.10/bare-metal/using-the-bare-metal-profile.html
189+
190+
191+
Here is an example with NUCLEO_WB55RG, update your local mbed_app.json:
192+
```
193+
{
194+
"requires": ["bare-metal", "events", "cordio-stm32wb"],
195+
```
196+
197+
## How to reduce application size
198+
199+
Here are few tips to reduce further application size (this could be in addition of baremetal)
200+
201+
Update in mbed_app.json:
202+
203+
```
204+
{
205+
"target_overrides": {
206+
"*": {
207+
"target.c_lib": "small",
208+
"target.printf_lib": "minimal-printf",
209+
"platform.minimal-printf-enable-floating-point": false,
210+
"platform.stdio-minimal-console-only": true,
211+
...
212+
```
213+
214+
185215
## Troubleshooting
186216
187217
If you encounter problems with running the example, first try to update to the `development` branch of the example and

0 commit comments

Comments
 (0)