arch/xtensa: add abort_mode variable to fix build break
declare abort_mode variable in xtensa_assert.c to fix the build break as it is used in common code.
#include "sched/sched.h"
#include "xtensa.h"
+bool abort_mode = false;
+
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
@@ -168,6 +170,8 @@ void up_assert(const uint8_t *filename, int lineno)
{
board_autoled_on(LED_ASSERTION);
+ abort_mode = true;
+
#if defined(CONFIG_DEBUG)
#if CONFIG_TASK_NAME_SIZE > 0 && defined(CONFIG_DEBUG_ERROR)
struct tcb_s *rtcb = this_task();
