When building for vxWorks the compiler errors with the following:
[ 34%] Building C object apps/io_lib/CMakeFiles/io_lib.dir/fsw/src/services/trans_rs422.c.obj
/home/tbrain/habulous/apps/io_lib/fsw/src/services/trans_rs422.c: In function 'IO_TransRS422Init':
/home/tbrain/habulous/apps/io_lib/fsw/src/services/trans_rs422.c:109: error: 'SIO_HW_OPTS_SET' undeclared (first use in this function)
/home/tbrain/habulous/apps/io_lib/fsw/src/services/trans_rs422.c:109: error: (Each undeclared identifier is reported only once
/home/tbrain/habulous/apps/io_lib/fsw/src/services/trans_rs422.c:109: error: for each function it appears in.)
/home/tbrain/habulous/apps/io_lib/fsw/src/services/trans_rs422.c:109: error: 'CS8' undeclared (first use in this function)
/home/tbrain/habulous/apps/io_lib/fsw/src/services/trans_rs422.c:109: error: 'CLOCAL' undeclared (first use in this function)
/home/tbrain/habulous/apps/io_lib/fsw/src/services/trans_rs422.c:109: error: 'CREAD' undeclared (first use in this function)
make[7]: *** [apps/io_lib/CMakeFiles/io_lib.dir/fsw/src/services/trans_rs422.c.obj] Error 1
When building for vxWorks the compiler errors with the following:
[ 34%] Building C object apps/io_lib/CMakeFiles/io_lib.dir/fsw/src/services/trans_rs422.c.obj /home/tbrain/habulous/apps/io_lib/fsw/src/services/trans_rs422.c: In function 'IO_TransRS422Init': /home/tbrain/habulous/apps/io_lib/fsw/src/services/trans_rs422.c:109: error: 'SIO_HW_OPTS_SET' undeclared (first use in this function) /home/tbrain/habulous/apps/io_lib/fsw/src/services/trans_rs422.c:109: error: (Each undeclared identifier is reported only once /home/tbrain/habulous/apps/io_lib/fsw/src/services/trans_rs422.c:109: error: for each function it appears in.) /home/tbrain/habulous/apps/io_lib/fsw/src/services/trans_rs422.c:109: error: 'CS8' undeclared (first use in this function) /home/tbrain/habulous/apps/io_lib/fsw/src/services/trans_rs422.c:109: error: 'CLOCAL' undeclared (first use in this function) /home/tbrain/habulous/apps/io_lib/fsw/src/services/trans_rs422.c:109: error: 'CREAD' undeclared (first use in this function) make[7]: *** [apps/io_lib/CMakeFiles/io_lib.dir/fsw/src/services/trans_rs422.c.obj] Error 1