Skip to content

Commit d87bf35

Browse files
committed
Merge branch 'master' into SoftwareSerial
2 parents 527f9aa + eacaee3 commit d87bf35

File tree

159 files changed

+40990
-5363
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

159 files changed

+40990
-5363
lines changed

bootloaders/artemis/!artemis_svl/src/main.c

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)