TimJTi commented on code in PR #3068:
URL: https://github.com/apache/nuttx-apps/pull/3068#discussion_r2106263246


##########
boot/nxboot/nxboot_main.c:
##########
@@ -32,24 +32,146 @@
 #include <nxboot.h>
 #include <sys/boardctl.h>
 
+/****************************************************************************
+ * Public Data
+ ****************************************************************************/
+
+bool progress_dots_started = false;
+
+/****************************************************************************
+ * Private Data
+ ****************************************************************************/
+
+#ifdef CONFIG_NXBOOT_PRINTF_PROGRESS
+static const char *g_progress_txt[] =
+{
+  /* Text that will be printed  ...from...    enum progress_msg_e  */
+
+  "*** nxboot ***",                          /* startup_msg */
+  "Power Reset detected, check images only", /* power_reset */
+  "Soft reset detected, check for update",   /* soft_reset */
+  "Found bootable image, boot from primary", /* found_bootable_image */
+  "No bootable image found",                 /* no_bootable_image */
+  "Board failed to boot bootable image",     /* boardioc_image_boot_fail */
+  "Copying bootable image to RAM",           /* ramcopy_started */
+  "Reverting image to recovery",             /* recovery_revert */
+  "Creating recovery image",                 /* recovery_create */
+  "Updating from update image",              /* update_from_update */
+  "Validating primary image",                /* validate_primary */
+  "Validating recovery image",               /* validate_recovery */
+  "Validating update image",                 /* validate_update */
+  "Recovery image created",                  /* recovery_created */
+  "Recovery image invalid, update stopped",  /* recovery_invalid */
+  "Update failed",                           /* update_failed */

Review Comment:
   reworked



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to