forked from espressif/arduino-esp32
Add Adafruit esp32s2 boards with custom bootloader, partition and upload.extra_flags (#5056)
done on behalf of @ladyada, this PR does: Add Adafruit FunHouse and upcoming Adafruit Feather Esp32s2 Update Adafruit magtag and metro esp32s2 to have tinyuf2 as factory app Also modify platform.txt as discussed in adafruit#2 + adafruit#3 + adafruit#4 to add support for Board/variant partition.csv, bootloader.bin ( priority is user sketch > variant > build.parition/boot ) upload.extra_flags to optionally flash tinyuf2 as factory application Remove duplicated parameter in running python script in linux and windows Please review and let me know if you want any changes. Notes: tinyuf2 is a uf2 bootloader for multiple platforms. For esp32s2, it is an factory app to perform uf2 firmware update.
This commit is contained in:
BIN
variants/adafruit_metro_esp32s2/bootloader.bin
Normal file
BIN
variants/adafruit_metro_esp32s2/bootloader.bin
Normal file
Binary file not shown.
11
variants/adafruit_metro_esp32s2/partitions.csv
Normal file
11
variants/adafruit_metro_esp32s2/partitions.csv
Normal file
@ -0,0 +1,11 @@
|
||||
# ESP-IDF Partition Table
|
||||
# Name, Type, SubType, Offset, Size, Flags
|
||||
# bootloader.bin,, 0x1000, 32K
|
||||
# partition table, 0x8000, 4K
|
||||
|
||||
nvs, data, nvs, 0x9000, 20K,
|
||||
otadata, data, ota, 0xe000, 8K,
|
||||
ota_0, 0, ota_0, 0x10000, 1408K,
|
||||
ota_1, 0, ota_1, 0x170000, 1408K,
|
||||
uf2, app, factory,0x2d0000, 256K,
|
||||
ffat, data, fat, 0x310000, 960K,
|
|
BIN
variants/adafruit_metro_esp32s2/tinyuf2.bin
Normal file
BIN
variants/adafruit_metro_esp32s2/tinyuf2.bin
Normal file
Binary file not shown.
Reference in New Issue
Block a user