From 54c78bf985e721cdc4127fb73d531cd8262e9a86 Mon Sep 17 00:00:00 2001 From: Andrew Scheller Date: Wed, 12 May 2021 01:21:44 +0100 Subject: [PATCH] Fix the PICO_CONFIG default value for PICO_CMSIS_RENAME_EXCEPTIONS (#399) --- src/rp2_common/cmsis/include/cmsis/rename_exceptions.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rp2_common/cmsis/include/cmsis/rename_exceptions.h b/src/rp2_common/cmsis/include/cmsis/rename_exceptions.h index c3884aa..ba28526 100644 --- a/src/rp2_common/cmsis/include/cmsis/rename_exceptions.h +++ b/src/rp2_common/cmsis/include/cmsis/rename_exceptions.h @@ -7,9 +7,9 @@ #ifndef _CMSIS_RENAME_EXCEPTIONS_H #define _CMSIS_RENAME_EXCEPTIONS_H -// PICO_CONFIG: PICO_CMSIS_RENAME_EXCEPTIONS, Whether to rename SDK exceptions such as isr_nmi to their CMSIS equivalent i.e. NMI_Handler, type=bool, default=0, group=cmsis_core +// PICO_CONFIG: PICO_CMSIS_RENAME_EXCEPTIONS, Whether to rename SDK exceptions such as isr_nmi to their CMSIS equivalent i.e. NMI_Handler, type=bool, default=1, group=cmsis_core -// Note that since this header is included at the config stage, if you wish to override this you should do via build compiler define +// Note that since this header is included at the config stage, if you wish to override this you should do so via build compiler define #ifndef PICO_CMSIS_RENAME_EXCEPTIONS #define PICO_CMSIS_RENAME_EXCEPTIONS 1 #endif @@ -48,4 +48,4 @@ #define isr_irq25 RTC_IRQ_Handler #endif -#endif /* _CMSIS_RENAME_EXCEPTIONS_H */ \ No newline at end of file +#endif /* _CMSIS_RENAME_EXCEPTIONS_H */