Selaa lähdekoodia

RM48 does not have cache implemented

Grissiom 12 vuotta sitten
vanhempi
commit
2df7fc310f
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 5 0
      bsp/rm48x50/application/startup.c

+ 5 - 0
bsp/rm48x50/application/startup.c

@@ -48,6 +48,11 @@ extern unsigned char * const system_data_end;
  */
 void rtthread_startup(void)
 {
+    /*// RM48 does not have cache implemented
+     *rt_hw_cpu_icache_enable();
+     *rt_hw_cpu_dcache_enable();
+     */
+
 	/* init hardware interrupt */
 	rt_hw_interrupt_init();