summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-04-18 15:44:50 +0700
committerhathach <[email protected]>2021-04-18 15:44:50 +0700
commitfaae19f560482b0b218312971f4f64ccb26abee2 (patch)
tree911808918596b0073d9ab25a794df70f4fea4a75
parent0517377dcb40d3a1e04338130e92515e3554f4f4 (diff)
update ci build
-rw-r--r--.github/workflows/build.yml1
-rw-r--r--hw/bsp/stm32h7/family.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index cccf8eacc..ad27407d3 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -49,6 +49,7 @@ jobs:
- 'samd21'
- 'samd51'
- 'saml22'
+ - 'stm32f0'
- 'stm32f4'
- 'stm32f7'
- 'stm32h7'
diff --git a/hw/bsp/stm32h7/family.c b/hw/bsp/stm32h7/family.c
index e94e5c974..2cbd87414 100644
--- a/hw/bsp/stm32h7/family.c
+++ b/hw/bsp/stm32h7/family.c
@@ -72,6 +72,7 @@ void board_init(void)
__HAL_RCC_GPIOI_CLK_ENABLE(); // USB ULPI NXT
__HAL_RCC_GPIOJ_CLK_ENABLE();
+ // Enable UART Clock
UART_CLK_EN();
// 1ms tick timer