Open beastoin opened 1 week ago
DK2 runs the same bootloader as DK1, so the OTA support in DK1 should directly be useable for DK2.
$ curl -X 'GET' \
'https://backend-dt5lrfkkoa-uc.a.run.app/v2/firmware/latest?device_model=Omi%20DevKit%202&firmware_revision=asdsad&hardware_revision=asdasd&manufacturer_name=asdasdasd' \
-H 'accept: application/json'
{"version":"v2.0.5","min_version":"v2.0.0","min_app_version":"1.0.48","min_app_version_code":"181","zip_url":"https://github.com/BasedHardware/omi/releases/download/Omi_DK2_v2.0.5/Omi_DK2_OTA_v2.0.5.zip"}%
$adafruit-nrfutil dfu genpkg --dev-type 0x0052 --application zephyr.hex dfu-package.zip
<!-- KEY_VALUE_START
release_firmware_version:v2.0.5
minimum_firmware_required:v2.0.0
minimum_app_version:1.0.48
minimum_app_version_code:181
KEY_VALUE_END -->
Currently, OTA firmware updates only support Friend (DK1) and Openglass.
Let's add support for Omi DevKit 2.
Usages
$adafruit-nrfutil dfu genpkg --dev-type 0x0052 --application zephyr.hex Omi_DK2_OTA_v2.0.5.zip
OTA
Omi_DK2_OTA_v2.0.5.zip
to the releaseTodos