diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-10-26 18:33:00 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-10-26 18:33:00 -0400 |
commit | 538d6ac3a278ae7e3f7ff55ea67c17012d063733 (patch) | |
tree | f169fda10eb1310dfa9d7063c812826bd5ede4e8 /src | |
parent | c694da37532e495e58d1e18a6ad55ad71d56f085 (diff) | |
download | kutter-538d6ac3a278ae7e3f7ff55ea67c17012d063733.tar.gz kutter-538d6ac3a278ae7e3f7ff55ea67c17012d063733.tar.xz kutter-538d6ac3a278ae7e3f7ff55ea67c17012d063733.zip |
flash_usb: Use "-s" option to specify flash offset on atsamd
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/atsamd/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atsamd/Makefile b/src/atsamd/Makefile index d856376f..658c5ad6 100644 --- a/src/atsamd/Makefile +++ b/src/atsamd/Makefile @@ -54,4 +54,4 @@ BOSSAC_OFFSET-$(CONFIG_MACH_SAMD51) := 0x4000 flash: $(OUT)klipper.bin lib/bossac/bin/bossac @echo " Flashing $< to $(FLASH_DEVICE)" - $(Q)$(PYTHON) ./scripts/flash_usb.py -t atsamd -d "$(FLASH_DEVICE)" -o $(BOSSAC_OFFSET-y) $(OUT)klipper.bin + $(Q)$(PYTHON) ./scripts/flash_usb.py -t atsamd -d "$(FLASH_DEVICE)" -s "$(BOSSAC_OFFSET-y)" $(OUT)klipper.bin |