Skip to content

Commit 004b958

Browse files
committed
updated README
1 parent 3f77766 commit 004b958

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# openhaystack_moko
22
This 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

apps/firmware/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,15 @@ Flash the firmware
6060
```
6161
nrfjprog -f nrf52 --recover; while [ $? != 0 ]; do nrfjprog -f nrf52 --recover; done;
6262
nrfjprog -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
```

0 commit comments

Comments
 (0)