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 4e0a96141 bsp/nucleo-gxxxx: Fix config fcb settings
4e0a96141 is described below
commit 4e0a9614158d7ccfd223000d2f2c43fef643c35d
Author: Jerzy Kasenberg <[email protected]>
AuthorDate: Tue Jul 8 08:01:46 2025 +0200
bsp/nucleo-gxxxx: Fix config fcb settings
Default value for CONFIG_FCB_NUM_AREAS is 10.
Flash area used by config_fcb on this board
has 32kB in 16 sectors.
This results in an assert.
Now CONFIG_FCB_NUM_AREAS is change to 16 for this
board.
Signed-off-by: Jerzy Kasenberg <[email protected]>
---
hw/bsp/nucleo-g0b1re/syscfg.yml | 3 +++
hw/bsp/nucleo-g491re/syscfg.yml | 3 +++
2 files changed, 6 insertions(+)
diff --git a/hw/bsp/nucleo-g0b1re/syscfg.yml b/hw/bsp/nucleo-g0b1re/syscfg.yml
index 5e330c229..5d532bfd0 100644
--- a/hw/bsp/nucleo-g0b1re/syscfg.yml
+++ b/hw/bsp/nucleo-g0b1re/syscfg.yml
@@ -62,3 +62,6 @@ syscfg.vals:
MYNEWT_DOWNLOADER: stm32_programmer_cli
MYNEWT_DOWNLOADER_MFG_IMAGE_FLASH_OFFSET: 0x0C000000
JLINK_TARGET: STM32G0B1RE
+
+syscfg.vals.CONFIG_FCB:
+ CONFIG_FCB_NUM_AREAS: 16
diff --git a/hw/bsp/nucleo-g491re/syscfg.yml b/hw/bsp/nucleo-g491re/syscfg.yml
index 4938fcfd8..19b477af9 100644
--- a/hw/bsp/nucleo-g491re/syscfg.yml
+++ b/hw/bsp/nucleo-g491re/syscfg.yml
@@ -64,3 +64,6 @@ syscfg.vals:
MYNEWT_DOWNLOADER: stm32_programmer_cli
MYNEWT_DOWNLOADER_MFG_IMAGE_FLASH_OFFSET: 0x0C000000
JLINK_TARGET: STM32G491RE
+
+syscfg.vals.CONFIG_FCB:
+ CONFIG_FCB_NUM_AREAS: 16