summaryrefslogtreecommitdiff
path: root/software/ihu/Makefile
diff options
context:
space:
mode:
authorChristian Pointner <equinox@mur.at>2013-07-10 23:07:07 +0000
committerChristian Pointner <equinox@mur.at>2013-07-10 23:07:07 +0000
commite7ec3a63d31f6de28e00d67f2e3f7d100f84b046 (patch)
tree87420e193191b83c040f5379e0f6d6be519fcd28 /software/ihu/Makefile
parentupgraded 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/Makefile7
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