Align the RIOT target with the clang build of RIOT OS (#2477)

This means cross building with clang and using short enums. Also
bump RIOT OS version to latest 2018.07.

Note: On Travis CI, clang-3.9 is used for testing. That version is
widely available, from Ubuntu 14.04 to 18.04.

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
Akos Kiss
2018-08-21 10:46:45 +02:00
committed by GitHub
parent f6ccdbdddd
commit 6e94414f9c
4 changed files with 30 additions and 17 deletions
+4 -6
View File
@@ -18,6 +18,9 @@ APPLICATION = riot_jerry
# default BOARD enviroment
BOARD ?= stm32f4discovery
# LLVM/Clang-based toolchain
TOOLCHAIN ?= llvm
# path to the RIOT base directory
RIOTBASE ?= $(CURDIR)/../RIOT
# path to the JERRYSCRIPT directory
@@ -29,11 +32,6 @@ APPDIR ?= $(JERRYDIR)/targets/riot-stm32f4/source
# path to the binary directory
BINDIR ?= $(JERRYDIR)/targets/riot-stm32f4/bin/
# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
# development process:
CFLAGS += -DDEVELHELP
# Change this to 0 show compiler invocation lines by default:
QUIET ?= 1
@@ -44,7 +42,7 @@ USEMODULE += shell
USEMODULE += shell_commands
# Add the jerry libs
USEMODULE += libjerrycore libjerryport-minimal libjerryext
USEMODULE += libjerry-core libjerry-port-default-minimal libjerry-ext
include $(RIOTBASE)/Makefile.include