diff --git a/src/sam4e8e/main.c b/src/sam4e8e/main.c index ef3e2391..9e02a5d0 100644 --- a/src/sam4e8e/main.c +++ b/src/sam4e8e/main.c @@ -43,6 +43,12 @@ int main(void) { SystemInit(); + + // Enable Cache + if (!(CMCC->CMCC_SR & CMCC_SR_CSTS)) + CMCC->CMCC_CTRL = CMCC_CTRL_CEN; + + // Start main loop sched_main(); return 0; }