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 ){
296
296
}
297
297
298
298
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
+
299
326
300
327
// ****************************************
301
328
//
@@ -595,6 +622,8 @@ void app_start( void ){
595
622
// #endif // DEBUG_PRINT_APP
596
623
// #endif // DEBUG
597
624
625
+ // unsetup(); // todo:
626
+
598
627
void * entryPoint = (void * )(* ((uint32_t * )(USERCODE_OFFSET + 4 )));
599
628
debug_printf ("\nJump to App at 0x%08X\n\n" , (uint32_t )entryPoint );
600
629
am_util_delay_ms (10 ); // Wait for prints to complete
You can’t perform that action at this time.
0 commit comments