void bdmain(void)
{
/* 禁止 Cache 和 MMU */ cache_disable(); mmu_disable();
/ * Initialization * port / PORT_Init ();
/ * Interrupt handler * / isr_init ();
/ * Initialize the serial port * / serial_init (0, 115200);
/ * Output information main loop * / serial_printf ( "is ok \ n!"); While (1) {
}
}
Generally ADS basic test procedures can add their own code on this architecture.