WIP STM32F7

add rx side of uart
enable systick at proper speed
This commit is contained in:
Travis Geiselbrecht
2015-07-10 00:52:37 -07:00
parent 440a1d50fe
commit 867782bb56
4 changed files with 30 additions and 16 deletions

View File

@@ -61,6 +61,9 @@ void target_early_init(void)
gpio_config(GPIO_LED2, GPIO_OUTPUT);
gpio_config(GPIO_LED3, GPIO_OUTPUT);
#endif
printf("RCC_CSR 0x%x\n", RCC->CSR);
RCC->CSR |= (1<<24);
}
void target_init(void)