forked from ARMmbed/mbed-os
-
Notifications
You must be signed in to change notification settings - Fork 23
MbedOS configuration
JohnK1987 edited this page Jan 28, 2024
·
16 revisions
Is good for...
//TODO
In top level CMakeLists.txt have to be line
target_link_libraries(main mbed-os)
via this line you can switch between full profile mbed-os
to mbed-baremetal
profile or add components what are not part of that profile in default.
For example USB is component what is not included in full MbedOS profile so you have to add it like this
target_link_libraries(main mbed-os mbed-usb)
Another examples is mbed-events
. The Mbed evets API is part of MbedOS part in default but not in baremetal profile. So if you need it in the baremetal profile then you have to do it like this.+
target_link_libraries(main mbed-baremetal mbed-events)
mbed-usb
(can be manually enabled - baremetal profile)
mbed-storage
(can be manually enabled - baremetal profile)
mbed-mbedtls