Skip to content

Commit

Permalink
boot/split: Fix SPLIT_CONFIG_SUPPORT initialization
Browse files Browse the repository at this point in the history
For certain configurations SPLIT_CONFIG_SUPPORT was double
defined and second definition was constant because
syscfg.defs section was used instead of syscfg.vals.

So when CONFIG_xxx was set to 1 for NFFS/LITTLEFS/CFB/FCB2
SPLIT_CONFIG_SUPPORT could not be disabled

Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
  • Loading branch information
kasjer committed Apr 25, 2024
1 parent ea1a4b1 commit 96afffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boot/split/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ syscfg.defs:
Sysinit stage for split image functionality.
value: 500

syscfg.defs.'(CONFIG_NFFS==1||CONFIG_LITTLEFS==1||CONFIG_FCB==1||CONFIG_FCB2==1)':
syscfg.vals.'(CONFIG_NFFS==1||CONFIG_LITTLEFS==1||CONFIG_FCB==1||CONFIG_FCB2==1)':
SPLIT_CONFIG_SUPPORT: 1

0 comments on commit 96afffd

Please sign in to comment.