File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
OpenHaystack/OpenHaystack/HaystackApp/Firmwares/Microbit Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11PLATFORM := nRF51822
22NRF51_SDK_PATH := $(shell pwd) /nrf51_sdk_v4_4_2_33551
33NRF51_SDK_DOWNLOAD_URL := https://developer.nordicsemi.com/nRF5_SDK/nRF51_SDK_v4.x.x/nrf51_sdk_v4_4_2_33551.zip
4- OPENHAYSTACK_FIRMWARE_PATH := $(shell pwd) /../OpenHaystack/OpenHaystack/HaystackApp/firmware.bin
4+ OPENHAYSTACK_FIRMWARE_PATH := $(shell pwd) /../../ OpenHaystack/OpenHaystack/HaystackApp/Firmwares/Microbit /firmware.bin
55
66export PLATFORM
77export NRF51_SDK_PATH
@@ -10,7 +10,7 @@ ifeq ($(DEPLOY_PATH),)
1010 DEPLOY_PATH := /Volumes/MICROBIT
1111endif
1212
13- offline-finding/build/offline-finding.bin : $(NRF51_SDK_PATH ) blessed/.git
13+ offline-finding/build/offline-finding.bin : $(NRF51_SDK_PATH ) blessed/.git offline-finding/main.c
1414 $(MAKE ) -C blessed
1515 $(MAKE ) -C offline-finding
1616
Original file line number Diff line number Diff line change 1515
1616#include "ll.h"
1717
18- #define ADV_INTERVAL LL_ADV_INTERVAL_MIN_NONCONN /* 100 ms */
18+ #define ADV_INTERVAL 2000000 /* 2 s */
1919
2020/* don't make `const` so we can replace key in compiled binary image */
2121static char public_key [28 ] = "OFFLINEFINDINGPUBLICKEYHERE!" ;
You can’t perform that action at this time.
0 commit comments