cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
teastham
Visitor
Visitor
1,933 Views
Registered: ‎11-11-2016

Out of Memory Error Creating Lua Static Library

I am using a ZC702 dev board with Xilinx SDK 2016.3 under baremetal.  I am attempting to pull in Lua as a static library called from my main code.  I was able to get the Lua library to compile fine as a static library, but when I call the openlibs Lua gives me an out of memory panic.  I have the openlibs stripped down to just the "_G" base library, but still get the error.  I included the math library and had to create a gettimeofday function to get it to link.

 

Any advice on how to combat this memory issue?  Has anyone else attempted to get Lua to run on ARM Cortex?  I got this to run fine as a static library on a TI OMAP L138 ARM9.

 

Thanks,

Tim

 

0 Kudos
Reply
0 Replies