summaryrefslogtreecommitdiff
path: root/defines.mk
diff options
context:
space:
mode:
Diffstat (limited to 'defines.mk')
-rw-r--r--defines.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/defines.mk b/defines.mk
index e415df7..7d15a3b 100644
--- a/defines.mk
+++ b/defines.mk
@@ -29,6 +29,14 @@ ifeq ($(BOARD_TYPE),discovery)
LED_PINNUM := 0
PROG := stm8flash
endif
+ifeq ($(BOARD_TYPE),devminimum)
+ MCU := stm8s103f3
+ SPL_MCU := STM8S103
+ LED_CNT := 1
+ LED_GPIO := GPIOD
+ LED_PINNUM := 3
+ PROG := stm8flash
+endif
CC = sdcc
PP = sdcpp
@@ -37,7 +45,7 @@ AR = sdar rcs
LIB_DIR = $(SPREADSTM8_PATH)/lib
stm8flash = $(SPREADSTM8_PATH)/contrib/stm8flash/stm8flash
-stm8_serial_flasher = $(SPREADSTM8_PATH)/contrib/STM8_serial_flasher/STM8_serial_flasher
+stm8gal = $(SPREADSTM8_PATH)/contrib/STM8gal/stm8gal
## Options common to C compiler
CFLAGS = -mstm8