Hi Russel,
yes I could step forward very much with that hint, even it didn't expalin that in very details.
What I did was:
1.) Creating an DKM Project and copy the files lua.h and lua.c to it. 2.) Including the src directory to the "Build Properties" - "Paths" and setting the -mlong-calls option. 3.) Adding the missing includes at top of lua.c: #define lua_c
#ifdef __VXWORKS__ #include <taskLib.h> #include <types/vxTypesOld.h> #endif
#include "lprefix.h" ...
main(... has to be changed for Vx_Works. I also have to change the code for file input.
But so far I am happy that I could compile it and that I could execute code via it's shell.
Thanks for the hint!
Regards GRegor
Am 12.03.2018 10:07, schrieb Gregor Weissenborn:
Hi Russel,
I thank you vewrry much for your reply. I will check the discussion on "nim" and come back with my results as soon as possible.
In deed my controller only supports DKMs which makes some things more complicated often.
Regards Gregor
Am 08.03.2018 20:12, schrieb Russell Haley:
|