File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# openhaystack_moko
22This is an internal project for SpaceInvaders to create a OpenHaystack compatible device on a Moko M1 and Moko M2 devices.
33
4+ Currently this firmware is compatible with the following models:
5+ Moko M1-PNDA
6+ Moko M2-PNDA-HA
7+
8+ This firmware support DFU updating, this way you can generate tags and deploy them over the air.
9+
410## Setting up
511
612### Get submodules
Original file line number Diff line number Diff line change @@ -60,4 +60,15 @@ Flash the firmware
6060```
6161nrfjprog -f nrf52 --recover; while [ $? != 0 ]; do nrfjprog -f nrf52 --recover; done;
6262nrfjprog -f nrf52 --program full_dfu.hex --reset
63+ ```
64+
65+ ### Create a DFU package
66+ Copy the firmware hex to ` dfu_images ` directory
67+ ```
68+ cp ../../firmware/build/_build/nrf52810_xxaa.hex .
69+ ```
70+
71+ Generate package
72+ ```
73+ nrfutil pkg generate --hw-version 52 --sd-req 0x0100 --application-version 1 --application nrf52810_xxaa.hex --sd-id 0x103 --key-file private.key app.zip
6374```
You can’t perform that action at this time.
0 commit comments