Use external print handler in riot-stm32f4 target (#1814)

Extend example code with registering the `print` function in the global object.

JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
This commit is contained in:
Robert Sipka
2017-05-11 20:46:14 +02:00
committed by Akos Kiss
parent 838e74df0f
commit 2b152f079a
3 changed files with 62 additions and 6 deletions
+2 -2
View File
@@ -37,14 +37,14 @@ CFLAGS += -DDEVELHELP
# Change this to 0 show compiler invocation lines by default:
QUIET ?= 1
INCLUDES += -I$(JERRYDIR)/jerry-core/include
INCLUDES += -I$(JERRYDIR)/jerry-core/include -I$(JERRYDIR)/jerry-ext/include
# Add the shell and some shell commands
USEMODULE += shell
USEMODULE += shell_commands
# Add the jerry libs
USEMODULE += libjerrycore libjerryport-minimal
USEMODULE += libjerrycore libjerryport-minimal libjerryext
include $(RIOTBASE)/Makefile.include