diff options
author | Christian Pointner <equinox@mur.at> | 2013-07-10 23:07:07 +0000 |
---|---|---|
committer | Christian Pointner <equinox@mur.at> | 2013-07-10 23:07:07 +0000 |
commit | e7ec3a63d31f6de28e00d67f2e3f7d100f84b046 (patch) | |
tree | 87420e193191b83c040f5379e0f6d6be519fcd28 /software/ihu/Makefile | |
parent | upgraded pic downloader (diff) |
updated downloader for pic
git-svn-id: https://svn.spreadspace.org/mur.sat@809 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/ihu/Makefile')
-rw-r--r-- | software/ihu/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/software/ihu/Makefile b/software/ihu/Makefile index 3b4bb1e..e2de034 100644 --- a/software/ihu/Makefile +++ b/software/ihu/Makefile @@ -35,11 +35,12 @@ include ../pic.include.mk DOWNLOADER := ../pic.bootloader/downloader.py BOOT_NAME := IHU +BOOT_PORT := /dev/ttyUSB0 BOOT_BAUD := 57600 +DOWNLOADER_ARGS := --name=$(BOOT_NAME) --device=$(BOOT_PORT) --baud=$(BOOT_BAUD) download: $(HEXFILE) - @$(DOWNLOADER) --name=$(BOOT_NAME) --cmd write $< - @$(DOWNLOADER) --name=$(BOOT_NAME) --cmd verify $< + @$(DOWNLOADER) $(DOWNLOADER_ARGS) --write=$< --verify=$< boot: - @$(DOWNLOADER) --name=$(BOOT_NAME) --cmd boot dummy + @$(DOWNLOADER) $(DOWNLOADER_ARGS) --boot |