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>
50 lines
1.6 KiB
YAML
50 lines
1.6 KiB
YAML
sample:
|
|
name: Settings Sample
|
|
|
|
tests:
|
|
sample.subsys.settings:
|
|
tags: settings
|
|
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
|
|
harness: console
|
|
harness_config:
|
|
type: multi_line
|
|
regex:
|
|
- "subtree <alpha> handler registered: OK"
|
|
- "# iteration 0"
|
|
- "[.]*<alpha/length> value exist in the storage"
|
|
- "[.]*Can\\'t to load the <alpha/length> value as expected"
|
|
- "<gamma> = 0 \\(default\\)"
|
|
- "# iteration 1"
|
|
- "<alpha/length/2> = 59"
|
|
- "# iteration 2"
|
|
- "<alpha/length/1> = 42"
|
|
- "# iteration 3"
|
|
- "<alpha/beta/voltage> = -3100"
|
|
- "# iteration 4"
|
|
- "<alpha/beta/source> = abcd"
|
|
- "# iteration 5"
|
|
- "<alpha/angle/1> = 5"
|
|
- "<alpha/beta/source> is not compatible with the application"
|
|
- "direct.length = 100"
|
|
- "direct.length_1 = 46"
|
|
- "direct.length_2 = 54"
|
|
- "<gamma> = 5"
|
|
- "The settings destination off the key <alpha/beta/source> has got value:\
|
|
\ \"RT\""
|
|
- "String value \"rtos\" was retrieved from the settings destination off the\
|
|
\ key <alpha/beta/source>"
|