1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/kinetis_common: fixes to fault_handlers

This commit is contained in:
Hauke Petersen 2015-05-27 23:05:34 +02:00
parent d4d34a782e
commit de31e1f9e8
2 changed files with 2 additions and 15 deletions

View File

@ -21,6 +21,7 @@
*/
#include <stdint.h>
#include "cpu.h"
#include "panic.h"
#include "fault_handlers.h"
@ -56,5 +57,5 @@ void isr_debug_mon(void)
void isr_unhandled(void)
{
core_panic(PANIC_UNHANDLED_ISR, "UNHANDLED ISR");
core_panic(PANIC_DUMMY_HANDLER, "UNHANDLED ISR");
}

View File

@ -63,20 +63,6 @@ void isr_debug_mon(void);
*/
void isr_unhandled(void);
/**
* @brief Definition of different panic modes
*/
typedef enum {
PANIC_NMI_HANDLER, /**< non maskable interrupt */
PANIC_HARD_FAULT, /**< hard fault */
PANIC_MEM_MANAGE, /**< memory controller interrupt */
PANIC_BUS_FAULT, /**< bus fault */
PANIC_USAGE_FAULT, /**< undefined instruction or unaligned access */
PANIC_DEBUG_MON, /**< debug interrupt */
PANIC_UNHANDLED_ISR, /**< unhandled interrupt */
} panic_t;
#ifdef __cplusplus
}
#endif