summaryrefslogtreecommitdiff
path: root/defines.mk
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2017-08-26 05:55:29 +0200
committerChristian Pointner <equinox@spreadspace.org>2017-08-26 05:55:29 +0200
commitbbf6dff6846ea6a7e5bbd25fd57b85b7d6d59372 (patch)
tree01a80e1e1e4807c1a486f425b717504394d36e67 /defines.mk
parentadded stm8s-discovery board and some more init fixup (diff)
automatically build everyrhing from SPL for given hardware
Diffstat (limited to 'defines.mk')
-rw-r--r--defines.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/defines.mk b/defines.mk
index e8d3727..54692c1 100644
--- a/defines.mk
+++ b/defines.mk
@@ -31,6 +31,7 @@ ifeq ($(BOARD_TYPE),discovery)
endif
CC = sdcc
+PP = sdcpp
AR = sdar rcs
LIB_DIR = $(SPREADSTM8_PATH)/lib
@@ -40,6 +41,7 @@ stm8flash = $(SPREADSTM8_PATH)/contrib/stm8flash/stm8flash
## Options common to C compiler
CFLAGS = -mstm8
CFLAGS += -p$(MCU)
+CFLAGS += --funsigned-char
# CFLAGS += --opt-code-speed
# CFLAGS += --opt-code-size
CFLAGS += -I$(LIB_DIR)