RM48 does not have cache implemented

This commit is contained in:
Grissiom 2013-06-12 23:48:29 +08:00
parent 9b949c28b7
commit 2df7fc310f
1 changed files with 5 additions and 0 deletions

View File

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