1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 12:55:19 +03:00
Commit graph

1 commit

Author SHA1 Message Date
Petr Ledvina
f564cdf952 Fix atomic in unittests (#4240)
Add unittest support for ATOMIC_BLOCK

- BASEPRI emulation on UNIT_TEST target
- documentation cleanup / fixed missspelings
- ATOMIC_BARRIER implemented for CLang, using blocks
- ATOMIC_BARRIER is using macros to separate barriers

gcc specific unittest for ATOMIC_BARRIER

ATOMIC_BARRIER clang unittest

quick hack to enable CLangs -flocks + ATOMIC_BARRIER tests
Needs cleanup

* Enable test

* Add libBlocksRuntime dependency to Travis
2017-09-27 13:12:37 +01:00