Browse Source

samples: subsys: setting does not apply when sector size is 128K

Exclude the stm32h7 target boards to this samples/subsys/settings
because it does not apply for flash sector flash size larger
than 64K : all those stm32h7 mcu have sector size of 128K
The settings_subsys_init will fails (-33 DOM errno ) when it checks
nvs_sector_size > UINT16_MAX in settings_backend_init()
of the subsys/settings/src/settings_nvs.c

Signed-off-by: Francois Ramu <francois.ramu@st.com>
pull/89972/merge
Francois Ramu 4 months ago committed by Benjamin Cabé
parent
commit
b647d70bca
  1. 1
      samples/subsys/settings/README.rst
  2. 9
      samples/subsys/settings/sample.yaml

1
samples/subsys/settings/README.rst

@ -18,6 +18,7 @@ Requirements @@ -18,6 +18,7 @@ Requirements
* A board with settings support, for instance: nrf52840dk/nrf52840
* Or qemu_x86 target
* A nvs_sector_size <= 0xFFFF
Building and Running
********************

9
samples/subsys/settings/sample.yaml

@ -7,6 +7,15 @@ tests: @@ -7,6 +7,15 @@ tests:
timeout: 20
filter: dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions")
platform_exclude:
- nucleo_h723zg
- stm32h735g_disco
- nucleo_h743zi
- stm32h745i_disco/stm32h745xx/m7
- nucleo_h745zi_q/stm32h745xx/m7
- stm32h747i_disco/stm32h747xx/m7
- stm32h750b_dk
- nucleo_h753zi
- nucleo_h755zi_q/stm32h755xx/m7
- qemu_cortex_m0/nrf51822
integration_platforms:
- native_sim

Loading…
Cancel
Save