summaryrefslogtreecommitdiff
path: root/defines.mk
diff options
context:
space:
mode:
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)