This PR fixes #3 by adding support for Thumbv6 by shimming in an atomic bool layer for platforms (thumbv6) that don't support atomic operations. This will have to be completed on a platform-by-platform basis, as we require a means to acquire a critical section.
This PR fixes #3 by adding support for Thumbv6 by shimming in an atomic bool layer for platforms (thumbv6) that don't support atomic operations. This will have to be completed on a platform-by-platform basis, as we require a means to acquire a critical section.
This follows the design in https://github.com/jamesmunns/bbqueue/blob/38d28a0df2ecb812fac90e31565ff2875696b3dc/core/src/bbbuffer.rs#L984-L1037