cm3/fpb: Fix overly strict ARMv7 check
This commit is contained in:
parent
8c74128ff6
commit
011b5c615a
@ -23,7 +23,7 @@
|
|||||||
/* Cortex-M3 Flash Patch and Breakpoint (FPB) unit */
|
/* Cortex-M3 Flash Patch and Breakpoint (FPB) unit */
|
||||||
|
|
||||||
/* Those defined only on ARMv7 and above */
|
/* Those defined only on ARMv7 and above */
|
||||||
#if !defined(__ARM_ARCH_7M__) || !defined(__ARM_ARCH_7EM__)
|
#if !defined(__ARM_ARCH_7M__) && !defined(__ARM_ARCH_7EM__)
|
||||||
#error "Flash Patch and Breakpoint not available in CM0"
|
#error "Flash Patch and Breakpoint not available in CM0"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user