test solo program

This commit is contained in:
Conor Patrick
2018-11-07 19:39:02 -05:00
committed by Emanuele Cesena
parent 85157e2c26
commit 9faefee27c
5 changed files with 114 additions and 181 deletions

View File

@@ -78,17 +78,21 @@ void hw_init(void)
/* Initialize all configured peripherals */
MX_GPIO_Init();
MX_USART1_UART_Init();
MX_TIM2_Init();
MX_TIM6_Init();
#ifndef TEST_SOLO_STM32
MX_USART1_UART_Init();
MX_RNG_Init();
#endif
TIM6->SR = 0;
__enable_irq();
NVIC_EnableIRQ(TIM6_IRQn);
#ifndef TEST_SOLO_STM32
usb_init();
#endif
}
static void LL_Init(void)