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 -1
View File
@@ -42,9 +42,10 @@ libjerry:
-DEXTERNAL_COMPILE_FLAGS="$(EXT_CFLAGS)" \
-DMEM_HEAP_SIZE_KB=$(JERRYHEAP)
make -C$(BUILD_DIR) jerry-core jerry-port-default-minimal
make -C$(BUILD_DIR) jerry-core jerry-port-default-minimal jerry-ext
cp $(BUILD_DIR)/lib/libjerry-core.a $(COPYTARGET)/libjerrycore.a
cp $(BUILD_DIR)/lib/libjerry-port-default-minimal.a $(COPYTARGET)/libjerryport-minimal.a
cp $(BUILD_DIR)/lib/libjerry-ext.a $(COPYTARGET)/libjerryext.a
riot-jerry: libjerry