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:
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user