From 5b6e97732bf3ca8851f262f49b17f33c2d2b0b34 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Wed, 12 Mar 2014 09:40:03 +0000 Subject: [PATCH] cm0 doesn't support sync operations So remove the warning, the sync code is already left out of the cm0 builds. Fixes #291 --- lib/cm3/sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cm3/sync.c b/lib/cm3/sync.c index 3ab9b7e8..c4fbe6d8 100644 --- a/lib/cm3/sync.c +++ b/lib/cm3/sync.c @@ -27,7 +27,7 @@ void __dmb() /* Those are defined only on CM3 or CM4 */ #if defined(__ARM_ARCH_6M__) -#warning "sync not supported on ARMv6-M arch" +/* no work around for cm0 */ #else uint32_t __ldrex(volatile uint32_t *addr)