I’m upgrading some existing code from using doubles to std::atomic.
The code compiles OK but fails with what looks like a link error:
c:\users\fredb.platformio\packages\toolchain-gccarmnoneeabi\arm-none-eabi\include\c++\5.4.1/atomic:225: undefined reference to `__atomic_store_8’
My board is a Teensy3.1 and toolchain is toolchain-gccarmnoneeabi @ 1.50401.0. How would I go about fixing the above problem?