Adding C module to rom in eLua 0.10

Posted by grahams on
URL: http://elua-development.15.s1.nabble.com/Adding-C-module-to-rom-in-eLua-0-10-tp7578479.html

Hi All,

I'm trying to add a C module to my 0.10 eLua rom image.  I've used the instructions at http://wiki.eluaproject.net/Tutorials/cmodules as a guide but I do not understand how to add my module to the rom.  I can see that my module has been compiled and has an entry in the .map file.  When I try and access it on my development board though I get an "attempt to index global 'json' (a nil value)" error.  Can anyone point out what I've failed todo?

Thanks,

Graham.