This is an automated email from the ASF dual-hosted git repository.
jerzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
The following commit(s) were added to refs/heads/master by this push:
new f48267d02 bsp: Leave HSI on for STM32F1
f48267d02 is described below
commit f48267d0290b39eda8c0b927cb33a09318b82dbe
Author: Jerzy Kasenberg <[email protected]>
AuthorDate: Sat Jun 8 23:37:26 2024 +0200
bsp: Leave HSI on for STM32F1
HSI is needed for flash writes so now it's turned on by default.
Signed-off-by: Jerzy Kasenberg <[email protected]>
---
hw/bsp/bluepill/syscfg.yml | 2 +-
hw/bsp/olimex-p103/syscfg.yml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/bsp/bluepill/syscfg.yml b/hw/bsp/bluepill/syscfg.yml
index d601947e2..292ae39f9 100644
--- a/hw/bsp/bluepill/syscfg.yml
+++ b/hw/bsp/bluepill/syscfg.yml
@@ -29,7 +29,7 @@ syscfg.vals:
CONFIG_FCB_FLASH_AREA: FLASH_AREA_NFFS
NFFS_FLASH_AREA: FLASH_AREA_NFFS
COREDUMP_FLASH_AREA: FLASH_AREA_IMAGE_1
- STM32_CLOCK_HSI: 0
+ STM32_CLOCK_HSI: 1
STM32_CLOCK_HSE: 1
STM32_CLOCK_HSE_BYPASS: 0
STM32_CLOCK_PLL_MUL: 'RCC_PLL_MUL9'
diff --git a/hw/bsp/olimex-p103/syscfg.yml b/hw/bsp/olimex-p103/syscfg.yml
index 14d2e035d..f57363b7c 100644
--- a/hw/bsp/olimex-p103/syscfg.yml
+++ b/hw/bsp/olimex-p103/syscfg.yml
@@ -32,7 +32,7 @@ syscfg.vals:
CONFIG_FCB_FLASH_AREA: FLASH_AREA_NFFS
NFFS_FLASH_AREA: FLASH_AREA_NFFS
COREDUMP_FLASH_AREA: FLASH_AREA_IMAGE_1
- STM32_CLOCK_HSI: 0
+ STM32_CLOCK_HSI: 1
STM32_CLOCK_HSE: 1
STM32_CLOCK_HSE_BYPASS: 0
STM32_CLOCK_PLL_MUL: 'RCC_PLL_MUL9'