소스 검색

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();