gustavonihei commented on a change in pull request #929:
URL: 
https://github.com/apache/incubator-nuttx-apps/pull/929#discussion_r773126229



##########
File path: examples/mcuboot/update_agent/Kconfig
##########
@@ -0,0 +1,44 @@
+#
+# For a description of the syntax of this configuration file,
+# see the file kconfig-language.txt in the NuttX tools repository.
+#
+
+config EXAMPLES_MCUBOOT_UPDATE_AGENT
+       bool "MCUboot update agent example"
+       default n
+       depends on NET_TCP
+       ---help---
+               Example application that implements an update agent that 
downloads
+               an application firmware image from a given URL and saves it to 
the
+               secondary slot as a pending update.
+
+if EXAMPLES_MCUBOOT_UPDATE_AGENT
+
+config EXAMPLES_MCUBOOT_UPDATE_AGENT_UPDATE_URL
+       string "URL for update image"
+       default ""
+
+config EXAMPLES_MCUBOOT_UPDATE_AGENT_DL_BUFFER_SIZE
+       int "Download buffer size in bytes"
+       default 512
+
+config EXAMPLES_MCUBOOT_UPDATE_AGENT_DL_VERIFY_MD5
+       bool "Calculate MD5 of update image"
+       default n
+       depends on CODECS_HASH_MD5
+
+config EXAMPLES_MCUBOOT_UPDATE_AGENT_DL_MD5_HASH
+       string "Expected MD5 sum of update image"
+       default ""
+       depends on EXAMPLES_MCUBOOT_UPDATE_AGENT_DL_VERIFY_MD5
+
+config EXAMPLES_MCUBOOT_UPDATE_AGENT_SLOT_CONFIRM
+       tristate "MCUboot slot confirm example"
+       default n
+       ---help---
+               Example application for confirming a newly installed application
+               application firmware image using MCUboot public APIs.
+               This application should be used as the OTA update package of the
+               EXAMPLES_MCUBOOT_UPDATE_AGENT example.

Review comment:
       Refer to 
https://github.com/apache/incubator-nuttx-apps/pull/929/files#r773105477
   The `Update Agent` and the `Confirm` example have no coupling between them 
and should not be considered a single example.




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to