瀏覽代碼

RM48 does not have cache implemented

Grissiom 12 年之前
父節點
當前提交
2df7fc310f
共有 1 個文件被更改,包括 5 次插入0 次删除
  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();