Skip to content

Commit

Permalink
Closes #26: Update S110 download link
Browse files Browse the repository at this point in the history
  • Loading branch information
ataffanel committed Jan 7, 2019
1 parent 707a725 commit 7fa3161
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ CFLAGS += -I$(NRF51_SDK)/Include/
CFLAGS += -I$(NRF51_SDK)/Include/ble/
CFLAGS += -I$(NRF51_SDK)/Include/ble/ble_services/
CFLAGS += -I$(NRF51_SDK)/Include/ble/device_manager/
CFLAGS += -I$(NRF_S110)/s110_nrf51822_7.0.0_API/include
CFLAGS += -I$(NRF_S110)/s110_nrf51822_7.3.0_API/include
CFLAGS += -I$(NRF_S110)/Include/
CFLAGS += -I$(NRF51_SDK)/Include/app_common/
CFLAGS += -I$(NRF51_SDK)/Include/sd_common/
Expand Down Expand Up @@ -123,10 +123,10 @@ flash: $(PROGRAM).hex
-c "flash write_image erase $(PROGRAM).hex" -c "verify_image $(PROGRAM).hex" \
-c "reset run" -c shutdown

flash_s110: $(NRF_S110)/s110_nrf51822_7.0.0_softdevice.hex
flash_s110: $(NRF_S110)/s110_nrf51822_7.3.0_softdevice.hex
$(OPENOCD) -d2 -f $(OPENOCD_INTERFACE) $(OPENOCD_CMDS) -f $(OPENOCD_TARGET) -c init -c targets -c "reset halt" \
-c "nrf51 mass_erase" \
-c "flash write_image erase s110/s110_nrf51822_7.0.0_softdevice.hex" \
-c "flash write_image erase s110/s110_nrf51822_7.3.0_softdevice.hex" \
-c "reset run" -c shutdown

flash_mbs: bootloaders/nrf_mbs_v1.0.hex
Expand Down
4 changes: 2 additions & 2 deletions tools/build/download_deps
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ if [ ! -f ${sdkZip} ]; then
fi

s110Dir=${root}/s110
s110Zip=${s110Dir}/s110_nrf51822_7.0.0.zip
s110Zip=${s110Dir}/s110_nrf51822_7.3.0.zip
if [ ! -f ${s110Zip} ]; then
$(${download_cmd} ${s110Zip} http://www.nordicsemi.com/eng/nordic/download_resource/48420/8/62400196)
$(${download_cmd} ${s110Zip} https://www.nordicsemi.com/-/media/Software-and-other-downloads/SoftDevices/S110/s110nrf51822730.zip?la=en&hash=BB921F4E2B47C8BF4B87783ED0F5DC235FB70287)
unzip -q ${s110Zip} -d ${s110Dir}
fi

0 comments on commit 7fa3161

Please sign in to comment.