summaryrefslogtreecommitdiff
path: root/include/env_callback.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/env_callback.h')
-rw-r--r--include/env_callback.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/env_callback.h b/include/env_callback.h
index 1181ab4a157..572cacde03e 100644
--- a/include/env_callback.h
+++ b/include/env_callback.h
@@ -70,6 +70,12 @@
#define DFU_CALLBACK
#endif
+#ifdef CONFIG_BOOT_RETRY
+#define BOOTRETRY_CALLBACK "bootretry:bootretry,"
+#else
+#define BOOTRETRY_CALLBACK
+#endif
+
/*
* This list of callback bindings is static, but may be overridden by defining
* a new association in the ".callbacks" environment variable.
@@ -81,6 +87,7 @@
NET6_CALLBACKS \
BOOTSTD_CALLBACK \
DFU_CALLBACK \
+ BOOTRETRY_CALLBACK \
"loadaddr:loadaddr," \
SILENT_CALLBACK \
"stdin:console,stdout:console,stderr:console," \