photon: add DOWNLOAD function to upload firmware through DFU

This commit is contained in:
Simon Piriou
2017-04-23 12:26:52 +02:00
committed by Gregory Nutt
parent a76266106a
commit e1a4e88a55
3 changed files with 43 additions and 0 deletions
+19
View File
@@ -313,6 +313,25 @@ config UIMAGE_ENTRY_POINT
hex "uImage entry point"
default 0x0
endif
menuconfig DFU_BINARY
bool "DFU binary format"
select RAW_BINARY
---help---
Create the dfu binary used with dfu-utils.
if DFU_BINARY
config DFU_BASE
hex "Address DFU image is loaded to"
config DFU_VID
hex "VID to use for DFU image"
config DFU_PID
hex "PID to use for DFU image"
endif
endmenu # Binary Output Formats