From edda57c334f8ac4f86f97a63f0bdd791e8bc2bcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Mon, 1 Apr 2019 10:03:56 +0200 Subject: [PATCH] [ion] N0101: init L1 cache after initing the external flash --- ion/src/device/n0101/drivers/board.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ion/src/device/n0101/drivers/board.cpp b/ion/src/device/n0101/drivers/board.cpp index d132e6562..d3da1658d 100644 --- a/ion/src/device/n0101/drivers/board.cpp +++ b/ion/src/device/n0101/drivers/board.cpp @@ -44,7 +44,6 @@ void initMPU() { void init() { initFPU(); - initL1Cache(); initMPU(); initClocks(); @@ -65,6 +64,8 @@ void init() { } initPeripherals(); + // Initiate L1 cache after initiating the external flash + initL1Cache(); // TODO if EPSILON_DEVICE_BENCH, run bench? See n0100 }