-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Meshtastic build manifest #8248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
7498e6a to
8d09c2e
Compare
|
|
a48db7b to
a608877
Compare
ee6ea4b to
4fd74ee
Compare
5967efc to
c4415c5
Compare
00a04da to
b5cfd68
Compare
2abe5c0 to
fa04940
Compare
2dd6436 to
9507b16
Compare
|
❗ DO NOT merge this until @thebentern is ready to implement support in the Flasher ❗ |
4747aaf to
030e724
Compare
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 )? |
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 }