cm0 doesn't support sync operations

So remove the warning, the sync code is already left out of the cm0
builds.

Fixes #291
This commit is contained in:
Karl Palsson 2014-03-12 09:40:03 +00:00
parent 1f5ce647ff
commit 5b6e97732b

View File

@ -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)