Open plusk01 opened 6 years ago
For some reason, I had to add
#pragma GCC push_options #pragma GCC optimize ("O0") #include <functional> #pragma GCC pop_options
for SPI/MPU to work with ISR in RELEASE mode.
It seems like the cb_ std::function is the real problem, but it doesn't seem like you can add volatile to a std::function...
cb_
volatile
std::function
For some reason, I had to add
for SPI/MPU to work with ISR in RELEASE mode.
It seems like the
cb_
std::function is the real problem, but it doesn't seem like you can addvolatile
to astd::function
...