File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
bootloaders/artemis/!artemis_svl/src Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -296,6 +296,33 @@ void setup( void ){
296296}
297297
298298
299+ // //*****************************************************************************
300+ // //
301+ // // Un-set-up
302+ // //
303+ // //*****************************************************************************
304+ // void unsetup( void ){
305+ // // Set the clock frequency.
306+ // am_hal_clkgen_control(AM_HAL_CLKGEN_CONTROL_SYSCLK_MAX, 0);
307+
308+ // // Set the default cache configuration
309+ // am_hal_cachectrl_config(&am_hal_cachectrl_defaults);
310+ // am_hal_cachectrl_enable();
311+
312+ // // Configure the stimer
313+ // am_hal_stimer_int_enable(AM_HAL_STIMER_INT_OVERFLOW);
314+ // NVIC_EnableIRQ(STIMER_IRQn);
315+ // am_hal_stimer_config(AM_HAL_STIMER_CFG_CLEAR | AM_HAL_STIMER_CFG_FREEZE);
316+ // am_hal_stimer_config(AM_HAL_STIMER_HFRC_3MHZ);
317+
318+ // #ifdef DEBUG
319+ // start_uart_debug();
320+ // #endif
321+
322+ // // Enable interrupts.
323+ // am_hal_interrupt_master_enable();
324+ // }
325+
299326
300327// ****************************************
301328//
@@ -595,6 +622,8 @@ void app_start( void ){
595622// #endif // DEBUG_PRINT_APP
596623// #endif // DEBUG
597624
625+ // unsetup(); // todo:
626+
598627 void * entryPoint = (void * )(* ((uint32_t * )(USERCODE_OFFSET + 4 )));
599628 debug_printf ("\nJump to App at 0x%08X\n\n" , (uint32_t )entryPoint );
600629 am_util_delay_ms (10 ); // Wait for prints to complete
You can’t perform that action at this time.
0 commit comments