Merge branch 'master' into develop

This commit is contained in:
Ha Thach
2020-03-24 12:16:15 +07:00
committed by GitHub
59 changed files with 967 additions and 22184 deletions

View File

@@ -3,10 +3,12 @@
#
# Compiler
ifeq ($(BOARD), fomu)
CROSS_COMPILE = riscv-none-embed-
ifeq ($(BOARD), msp_exp430f5529lp)
CROSS_COMPILE = msp430-elf-
else ifeq ($(BOARD), fomu)
CROSS_COMPILE = riscv-none-embed-
else
CROSS_COMPILE = arm-none-eabi-
CROSS_COMPILE = arm-none-eabi-
endif
CC = $(CROSS_COMPILE)gcc
CXX = $(CROSS_COMPILE)g++
@@ -72,7 +74,6 @@ CFLAGS += \
-Wsign-compare \
-Wmissing-format-attribute \
-Wno-deprecated-declarations \
-Wnested-externs \
-Wunreachable-code \
-ffunction-sections \
-fdata-sections