Thank you for info.. I am playing around with the idea of making an Arduino
style device
that can be programmed with a JS style language.. Thought I could get V8 to
emit a native
ARM app..
-John Gentilin
On Tuesday, July 31, 2012 1:15:33 AM UTC-7, Jakob Kummerow wrote:
>
> V8 is not designed to run such severely constrained platforms. Basically
> it's targeted at "smartphone or better".
>
> Do you even have an operating system on that platform? AFAIK even a
> minimal embedded Linux kernel needs >=2MB of RAM to boot. Without
> modifications, V8 requires an operating system to run (Linux/OSX/Windows
> are officially supported; {Open,Free,Net}BSD and Solaris seem to work too);
> it does not have bare-metal support.
>
> Even more importantly: IIUC, the STM32 and all other ARM Cortex-M based
> chips don't support the regular ARM instruction set, which V8's ARM port
> uses. That means you'd have to create a port of the platform-specific parts
> of V8 first (which, as a rough guess, is a few man-years of work).
>
> If I had to program a chip with 200KB of RAM, I'd probably do it in C...
>
>
> On Tue, Jul 31, 2012 at 9:37 AM, John Gentilin wrote:
>
>>
>> I am trying to find out if V8 could possibly work on a smaller
>> micro-controller like the
>> STM32F4, i.e. a few MB of flash and ~200KB of Ram.. It would be nice if
>> it could emit
>> code into flash and use ram for just variable storage.. Is this journey
>> worth while or is
>> the structure depend too much on + 100MB of ram etc that you would get on
>> a bigger
>> platform ?
>>
>> -John Gentilin
>>
>>
>>
>
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users