From e7ec3a63d31f6de28e00d67f2e3f7d100f84b046 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 10 Jul 2013 23:07:07 +0000 Subject: updated downloader for pic git-svn-id: https://svn.spreadspace.org/mur.sat@809 7de4ea59-55d0-425e-a1af-a3118ea81d4c --- software/ihu/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'software/ihu/Makefile') 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 -- cgit v1.2.3