Faketec support - #90
Conversation
Updated build target to enable privkey import/export.
…ingup for Faketec with RA01-SH.
|
So, this is still in progress? Have reviewed and can merge if you like. |
|
It should be OK, works for HT-RA62 radios and feedback is that it works for RA01sh. I just wanted to test with an RA01sh radio for myself, but haven't had a chance to build one yet. Plan to get that done this weekend, and then I'll make it as ready. |
|
Ok, confirmed working with RA01sh radio. Tested room server as well, seems to work. One last question remains, should we rename this to promicro_diy to make it more inline with MT for people who are looking to make the switch? |
|
I don't really know which name most people would recognise. I don't mind it going by the Faketec_ prefixes. I assume most people would know what that means? |
|
I think so too, it seems to be the most popular and well known board and I'm sure if people are building their own they'll have no trouble realising this is what they want. 👍 |
Faketec support
…flash base z linker symbolu RAM-assembly refaktor (rieši 2× FS pri veľkých patchoch): - ota_acquire_patch_ram(): patch do čerstvo malloc-nutého RAM buffra; default zostaví z recv.log (assemble_log_to_buf: build_log_offsets + chunk_exp_len), -D USE_PATCHBIN_FILE číta /ota/patch.bin. Caller free(). - assemble_and_verify() pri COMPLETE: default verify_log_sha() = SHA256 streamovo z recv.log (žiadny patch.bin, žiadny veľký buffer); USE_PATCHBIN_FILE = patch.bin + over + zmaž recv.log (cleanup, rieši 2× v file móde). - dry-run (ota_patch_to_file) aj real (ota_flash_via_flasher) cez ota_acquire_patch_ram → puff_stream / MemStream nad RAM buffrom. patch_file_read ostal unused. - malloc zlyhanie = graceful error s tipom na -D USE_PATCHBIN_FILE. Tier-2 (deštruktívny assemble do 0x20000000) NEIMPLEMENTOVANÝ (risk/netestovateľné). fw_image_size(): base z linker symbolu __flash_arduino_start (= ORIGIN(FLASH)) namiesto hardcoded APP_FLASH_START → robustné pre v6/v7. Tvrdý symbol (žiadny weak fallback) — ak chýba (non-Arduino projekt), link error = fail-fast, zámerne. APP_FLASH_START/MAX makrá ostávajú pre compile-time kontexty. E2E PASS na HW: build meshcore-dev#90→meshcore-dev#91, dry-run aj real flash z recv.log→RAM, dry-run pred flashom bez hardfaultu. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Support for Faketec DIY devices, with either HT-RA62 or RA01sh radios.
-che