You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Marks a file in binary format. This means that the file contains the contents of the flash 1:1.
386
-
/// [BinOptions] can be used to define the location in flash where the file contents should be put at.
387
-
/// Additionally using the same config struct, you can skip the first N bytes of the binary file to have them not put into the flash.
383
+
/// The image format is determined by the target chip's preference, which is usually ELF.
384
+
#[default]
385
+
Target,
386
+
387
+
/// The image is in binary format. This means that the file contains the contents of the flash 1:1.
388
+
#[value(alias("binary"))]
388
389
Bin,
389
-
/// Marks a file in [Intel HEX](https://en.wikipedia.org/wiki/Intel_HEX) format.
390
+
391
+
/// The image is in Intel HEX format. For more information, see https://en.wikipedia.org/wiki/Intel_HEX
392
+
#[value(aliases(["ihex","intelhex"]))]
390
393
Hex,
391
-
/// Marks a file in the [ELF](https://en.wikipedia.org/wiki/Executable_and_Linkable_Format) format.
392
-
#[default]
394
+
395
+
/// The image is in the Executable and Linkable Format (ELF). For more information, see https://en.wikipedia.org/wiki/Executable_and_Linkable_Format
393
396
Elf,
394
-
/// Marks a file in the [ESP-IDF bootloader](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/app_image_format.html#app-image-structures) format.
395
-
/// Use [IdfOptions] to configure flashing.
397
+
398
+
/// The image is an ELF file containing an ESP-IDF bootloader compatible application. For more information, see https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/app_image_format.html#app-image-structures
399
+
#[value(aliases(["esp-idf","espidf"]))]
396
400
Idf,
397
-
/// Marks a file in the [UF2](https://github.com/microsoft/uf2) format.
401
+
402
+
/// The image is in the Universal Flash Storage (UF2) format. For more information, see https://github.com/microsoft/uf2
398
403
Uf2,
399
404
}
400
405
401
406
implFormatKind{
402
-
/// Creates a new Format from an optional string.
403
-
///
404
-
/// If the string is `None`, the default format is returned.
0 commit comments