Make sure to add the following to your project's settings.ini file:
- Add the path to
fprime-vxworkstolibrary_locations - Add to
default_cmake_optionsthe following whereFPRIME_PLATFORMis assigned to your selected platform (VxWorksin this case)VX_TARGET_TYPE=DKM FPRIME_PLATFORM=VxWorks
- Define
WIND_CC_SYSROOTin theenvironmentsection. This variable should point to your project's VxWorks Source Build (VSB).
NOTE:
VX_TARGET_TYPE,FPRIME_PLATFORM, andWIND_CC_SYSROOTare required definitions by this VxWorks toolchain.
This is an example for a project's settings.ini file that uses fprime-vxworks.
[fprime]
project_root: .
framework_path: ./lib/fprime
library_locations: ./lib/fprime-vxworks
config_directory: ./config
default_toolchain: vxworks
default_cmake_options: FPRIME_ENABLE_FRAMEWORK_UTS=OFF
FPRIME_ENABLE_AUTOCODER_UTS=OFF
VX_TARGET_TYPE=DKM
FPRIME_PLATFORM=VxWorks
[environment]
WIND_CC_SYSROOT: $HOME/projects/vxworks/vxworks-7-bsp-generator/bsp/VxWorks7-22.09-BeagleBoneBlack-Source