All config-options need to be calles "CONFIG_*"
Signed-off-by: Stephan Baerwolf <stephan.baerwolf@tu-ilmenau.de>
* as soon as the programming software disconnects.
*/
* as soon as the programming software disconnects.
*/
-#ifndef BOOTLOADER_LOOPCYCLES_TIMEOUT
-# define BOOTLOADER_LOOPCYCLES_TIMEOUT 0
+#ifdef CONFIG_BOOTLOADER_LOOPCYCLES_TIMEOUT
+# define BOOTLOADER_LOOPCYCLES_TIMEOUT (CONFIG_BOOTLOADER_LOOPCYCLES_TIMEOUT)
+#else
+# define BOOTLOADER_LOOPCYCLES_TIMEOUT (0)
#endif
/*
* When greater than "0", "BOOTLOADER_LOOPCYCLES_TIMEOUT"
#endif
/*
* When greater than "0", "BOOTLOADER_LOOPCYCLES_TIMEOUT"