anounce alternate flashing method
This commit is contained in:
parent
b25024e71f
commit
d9e7ceffbd
|
@ -82,7 +82,7 @@ uint8_t const * tud_descriptor_device_cb(void)
|
||||||
//--------------------------------------------------------------------+
|
//--------------------------------------------------------------------+
|
||||||
|
|
||||||
// Number of Alternate Interface (each for 1 flash partition)
|
// Number of Alternate Interface (each for 1 flash partition)
|
||||||
#define ALT_COUNT 1
|
#define ALT_COUNT 2
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
|
@ -123,7 +123,8 @@ char const* string_desc_arr [] =
|
||||||
"CuVoodoo", // 1: Manufacturer
|
"CuVoodoo", // 1: Manufacturer
|
||||||
"ESP32-S2 DFU", // 2: Product
|
"ESP32-S2 DFU", // 2: Product
|
||||||
"", // 3: Serials, should use chip ID
|
"", // 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];
|
static uint16_t _desc_str[32];
|
||||||
|
|
Loading…
Reference in New Issue