Skip to content

Commit

Permalink
Bootloader helper: make workspace path configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
szszszsz committed Feb 26, 2020
1 parent cbda2fb commit 5c31441
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build/gcc/dfu.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env -S make

BOOTLOADER=../../../dapboot/build/dapboot-nkpro.bin
WORKSPACE=~/work
BOOTLOADER=$(WORKSPACE)/dapboot/build/dapboot-nkpro.bin
FIRMWARE=nitrokey-pro-firmware.elf
FIRMWAREBIN=nitrokey-pro-firmware.bin

Expand Down Expand Up @@ -47,7 +48,7 @@ flash-full-single: $(SINGLE_FW)

.PHONY: activate-bootloader
activate-bootloader:
cd ~/work/libnitrokey/unittest && pytest test_pro_bootloader.py -k test_bootloader_run_pro_real -svx --run-skipped
cd $(WORKSPACE)/libnitrokey/unittest && pytest test_pro_bootloader.py -k test_bootloader_run_pro_real -svx --run-skipped

.PHONY: reset
reset:
Expand Down

0 comments on commit 5c31441

Please sign in to comment.