cm3/fpb: Fix overly strict ARMv7 check

This commit is contained in:
Devan Lai 2016-11-05 13:54:09 -07:00
parent 8c74128ff6
commit 011b5c615a

View File

@ -23,7 +23,7 @@
/* Cortex-M3 Flash Patch and Breakpoint (FPB) unit */
/* 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"
#endif