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 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- #if !defined(MBED_CONF_RTOS_PRESENT)
17
- #error [NOT_SUPPORTED] crash_reporting test cases require a RTOS to run.
18
- #else
19
16
#include " mbed.h"
20
17
#include " mbed_error.h"
21
18
#include " mbed_crash_data_offsets.h"
@@ -83,4 +80,3 @@ int main(void)
83
80
}
84
81
85
82
#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);
76
76
int $Sub$$main (void )
77
77
{
78
78
mbed_main ();
79
+ mbed_error_initialize ();
79
80
return $Super$$main ();
80
81
}
81
82
@@ -109,6 +110,7 @@ void software_init_hook(void)
109
110
int __wrap_main (void )
110
111
{
111
112
mbed_main ();
113
+ mbed_error_initialize ();
112
114
return __real_main ();
113
115
}
114
116
You can’t perform that action at this time.
0 commit comments