I've been reasonably successful in deploying LabVIEW embedded 8.5 on a 5121e using a separate Linux based machine for my compile server. I'm trying to deploy the Autotest routines on this target to see if there are any problems with the target. I started going through the various LEP_AutoTest_TestSequence_X.vi files to see how the target communication was managed and noticed most are through a serial link. Since my serial link is connected to my compile server and not my LV development machine; I figured that having the tests write a results file and then ftp them back would work. So I've been trying to figure out how to enable file support for my linux embedded target without luck. When I attempt to recompile the RT libs with FileSupport=1; gcc reports all kinds of errors. I've read somewhere that the RT libs don't have file support for linux. Is this true? Anything in the pipeline? workarounds?
My runtime lib Makefile.sub.mk has these options (without file support enabled):
OPTS= -DCHeadless=1 -DUsesTCPDebugger=1 -Dlinux $(CMDOPTS) \
-D_Include_Scheduler -D_Include_OSScheduler -DPalm5Earlier=0 -DPosixFiles=0 \
-DNoFileSupport -DSerialSupport=1 -DFileSupport=0 -DDatalogSupport=0 \
-DSocketSupport=1
I also couln't find reference to some of these macros in the porting guide. Is there a supplementary document that details these?
Another question related to LVe that's been on my mind is; what exactly references LVDefs_plat.h? and why isn't it part of the LEP Plugins? I know the building of Run-Time Libraries depends on it, but is it also used during the course of invoking CGEN? This is just a question/issue for me since I copy the whole CCodeGen dir to another machine to do my cross compiling and its a pain trying to keep these files in sync.
Thanks
Milan