//***************************************************************************** //! Board Initialization & Configuration //***************************************************************************** static void bootmgr_board_init(void) { // set the vector table base MAP_IntVTableBaseSet((unsigned long)&g_pfnVectors[0]); // enable processor interrupts MAP_IntMasterEnable(); MAP_IntEnable(FAULT_SYSTICK); // mandatory MCU initialization PRCMCC3200MCUInit(); mperror_bootloader_check_reset_cause(); #if MICROPY_HW_ANTENNA_DIVERSITY // configure the antenna selection pins antenna_init0(); #endif // enable the data hashing engine CRYPTOHASH_Init(); // init the system led and the system switch mperror_init0(); // clear the safe boot flag, since we can't trust its content after reset PRCMClearSafeBootRequest(); }
//***************************************************************************** //! Board Initialization & Configuration //***************************************************************************** static void bootmgr_board_init(void) { // Set vector table base MAP_IntVTableBaseSet((unsigned long)&g_pfnVectors[0]); // Enable Processor Interrupts MAP_IntMasterEnable(); MAP_IntEnable(FAULT_SYSTICK); // Mandatory MCU Initialization PRCMCC3200MCUInit(); mperror_bootloader_check_reset_cause(); // Enable the Data Hashing Engine HASH_Init(); // Init the system led and the system switch mperror_init0(); // clear the safe boot flag, since we can't trust its content after reset PRCMClearSafeBootRequest(); }