Hi,
I am on the look for somebody that has some experience with adding scripting capability to an application on a Coldfire.I have made a piece of hardware and written the basic functions to handle the I/O, RS-232 and LAN.
Now I will like to be able to add the possibility that the user of the hardware can change the functionality by changing a script and then upload it to the Coldfire.
I have been looking at the Lua and Pawn, but find it very hard to get it integrated and running in my application (Could be my skills, but the result remain the same ;-)).
Have any of you tried this, or do you know of any other scripting language that I can use?
Regards
Steen
------------------------------ Cremericon wrote:Have been reading the Implementer's Guide and found that the need of memory looked to be big. In the M52236 I only have 4 Kb RAM available for the Pawn. Will that do?If I remember correctly, RAM is needed mostly to store the script (plus its stack+heap.) Besides, the guide mentions that scripts could be executed out of ROM. Some functions in the implementation of Pawn do use rather big automatic variables, but they are nowhere near 4K bytes. So basically the 4K bytes of RAM mostly limits the size of scripts you can run. Depending on what you want to do, this could be enough. Just try compiling some scripts and see how much memory they need. Don't forget to trim down stack+heap size using compiler options.
Cremericon wrote:Also I find hard to se were to begin adding the Pawn to my application and find it hard to see if there are any possibilities for success!I don't know what to say. I followed the implementer's guide. Besides, Pawn's source code is sufficiently easy to understand. And there is even an 'official' support forum, although it seems rather deserted. It's a shame, really, since Pawn is such a great tool.