Unofficial notes, documentation and knowledge collected when attempting to develop applications in rust for vxworks real-time operating system.
These notes are result of an effort in a university class (https://rtime.felk.cvut.cz/psr) to explore the way how to use rust language in vxworks, both in simulator and on real hardware. Feel free to use these notes for your needs. You are most welcome and encouraged to open a pull request if you find some inaccuracies, want to document your own struggles with similar systems or just want to provide more knowledge for the future generations.
VxWorks version used in this document: vxworks-22.06
The guide is split into several following sections:
Installation - linux, including CLion support
Development machine: linux (Debian 5.10.46-4) - x86_64 Simulator: Running on the same (x86_64) machine
First Rust project that runs in the simulator
Real hardware: University development board which is based on MicroZed board with Xilinx Zynq-7000 System on Chip. The FPGA chip has integrated ARM core on the same die. We will be programming only the ARM chip. This chip can however interface with the FPGA as an external periphery, if the need arises in your project.
Real hardware compilation target: armv7-wrs-vxworks-eabihf