Meshtastic build manifest#8248
Conversation
7498e6a to
8d09c2e
Compare
|
|
a48db7b to
a608877
Compare
2abe5c0 to
fa04940
Compare
2dd6436 to
9507b16
Compare
|
❗ DO NOT merge this until @thebentern is ready to implement support in the Flasher ❗ |
030e724 to
23deac1
Compare
|
Hi @vidplace7 ! Just to be clear - does the regular I'm currently build something like manifest (mcu, version, enviroment and few other flags) in ci/cd and your manifest covers 80% mine :) Additionally, can you provide naming changes (like AsIs->ToBe table for different files )? |
23deac1 to
f78010c
Compare
1919394 to
74e67d8
Compare
74e67d8 to
dacde24
Compare
Naming (no more renames!)
platformio-pre.py(rather than renaming later withbuild-*.sh)firmware-$env-$versionmeshtasticdbin/to use new artifact names.zipextension inactions/upload-artifactandactions/download-artifactMeshtastic ManifestTarget! 🎯simplejson manifest for the firmware build process created viaplatformio-custom.py.pio run -e heltec-v3 -t mtjsonbuild-*.shscripts.platformio-custom.pywas getting too big)pre:step, store as acustom_platformio variable for use in the manifest later.bin/install-*andbin/update-*scripts to leverage the manifest.device-install.sh: Parse json usingjq(available in every package manager)device-install.bat: Parse json usingpowershellThe intent is to use this manifest to simplify flasher / install script board support, and to better support DIY boards (uploading zip to the flasher manually).
Examples
All examples reflect testing in my fork, which is why
"repo": "vidplace7/meshtastic-firmware"Additional examples in Artifacts at https://github.com/vidplace7/meshtastic-firmware/actions/runs/18390265721
👀 Look for
firmware-*.mt.jsonfiles.Ex
t-deck-tft:{ "version": "2.7.12.4fd74ee", "build_epoch": 1759968000, "board": "t-deck-tft", "mcu": "esp32s3", "repo": "vidplace7/meshtastic-firmware", "files": [ { "name": "firmware-t-deck-tft-2.7.12.4fd74ee.elf", "md5": "146db6494304dc1c86fcb5802ca1cb45", "bytes": 25519552 }, { "name": "firmware-t-deck-tft-2.7.12.4fd74ee.bin", "md5": "3d26cb7b38b430f1f832dd82c7bb0444", "bytes": 3518656 }, { "name": "firmware-t-deck-tft-2.7.12.4fd74ee.factory.bin", "md5": "800c35b8acaf73c2ad424b0cf0ac761b", "bytes": 3584192 }, { "name": "littlefs-t-deck-tft-2.7.12.4fd74ee.bin", "md5": "a65d67cc295107aa50ce7fbedc852a0e", "bytes": 3538944 } ], "part": [ { "name": "nvs", "type": "data", "subtype": "nvs", "offset": "0x9000", "size": "0x5000", "flags": "" }, { "name": "otadata", "type": "data", "subtype": "ota", "offset": "0xe000", "size": "0x2000", "flags": "" }, { "name": "app0", "type": "app", "subtype": "ota_0", "offset": "0x10000", "size": "0x640000", "flags": "" }, { "name": "app1", "type": "app", "subtype": "ota_1", "offset": "0x650000", "size": "0x640000", "flags": "" }, { "name": "spiffs", "type": "data", "subtype": "spiffs", "offset": "0xc90000", "size": "0x360000", "flags": "" }, { "name": "coredump", "type": "data", "subtype": "coredump", "offset": "0xFF0000", "size": "0x10000", "flags": "" } ], "has_mui": true, "has_inkhud": false }