Fix the PICO_CONFIG default value for PICO_CMSIS_RENAME_EXCEPTIONS (#399)
This commit is contained in:
parent
b05d863428
commit
54c78bf985
@ -7,9 +7,9 @@
|
|||||||
#ifndef _CMSIS_RENAME_EXCEPTIONS_H
|
#ifndef _CMSIS_RENAME_EXCEPTIONS_H
|
||||||
#define _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
|
#ifndef PICO_CMSIS_RENAME_EXCEPTIONS
|
||||||
#define PICO_CMSIS_RENAME_EXCEPTIONS 1
|
#define PICO_CMSIS_RENAME_EXCEPTIONS 1
|
||||||
#endif
|
#endif
|
||||||
@ -48,4 +48,4 @@
|
|||||||
#define isr_irq25 RTC_IRQ_Handler
|
#define isr_irq25 RTC_IRQ_Handler
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* _CMSIS_RENAME_EXCEPTIONS_H */
|
#endif /* _CMSIS_RENAME_EXCEPTIONS_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user