"oh and Kaspar if you expect to..." <- > <@jamesmunns:beeper.com> oh and Kaspar if you expect to work on targets that have dcache, you probably want to use `fence` not `compiler_fence`. > > The former also instructs the cpu to do cache/out of order flushes AND prevents the optimizer from reordering, compiler_fence just stops the optimizer `fence()` does the trick! `compiler_fence()` was not enough, on a nrf52840.