Closed tmplt closed 2 years ago
The compiler is not aware of the relationship between the watch variables and the DWT comparators that monitors the variables. Using ptr::volatile_write should convince the compiler not to optimize the write out.
The compiler is not aware of the relationship between the watch variables and the DWT comparators that monitors the variables. Using ptr::volatile_write should convince the compiler not to optimize the write out.