mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
The NuttX target has been problematic for some time, due to the fact that NuttX apps are built with NuttX's own libc implementation, while the default-port in JerryScript was compiled with the host libc, which caused a mismatch between the two. In order to work around this issue, most of the port implementation is already duplicated in the NuttX target's jerry_main.c. This PR adds a NuttX specific port implementation by moving the already implemented port functions from jerry_main into a separate file, adding implementation for the missing functions, and disabling the default-port in JerryScript. Co-authored-by: Marko Fabo <mfabo@inf.u-szeged.hu> JerryScript-DCO-1.0-Signed-off-by: Marko Fabo mfabo@inf.u-szeged.hu JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai dbatyai@inf.u-szeged.hu