From dbb8ce2c63e8fa8ba351e13f6702853aa6b08ab5 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 31 Aug 2017 01:21:54 +0200 Subject: stm8_serial_flasher is now stm8gal added new board devminimum (aka little blue stm8s dev board from ali express) --- contrib/Makefile | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) (limited to 'contrib') diff --git a/contrib/Makefile b/contrib/Makefile index 8e94812..79f730a 100644 --- a/contrib/Makefile +++ b/contrib/Makefile @@ -20,9 +20,11 @@ ## along with spreadspace stm8 utils. If not, see . ## -all: download-spl update-stm8flash update-stm8_serial_flasher +all: download-spl update-stm8flash update-stm8gal doxygen := $(shell which doxygen) +clean: clean-spl clean-stm8flash clean-stm8gal + download-spl: stsw-stm8069.zip stsw-stm8069.zip: @@ -30,6 +32,11 @@ stsw-stm8069.zip: unzip $@ cd STM8S_StdPeriph_Lib; patch -p1 < ../STM8_SPL_v2.2.0_SDCC.patch; $(doxygen) +clean-spl: + rm -rf STM8S_StdPeriph_Lib + rm -f stsw-stm8069.zip + + .stm8flash.prepared: git clone https://github.com/vdudouyt/stm8flash.git touch $@ @@ -37,9 +44,18 @@ stsw-stm8069.zip: update-stm8flash: .stm8flash.prepared cd stm8flash; git pull; make -.stm8_serial_flasher.prepared: - git clone https://github.com/gicking/STM8_serial_flasher.git +clean-stm8flash: + rm -rf stm8flash + rm -f .stm8flash.prepared + + +.stm8gal.prepared: + git clone https://github.com/gicking/STM8gal.git touch $@ -update-stm8_serial_flasher: .stm8_serial_flasher.prepared - cd STM8_serial_flasher; git pull; make +update-stm8gal: .stm8gal.prepared + cd STM8gal; git pull; make + +clean-stm8gal: + rm -rf STM8gal + rm -f .stm8gal.prepared -- cgit v1.2.3