From d9e7ceffbd26d0afd891f25d442f9ac2572515cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Mon, 24 Oct 2022 16:22:44 +0200 Subject: [PATCH] anounce alternate flashing method --- examples/device/dfu_freertos/src/usb_descriptors.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/device/dfu_freertos/src/usb_descriptors.c b/examples/device/dfu_freertos/src/usb_descriptors.c index bafe96bd6..496bc8dc7 100644 --- a/examples/device/dfu_freertos/src/usb_descriptors.c +++ b/examples/device/dfu_freertos/src/usb_descriptors.c @@ -82,7 +82,7 @@ uint8_t const * tud_descriptor_device_cb(void) //--------------------------------------------------------------------+ // Number of Alternate Interface (each for 1 flash partition) -#define ALT_COUNT 1 +#define ALT_COUNT 2 enum { @@ -123,7 +123,8 @@ char const* string_desc_arr [] = "CuVoodoo", // 1: Manufacturer "ESP32-S2 DFU", // 2: Product "", // 3: Serials, should use chip ID - "ota0", // 4: DFU Partition 1 + "app (erase all)", // 4: DFU Partition (erase the complete partition, slow) + "app (overwrite)", // 5: DFU Partition (just overwrite new data, fast) }; static uint16_t _desc_str[32];