Remove g++ support from the [C]Make files.

Move all '.cpp' files to '.c'.
Rename comments from 'cpp' to 'c'.

JerryScript-DCO-1.0-Signed-off-by: Roland Takacs rtakacs.u-szeged@partner.samsung.com
JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
This commit is contained in:
Robert Sipka
2016-02-11 22:37:57 +01:00
parent ec5859f4e8
commit 977bfa5d2c
150 changed files with 131 additions and 166 deletions
-1
View File
@@ -44,7 +44,6 @@ jerry:
-DUSE_COMPILER_DEFAULT_LIBC=YES \
-DEXTERNAL_CMAKE_SYSTEM_PROCESSOR=arm7-m \
-DEXTERNAL_CMAKE_C_COMPILER=arm-none-eabi-gcc \
-DEXTERNAL_CMAKE_CXX_COMPILER=arm-none-eabi-g++ \
-DEXTERNAL_COMPILE_FLAGS="$(EXT_CFLAGS)" \
-DEXTERNAL_MEM_HEAP_SIZE_KB=$(JERRYHEAP)
+2 -2
View File
@@ -73,8 +73,8 @@ JerryScript led flashing sample program in js folder.
All `.js` files in `js` folder are executed, with `main.js` in first order.
`sysloop()` function in main.js is called periodically in every 100msec by
below code in `main.cpp` `jerry_loop()`, which calls `js_loop()` in
`jerry_mbedk64f.cpp`
below code in `main.c` `jerry_loop()`, which calls `js_loop()` in
`jerry_mbedk64f.c`
```
minar::Scheduler::postCallback(jerry_loop)