Skip to content

Commit

Permalink
Added compiled binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
acalatrava committed May 7, 2021
1 parent 7f5cc30 commit 8c25e00
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 0 deletions.
9 changes: 9 additions & 0 deletions apps/openhaystack-alternative/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ endif

default: all

build: clean all
mkdir -p compiled
ifeq ($(NRF_MODEL), nrf51)
mergehex -m ../../nrf5x-base/sdk/nrf51_sdk_11.0.0/components/softdevice/s130/hex/s130_nrf51_2.0.0_softdevice.hex _build/openhaystack-alternative_s130.hex -o compiled/nrf51_firmware.bin
else
mergehex -m ../../nrf5x-base/sdk/nrf51_sdk_11.0.0/components/softdevice/s132/hex/s132_nrf52_2.0.0_softdevice.hex _build/openhaystack-alternative_s132.hex -o compiled/nrf52_firmware.bin
endif


# I had some troubles to flashing the E104-BT5032A module, still not sure why, but I created this script that at least works better
# to me than "make flash". It works by trying to recover the device on a loop which it will erase all the flash contents and then
# it will programming it. You may need to unplug and plug VCC while executing this loop
Expand Down
14 changes: 14 additions & 0 deletions apps/openhaystack-alternative/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,17 @@ By default it will compile for nRF52 platform. If you want to make a firmware fo
```
NRF_MODEL=nrf51 make
```

Please keep in mind that, by default, the resulting binaries on `_build` will not include the Softdevice. You can generate a full binary by issuing

```
make build
```
or
```
NRF_MODEL=nrf51 make build
```

this command will create a full binary to be flashed on the `compiled` directory.

A compiled binary for both platforms is included for convenience.
Binary file not shown.
Binary file not shown.

0 comments on commit 8c25e00

Please sign in to comment.