File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
TESTS/mbed_platform/crash_reporting Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 1313 * See the License for the specific language governing permissions and
1414 * limitations under the License.
1515 */
16- #if !defined(MBED_CONF_RTOS_PRESENT)
17- #error [NOT_SUPPORTED] crash_reporting test cases require a RTOS to run.
18- #else
1916#include " mbed.h"
2017#include " mbed_error.h"
2118#include " mbed_crash_data_offsets.h"
@@ -83,4 +80,3 @@ int main(void)
8380}
8481
8582#endif // !MBED_CONF_PLATFORM_CRASH_CAPTURE_ENABLED
86- #endif // !defined(MBED_CONF_RTOS_PRESENT)
Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ int $Super$$main(void);
7676int $Sub$$main (void )
7777{
7878 mbed_main ();
79+ mbed_error_initialize ();
7980 return $Super$$main ();
8081}
8182
@@ -109,6 +110,7 @@ void software_init_hook(void)
109110int __wrap_main (void )
110111{
111112 mbed_main ();
113+ mbed_error_initialize ();
112114 return __real_main ();
113115}
114116
You can’t perform that action at this time.
0 commit comments