[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: dsPIC33F Lua support (Was: Advocating Lua on an embedded systems fair)
- From: RJP Computing <rjpcomputing@...>
- Date: Mon, 9 Feb 2009 12:44:38 -0500
On Mon, Feb 9, 2009 at 12:41 PM, Bogdan Marinescu <firstname.lastname@example.org> wrote:
Good to know, thanks!
On Mon, Feb 9, 2009 at 7:37 PM, Doug Currie <email@example.com>
The C30 compiler (based on gcc) from Microchip for dsPIC33 and PIC24H knows to keep const data in flash. It can even avoid the "Harvard blues" by mapping a big chunk (32 Kbytes) of data address space to flash using a PSVPAG (Program Space Visibility) register. The compiler will manage the PSVPAG register for you, or let you have control.
That said, I wouldn't necessarily advocate the dsPIC33 or PIC24H over ARM or AVR processors for Lua.
So has anybody got Lua to run on a dsPIC33F? If so, is there any way to see an example?