[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Linking LuaSocket statically
- From: Martin Velek <martin.velek@...>
- Date: Fri, 30 Jul 2010 11:13:08 +0200
No,
the idea was to load all files that end with .lua from external
storage and left the ROM space for hardware drivers, etc. E.g. my
plaftorm has LPC2478 - ROM 512KB(space for program, RTOS, etc), 64KB
SRAM and 8MB SDRAM, 2GB SD card. Making some kind of program loader,
run from RAM is quite difficult to me and not neccessary.
However Mr. Cuero Bugot pointed me out that Loop package can produce
only small library/module loader without storing scripts in ROM in
binary form.
Martin
On 30 July 2010 10:50, Fabien <fleutot+lua@gmail.com> wrote:
> Do you mean you wish bytecode chunks were executed straight from ROM, rather
> than undumped to RAM first?
>
> On Fri, Jul 30, 2010 at 9:44 AM, Martin Velek <martin.velek@gmail.com>
> wrote:
>>
>> there is one drawback for microcontrollers with a small ROM memory
>> footprint. The scripts are converted into C file and placed in ROM
>> during compilation. If the device has an external storage like SD/MMC
>> card, the advantage of loading and executing scripts is lost(I mean
>> the scripts converted by the tool from loop).
>
> -- Fabien.