Skip to content

ExcessiveMotion/controller-software

Repository files navigation

controller-software

Firmware for the motion controller. This project consists of multiple sections:

  • Controller software: The actual EM software that runs on the ZYNQ
  • Controller Firmware: All files related to generating FPGA configs that the software can later load
  • em-os: Petalinux project for building a linux image for the ZYNQ to boot

Initial project setup

Requirements

Setup (windows/linux)

1. Run the "setup project" task in VS Code (Terminal -> Run Task... -> setup project)

This will:

  • Run subst to create a new drive leading to vivado files, this is needed to keep path lengths short (windows only)
  • Create the python virtual environment
  • Install required python packages
  • Create the vivado project
  • TODO: Create the vitis project

Commiting changes

Vivado

Run the "save vivado project" task in VS Code (Terminal -> Run Task... -> save vivado project)

This will:

  • Save the vivado project to a .tcl file which is in the repo and can be committed