diff options
author | Christian Pointner <equinox@mur.at> | 2013-07-10 03:57:48 +0000 |
---|---|---|
committer | Christian Pointner <equinox@mur.at> | 2013-07-10 03:57:48 +0000 |
commit | 297ac49867b750bfeeeca3a354619c527468cc41 (patch) | |
tree | 25a2964671a5fa0a273dc56c5b9ac30ec0e28d17 /software/ihu/Makefile | |
parent | fixed comment (diff) |
added bootloader for IHU
git-svn-id: https://svn.spreadspace.org/mur.sat@807 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/ihu/Makefile')
-rw-r--r-- | software/ihu/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/software/ihu/Makefile b/software/ihu/Makefile index a5184a8..3b4bb1e 100644 --- a/software/ihu/Makefile +++ b/software/ihu/Makefile @@ -32,3 +32,14 @@ PROJECT := ihu PROC_TYPE := 16F887 include ../pic.include.mk + +DOWNLOADER := ../pic.bootloader/downloader.py +BOOT_NAME := IHU +BOOT_BAUD := 57600 + +download: $(HEXFILE) + @$(DOWNLOADER) --name=$(BOOT_NAME) --cmd write $< + @$(DOWNLOADER) --name=$(BOOT_NAME) --cmd verify $< + +boot: + @$(DOWNLOADER) --name=$(BOOT_NAME) --cmd boot dummy |