00001 00020 #include "rwnx_config.h" 00021 #include "crm.h" 00022 #include "sysctrl.h" 00023 #include "intc.h" 00024 #include "button.h" 00025 #include "ipc_emb.h" 00026 #include "dma.h" 00027 #include "la.h" 00028 00029 00030 void rwnx_platform_init(void) 00031 { 00032 // MAC/MODEM Clock initialization 00033 crm_init(); 00034 // system controller initialization 00035 sysctrl_init(); 00036 // configure the interrupt controller 00037 intc_init(); 00038 // initialize push button 00039 button_init(); 00040 // initialize the IPC on the embedded side 00041 ipc_emb_init(); 00042 // initialize the DMA 00043 dma_init(); 00044 #if NX_DEBUG_DUMP 00045 // initialize the embedded logic analyzer 00046 la_init(); 00047 #endif 00048 } 00049 00051 00052
1.6.1