From d19fc7e34f783b343e77b757c4f37aaadb5b66ca Mon Sep 17 00:00:00 2001 From: xengineering Date: Wed, 2 Apr 2025 20:43:29 +0200 Subject: fw: app: Fix native_sim build To reduce the number of Kconfig options the network hack was added two both boards - the native_sim and nucleo_f767zi one. It reboots the device if the network connection cannot be established since this is a known bug of the nucleo board. Nevertheless it seems that for the native_sim board this command is not defined. Since it is a Linux application this makes somehow sense. This commit introduces the boolean Kconfig option `IOT_CONTACT_NETWORK_HACK` which is only enabled for the nucleo board fixing the native_sim build. --- fw/app/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'fw/app/Kconfig') diff --git a/fw/app/Kconfig b/fw/app/Kconfig index 5393e05..3481340 100644 --- a/fw/app/Kconfig +++ b/fw/app/Kconfig @@ -2,4 +2,8 @@ config IOT_CONTACT_REMOTE_UPDATE bool "Enable the remote update system" default n +config IOT_CONTACT_NETWORK_HACK + bool "Reboots after a fixed timeout if network connection cannot be established" + default n + source "Kconfig.zephyr" -- cgit v1.2.3-70-g09d2