diff options
Diffstat (limited to 'stm32conf/lanchon-stm32/src/exceptions/stm32exceptions.h.prolog')
-rw-r--r-- | stm32conf/lanchon-stm32/src/exceptions/stm32exceptions.h.prolog | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/stm32conf/lanchon-stm32/src/exceptions/stm32exceptions.h.prolog b/stm32conf/lanchon-stm32/src/exceptions/stm32exceptions.h.prolog deleted file mode 100644 index dbf6ce9..0000000 --- a/stm32conf/lanchon-stm32/src/exceptions/stm32exceptions.h.prolog +++ /dev/null @@ -1,24 +0,0 @@ -/* Exception handlers for STM32 (by Lanchon) */
-
-#ifndef __STM32EXCEPTIONS_H
-#define __STM32EXCEPTIONS_H
-
-#if __cplusplus
-extern "C"
-{
-#endif
-
-/* Use a shared infinite loop for unexpected exceptions. */
-/* #define SHARED_EXCEPTION_HANDLER */
-
-/* Or use an external handler for unexpected exceptions. */
-/* #define CUSTOM_EXCEPTION_HANDLER */
-
-/* Or else use individual infinite loops when debugging,
- * or a shared infinite loop when not. */
-
-#ifdef CUSTOM_EXCEPTION_HANDLER
- void unexpected_exception(const char* name, int address);
- #define DEFAULT_EXCEPTION_HANDLER(handler, name, number, address) unexpected_exception(name, address);
-#endif
-
|