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:
@@ -27,7 +27,7 @@ void __dmb()
|
|||||||
|
|
||||||
/* Those are defined only on CM3 or CM4 */
|
/* Those are defined only on CM3 or CM4 */
|
||||||
#if defined(__ARM_ARCH_6M__)
|
#if defined(__ARM_ARCH_6M__)
|
||||||
#warning "sync not supported on ARMv6-M arch"
|
/* no work around for cm0 */
|
||||||
#else
|
#else
|
||||||
|
|
||||||
uint32_t __ldrex(volatile uint32_t *addr)
|
uint32_t __ldrex(volatile uint32_t *addr)
|
||||||
|
|||||||
Reference in New Issue
Block a user