You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fix mbed-rtos-flags/mbed-rtos-sources typo
* Fix parameter order error to mbed_setup_linker_script
* Support application profile link selection
This provides one approach to address cmake link mess with
mbed-core-flags/mbed-rtos-flags whose links or not depends on selected
application profile, full or bare-metal.
1. Add target config option application-profile for application to
select which application profile to use. Applications are responsible
for making this target config option consitent with link selection of
mbed-os/mbed-baremetal.
2. Overload mbed-core-flags/mbed-core-sources so that they can involve
mbed-rtos-flags/mbed-rtos-sources or not depending on
target.application-profile setting
* Guard from mismatch of target.application-profile and mbed-os/mbed-baremetal
This guards from mismatch of target.application-profile and link
libraries mbed-os/mbed-baremetal.
* Make all libraries link mbed-core-flags instead of mbed-rtos-flags
With mbed-core-flags overloaded to match target.application-profile setting,
all libraries should link mbed-core-flags instead of mbed-rtos-flags so that
they build upon correct application profile, involving mbed-rtos-flags or not.
* Make mbed-os link mbed-core-flags/mbed-core-sources only
With mbed-core-flags/mbed-core-sources being overloaded to match
target.application-profile setting, mbed-os should link only
mbed-core-flags/mbed-core-sources which will involve mbed-rtos-flags/
mbed-rtos-sources as config.
* Remove MBED_GREENTEA_TEST_BAREMETAL from target.application-profile
MBED_GREENTEA_TEST_BAREMETAL can become deprecated and be removed. The
'auto' option of target.application-profile needn't respect it.
* Respect target.application-profile setting for Greentea build
MBED_GREENTEA_TEST_BAREMETAL can become deprecated and be removed.
Respect target.application-profile setting instead to resolve link
library.
0 commit comments