Re: Building Jerryscript, Zephyr and Arduino 101


Nashif, Anas
 

Nice.
I was able to flash it on the 101, got the shell and was able to run the test..
Maybe I am missing something, but should I be able to type into JS code into the shell directly?
Every time I do this the shell hangs.

Is there some special syntax?

Anas

On 25/05/2016, 11:51, "Martinez Rodriguez, Sergio" <sergio.martinez.rodriguez(a)intel.com> wrote:

Hi there,

I am working on getting an integration with JerryScript and Zephyr for the Arduino 101 without touching any of the two build systems, similar to the other architectures and systems JS already supports.

https://github.com/sergioamr/jerryscript/tree/wip/sergio/zephyr_arduino101/targets/arduino_101

It compiles and creates a command line javascript interpreter on the Arduino 101 hardware.

I am working on getting it to run on Qemu.

It is still a wip, but before I finish the integration and send the patch to Jerryscript, could someone have a look to it?

I have to change how I link the libraries to use since I am adding them as a toolchain lib:

"Add the variable USER_LDFLAGS to allow any application to link with
any third-party static library."

I also know we are changing how we are flashing the image, so I will have to change the documentation to accommodate that fact.


Thanks,
Sergio
---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

Join devel@lists.zephyrproject.org to automatically receive all group messages.