File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 99 "platform.all-stats-enabled" : 1 ,
1010
1111 // Enable auto reboot on error, required for crash reporting test
12- "platform.fatal-error-auto-reboot-enabled" : true
12+ "platform.fatal-error-auto-reboot-enabled" : true ,
13+
14+ // Enable bare-metal application profile
15+ "target.application-profile" : "bare-metal"
1316 }
1417}
Original file line number Diff line number Diff line change @@ -92,7 +92,9 @@ function(mbed_greentea_add_test)
9292 ${MBED_GREENTEA_TEST_SOURCES}
9393 )
9494
95- if (MBED_GREENTEA_TEST_BAREMETAL)
95+ # Resolve link library based on target.application-profile setting
96+ get_target_property (MBED_CORE_FLAGS_TARGET_LINK_LIBRARIES mbed-core-flags INTERFACE_LINK_LIBRARIES)
97+ if (NOT "mbed-rtos-flags" IN_LIST MBED_CORE_FLAGS_TARGET_LINK_LIBRARIES)
9698 list (APPEND MBED_GREENTEA_TEST_REQUIRED_LIBS mbed-baremetal)
9799 else ()
98100 list (APPEND MBED_GREENTEA_TEST_REQUIRED_LIBS mbed-os)
You can’t perform that action at this time.
0 commit comments