cpu/cortexm_common: fix atomic_utils_arch.h
Only use bit-banding if all of SRAM supports bit-banding (cherry picked from commit 716441d0c3c3b1b036bab26a4de2e44cde705ea0)
This commit is contained in:
parent
a8b6c0579c
commit
b3bf28b9bc
@ -68,7 +68,7 @@ static inline void atomic_store_u32(volatile uint32_t *dest, uint32_t val)
|
||||
|
||||
#endif /* __clang__ */
|
||||
|
||||
#if CPU_HAS_BITBAND
|
||||
#if CPU_HAS_SRAM_BITBAND
|
||||
#define HAS_ATOMIC_BIT
|
||||
|
||||
typedef volatile uint32_t *atomic_bit_u8_t;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user