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>
diff --git a/samples/modules/canopennode/prj_no_storage.conf b/samples/modules/canopennode/prj_no_storage.conf
index 2d0ec6b..b296e8c 100644
--- a/samples/modules/canopennode/prj_no_storage.conf
+++ b/samples/modules/canopennode/prj_no_storage.conf
@@ -9,5 +9,6 @@
CONFIG_CANOPEN=y
CONFIG_CANOPENNODE_SYNC_THREAD=y
CONFIG_CANOPENNODE_LEDS=y
+CONFIG_CANOPENNODE_PROGRAM_DOWNLOAD=n
CONFIG_REBOOT=y