Skip to content

Commit fff3257

Browse files
tpamborcfriedt
authored andcommitted
samples: canopennode: no_storage: disable program download
Boards that use MCUboot to start XIP from external flash default to CONFIG_CANOPENNODE_PROGRAM_DOWNLOAD=y. However, in the no_storage sample, dependencies such as CONFIG_FLASH are disabled. This causes build errors. Work around this by explicitly disabling program download in the no_storage sample configuration. Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
1 parent 41513d7 commit fff3257

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

samples/modules/canopennode/prj_no_storage.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ CONFIG_CAN_MAX_FILTER=13
99
CONFIG_CANOPEN=y
1010
CONFIG_CANOPENNODE_SYNC_THREAD=y
1111
CONFIG_CANOPENNODE_LEDS=y
12+
CONFIG_CANOPENNODE_PROGRAM_DOWNLOAD=n
1213

1314
CONFIG_REBOOT=y

0 commit comments

Comments
 (0)