diff options
author | Christian Pointner <equinox@spreadspace.org> | 2017-08-31 01:21:54 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2017-08-31 01:21:54 +0200 |
commit | dbb8ce2c63e8fa8ba351e13f6702853aa6b08ab5 (patch) | |
tree | f4186a4dc4c84bf8cfebfdd9de6f28f1f682d432 /contrib | |
parent | added stm8-serial-flasher (diff) |
stm8_serial_flasher is now stm8gal
added new board devminimum (aka little blue stm8s dev board from ali express)
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/Makefile | 26 |
1 files changed, 21 insertions, 5 deletions
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 <http://www.gnu.org/licenses/>. ## -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 |