stm32f4: Add support for USB on stm32f103

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2019-07-28 18:26:22 -04:00 committed by KevinOConnor
parent 7efc53ff59
commit ec3d865b51
5 changed files with 353 additions and 1 deletions

View file

@ -38,6 +38,8 @@ DECL_COMMAND_FLAGS(command_reset, HF_IN_SHUTDOWN, "reset");
int
main(void)
{
SCB->VTOR += CONFIG_FLASH_START;
clock_setup();
sched_main();