Much better crash handling. So wow.

* Furi, FuriHal, Desktop: much better crash handling. So wow.
* FuriHal: add missing include in FreeRTOSConfig.h

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
This commit is contained in:
Albert Kharisov
2021-12-31 21:32:49 +04:00
committed by GitHub
parent 475fa91ba6
commit 5b1f50e63a
16 changed files with 116 additions and 39 deletions

View File

@@ -119,7 +119,8 @@ See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */
/* Normal assert() semantics without relying on the provision of an assert.h
header file. */
#define configASSERT( x ) if ((x) == 0) { taskDISABLE_INTERRUPTS(); asm("bkpt 1"); for( ;; ); }
#include <furi/check.h>
#define configASSERT( x ) if ((x) == 0) { furi_crash("FreeRTOS Assert"); }
/* Definitions that map the FreeRTOS port interrupt handlers to their CMSIS
standard names. */