Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
369 changes: 369 additions & 0 deletions contracts/update/generated/update-contract.generated.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,369 @@
// GENERATED FILE. DO NOT EDIT.
// Source: contracts/update/update-contract.json (schema 1)
// AI: below section was generated by an AI
export const updateContract = Object.freeze({
"artifacts": [
{
"buildCommit": "0987e2665e144312f982a2363312e7f847a427eb",
"buildOffset": 65536,
"buildSourceState": "commit 0987e266 plus this commit's generated C3 contract projection",
"cppValue": 4,
"id": "athom-c3-v14-ota-application",
"kind": "application-image",
"lengthBytes": 1198128,
"path": "contracts/update/artifacts/athom-c3-v14/ota/firmware.bin",
"releaseClass": "Current",
"releaseIdentity": "ESP32-C3_ATHOM_TUBES",
"sha256": "ba953abd7f4131f5a9bc1ffed6c999a878f9070f0282c00f945328cefd1f10dc",
"targetId": "athom-c3-tubes",
"transport": "ota",
"tubesRelease": "14",
"wledBaseVersion": "16.0.1"
},
{
"buildCommit": "0987e2665e144312f982a2363312e7f847a427eb",
"buildSourceState": "commit 0987e266 plus this commit's generated C3 contract projection",
"components": [
{
"id": "bootloader",
"lengthBytes": 10608,
"offset": 0,
"sha256": "3ad906095ba135b40d0bda12e113e630cc6d3c0abef3c6347e94dcaaa6670791"
},
{
"id": "partitions",
"lengthBytes": 3072,
"offset": 32768,
"sha256": "ab7a19ebb0ea19e684687802f2d8f199225a270c6b7dd72d73e8a8876f382e73"
},
{
"id": "boot-app0",
"lengthBytes": 8192,
"offset": 57344,
"sha256": "f94c5d786a7a8fab06ac5d10e33bf37711a6697636dc037559ea19cc410a17f0"
},
{
"id": "application",
"lengthBytes": 1198128,
"offset": 65536,
"sha256": "ba953abd7f4131f5a9bc1ffed6c999a878f9070f0282c00f945328cefd1f10dc"
}
],
"cppValue": 3,
"id": "athom-c3-v14-usb-merged",
"kind": "complete-merged-image",
"lengthBytes": 1263664,
"path": "contracts/update/artifacts/athom-c3-v14/usb/merged.bin",
"releaseClass": "Current",
"releaseIdentity": "ESP32-C3_ATHOM_TUBES",
"sha256": "81a377c27696487991613c1a062264be3e4eeafed933d890bebcd63c9f1d2e93",
"targetId": "athom-c3-tubes",
"transport": "usb",
"tubesRelease": "14",
"wledBaseVersion": "16.0.1",
"writeOffset": 0
},
{
"buildCommit": "c6522acef3e954b14aad30d6f687cdb99bd1624e",
"buildOffset": 65536,
"cppValue": 2,
"id": "dig2go-v14-ota-application",
"kind": "application-image",
"lengthBytes": 1259392,
"path": "contracts/update/artifacts/dig2go-v14/ota/firmware.bin",
"releaseClass": "Current",
"releaseIdentity": "DIG2GO_TUBES",
"sha256": "bf6dc2feedb1669361471e9cc2224b1b2b1ba0e15602e58258dfde4e41569f2d",
"targetId": "quinled-dig2go",
"transport": "ota",
"tubesRelease": "14",
"wledBaseVersion": "16.0.1"
},
{
"buildCommit": "c6522acef3e954b14aad30d6f687cdb99bd1624e",
"components": [
{
"id": "bootloader",
"lengthBytes": 15936,
"offset": 4096,
"sha256": "5b6c865321f53124d9ec9467b72daa0572b4387f725051f785771447d3dab095"
},
{
"id": "partitions",
"lengthBytes": 3072,
"offset": 32768,
"sha256": "ab7a19ebb0ea19e684687802f2d8f199225a270c6b7dd72d73e8a8876f382e73"
},
{
"id": "boot-app0",
"lengthBytes": 8192,
"offset": 57344,
"sha256": "f94c5d786a7a8fab06ac5d10e33bf37711a6697636dc037559ea19cc410a17f0"
},
{
"id": "application",
"lengthBytes": 1259392,
"offset": 65536,
"sha256": "bf6dc2feedb1669361471e9cc2224b1b2b1ba0e15602e58258dfde4e41569f2d"
}
],
"cppValue": 1,
"id": "dig2go-v14-usb-merged",
"kind": "complete-merged-image",
"lengthBytes": 1324928,
"path": "contracts/update/artifacts/dig2go-v14/usb/merged.bin",
"releaseClass": "Current",
"releaseIdentity": "DIG2GO_TUBES",
"sha256": "4608ebbe3fbaa8406214e85c5e116f35d06c46ad9e703d38a797e13dc0214b91",
"targetId": "quinled-dig2go",
"transport": "usb",
"tubesRelease": "14",
"wledBaseVersion": "16.0.1",
"writeOffset": 0
},
{
"buildCommit": "02abdd5d53aeabbcb8eed1bc36b29a1c340afa44",
"buildOffset": 65536,
"buildSourceState": "commit 02abdd5d plus this commit's S3 target-only contract projection",
"cppValue": 6,
"id": "waveshare-s3-v14-ota-application",
"kind": "application-image",
"lengthBytes": 1219728,
"path": "contracts/update/artifacts/waveshare-s3-v14/ota/firmware.bin",
"releaseClass": "Current",
"releaseIdentity": "WAVESHARE_S3_TUBES_TARGET",
"sha256": "247c26185d61d75e372dc3cf91299f82f2749f85c5a4857ffbc2818a08d94ba2",
"targetId": "waveshare-s3-tubes-remote",
"transport": "ota",
"tubesRelease": "14",
"wledBaseVersion": "16.0.1"
},
{
"buildCommit": "02abdd5d53aeabbcb8eed1bc36b29a1c340afa44",
"buildSourceState": "commit 02abdd5d plus this commit's S3 target-only contract projection",
"components": [
{
"id": "bootloader",
"lengthBytes": 13792,
"offset": 0,
"sha256": "ffbbe2db78e8b5ff04ec1bfba9684acb7707c8fbbac4e8cbddabd4a881bbbfc0"
},
{
"id": "partitions",
"lengthBytes": 3072,
"offset": 32768,
"sha256": "bd52d72f689f42be90a1c1a229f35071684b92453ee9a5c9640daf39087b07d0"
},
{
"id": "boot-app0",
"lengthBytes": 8192,
"offset": 57344,
"sha256": "f94c5d786a7a8fab06ac5d10e33bf37711a6697636dc037559ea19cc410a17f0"
},
{
"id": "application",
"lengthBytes": 1219728,
"offset": 65536,
"sha256": "247c26185d61d75e372dc3cf91299f82f2749f85c5a4857ffbc2818a08d94ba2"
}
],
"cppValue": 5,
"id": "waveshare-s3-v14-usb-merged",
"kind": "complete-merged-image",
"lengthBytes": 1285264,
"path": "contracts/update/artifacts/waveshare-s3-v14/usb/merged.bin",
"releaseClass": "Current",
"releaseIdentity": "WAVESHARE_S3_TUBES_TARGET",
"sha256": "60cf631bd048c2dd6fda74fa583c2ecc3da3654a0ac2a381e51d7f4e208f3b62",
"targetId": "waveshare-s3-tubes-remote",
"transport": "usb",
"tubesRelease": "14",
"wledBaseVersion": "16.0.1",
"writeOffset": 0
}
],
"receiptVocabulary": {
"adapters": [
"easy-flash",
"p2p",
"s3"
],
"failureValues": [
"lease-expired",
"transfer-hash-mismatch",
"health-mismatch"
],
"fields": [
"sessionId",
"adapter",
"targetId",
"artifactId",
"releaseClass",
"state",
"startedAt",
"completedAt",
"transferredBytes",
"expectedSha256",
"observedSha256",
"runtimeConfigurationPreserved",
"meshRejoined",
"stable",
"failure"
],
"healthValues": [
"unproven",
"booted-and-reported"
],
"schemaVersion": 1
},
"releaseClasses": [
{
"cppValue": 1,
"id": "Legacy",
"meaning": "Positively identified pre-v14 Tubes firmware."
},
{
"cppValue": 2,
"id": "Current",
"meaning": "Positively identified Tubes v14 on the WLED 16 generation."
},
{
"cppValue": 3,
"id": "Next",
"meaning": "Positively identified Tubes v15 through Steve's future additive identity contract."
},
{
"cppValue": 0,
"id": "Unknown",
"meaning": "Identity is missing, incomplete, conflicting, or silent; never infer Legacy."
}
],
"schemaVersion": 1,
"targets": [
{
"board": "esp32-c3-devkitm-1",
"chipFamily": "ESP32-C3",
"compiledProfile": {
"buttonPin": 9,
"environment": "esp32-c3-athom_tubes",
"ledCount": 150,
"ledPin": 10,
"releaseIdentity": "ESP32-C3_ATHOM_TUBES"
},
"cppValue": 3,
"flashMode": "dio",
"flashSizeBytes": 4194304,
"hardwareFamily": "athom-esp32-c3",
"id": "athom-c3-tubes",
"partition": {
"csvPath": "tools/WLED_ESP32_4MB_1MB_FS.csv",
"otaSlots": [
{
"id": "ota_0",
"offset": 65536,
"sizeBytes": 1572864
},
{
"id": "ota_1",
"offset": 1638400,
"sizeBytes": 1572864
}
],
"sha256": "d99fde46aaccb19761d16c2b1470f9b5c8293592eb05fade81cf47384a071f44"
}
},
{
"board": "QuinLED Dig2Go",
"chipFamily": "ESP32",
"cppValue": 1,
"flashMode": "dio",
"flashSizeBytes": 4194304,
"hardwareFamily": "quinled-dig2go",
"id": "quinled-dig2go",
"partition": {
"csvPath": "tools/WLED_ESP32_4MB_1MB_FS.csv",
"otaSlots": [
{
"id": "ota_0",
"offset": 65536,
"sizeBytes": 1572864
},
{
"id": "ota_1",
"offset": 1638400,
"sizeBytes": 1572864
}
],
"sha256": "d99fde46aaccb19761d16c2b1470f9b5c8293592eb05fade81cf47384a071f44"
}
},
{
"board": "esp32-s3-devkitc-1",
"chipFamily": "ESP32-S3",
"compiledProfile": {
"environment": "waveshare_s3_tubes_target",
"releaseIdentity": "WAVESHARE_S3_TUBES_TARGET"
},
"cppValue": 2,
"flashMode": "qio",
"flashSizeBytes": 16777216,
"hardwareAcceptance": "unproven",
"hardwareFamily": "waveshare-s3-touch-amoled-2.16",
"id": "waveshare-s3-tubes-remote",
"partition": {
"csvPath": "contracts/update/partitions/WLED_ESP32S3_WAVESHARE_16MB.csv",
"otaSlots": [
{
"id": "ota_0",
"offset": 65536,
"sizeBytes": 6291456
},
{
"id": "ota_1",
"offset": 6356992,
"sizeBytes": 6291456
}
],
"sha256": "afcd596b982397fc252d1fd869085d49e5fe28eea870d7fc7ad15deb8f353e46"
}
}
],
"updateStates": [
{
"cppValue": 0,
"id": "Idle",
"terminal": false
},
{
"cppValue": 1,
"id": "TargetSelected",
"terminal": false
},
{
"cppValue": 2,
"id": "Transferring",
"terminal": false
},
{
"cppValue": 3,
"id": "AwaitingHealth",
"terminal": false
},
{
"cppValue": 4,
"id": "Healthy",
"terminal": false
},
{
"cppValue": 5,
"id": "Complete",
"terminal": true
},
{
"cppValue": 6,
"id": "Failed",
"terminal": true
}
]
});
// AI: end
8 changes: 8 additions & 0 deletions contracts/update/partitions/WLED_ESP32S3_WAVESHARE_16MB.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# ESP32-S3 16MB layout. Offsets are explicit and aligned for ESP-IDF 4.4.
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
ota_0, app, ota_0, 0x10000, 0x600000,
ota_1, app, ota_1, 0x610000, 0x600000,
spiffs, data, spiffs, 0xc10000, 0x3e0000,
coredump, data, coredump,0xff0000, 0x10000,
Loading