fault handler

This commit is contained in:
Attila Body 2019-10-01 15:39:57 +02:00
parent ecd6c1d5d6
commit ec4df11c61
3 changed files with 355 additions and 0 deletions

View file

@ -34,6 +34,10 @@
/* Private typedef -----------------------------------------------------------*/
/* USER CODE BEGIN TD */
#define HardFault_Handler(x) __attribute__((weak)) HardFault_Handler(x)
#define MemManage_Handler(x) __attribute__((weak)) MemManage_Handler(x)
#define BusFault_Handler(x) __attribute__((weak)) BusFault_Handler(x)
#define UsageFault_Handler(x) __attribute__((weak)) UsageFault_Handler(x)
/* USER CODE END TD */