uart/stm32: add STM32F3X support for uart
Change-Id: I9796c6a2841c972eeab15894a6d7f38ae93606d1 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
726d11a5a2
commit
05f717e71b
5 changed files with 27 additions and 2 deletions
|
@ -55,6 +55,9 @@ static int stm32f3_init(struct device *arg)
|
|||
|
||||
irq_unlock(key);
|
||||
|
||||
/* Update CMSIS SystemCoreClock variable (HCLK) */
|
||||
SystemCoreClock = CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue