tools: Add UF2 identificator for ESP32-C2 and ESP32-H2

The IDs were submitted in https://github.com/microsoft/uf2/pull/59.
This commit is contained in:
Roland Dobai 2022-01-14 15:44:34 +01:00
parent f010729e74
commit 73d818eb72

View File

@ -11,9 +11,9 @@ function(__add_uf2_targets)
elseif("${target}" STREQUAL "esp32s3")
set(uf2_family_id "0xc47e5767")
elseif("${target}" STREQUAL "esp32h2")
set(uf2_family_id "0xd42ba06c") # ESP32H2-TODO: IDF-3487
set(uf2_family_id "0x332726f6")
elseif("${target}" STREQUAL "esp8684")
set(uf2_family_id "0xd42ba06c") # TODO: IDF-4257
set(uf2_family_id "0x2b88d29c")
elseif("${target}" STREQUAL "linux")
return()
else()