lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I see they have some parts with 256k of Flash/32k of RAM, so the
answer is a definite "maybe" :) I'm not at all familiar with the dsPIC
architecture, so I can't say if the code would fit in their 256k of
RAM. Also, I'm not at all familiar with their compiler support
libraries (are they ANSI C compliant? POSIX maybe?). It depends a lot
on the toolchain (eLua will eliminate this dependency at some point in
the future by providing its own libc/libm, but probably not anytime
soon).
For the "best micro we could use part", it depends on your
requirements. If you want to do DSP, there are some very good and
cheap parts available from TI (and probably others, but I'm only
familiar with TI DPSs). If you don't need DSP, just pick an ARM or
Cortex-M3 core with at least 256k Flash/32k RAM (I'd go for 512k/64k
personally), you can probably find them as cheap as (or even cheaper
than) the dsPIC. Look here for a list of the platforms currently
supported by eLua:

http://eluaproject.net/en/Status

Best,
Bogdan

On Mon, Feb 9, 2009 at 4:23 PM, RJP Computing <rjpcomputing@gmail.com> wrote:
> Hi,
>
> I am not that familiar with embedded programming, but at my work we are
> looking into running Lua on an embedded platform we use internally at the
> company. My question is: Can Lua run on a dsPIC33F micro? If not what is the
> cheapest and best micro we could use? Any suggestions and help would be
> great. Thanks.
> --
> Regards,
> Ryan
>