Add comment about write buffer.

This commit is contained in:
iabdalkader 2017-01-12 17:29:59 +02:00
parent 77ae730d36
commit 66a7330d1e

View File

@ -296,6 +296,10 @@ int main(void)
int sensor_init_ret = 0;
bool first_soft_reset = true;
// Uncomment to disable write buffer to get precise faults.
// NOTE: Cache should be disabled on M7.
//SCnSCB->ACTLR |= SCnSCB_ACTLR_DISDEFWBUF_Msk;
// STM32F4xx HAL library initialization:
// - Set NVIC Group Priority to 4
// - Configure the Flash prefetch, instruction and Data caches