There’s bunch of steps to get it all working:
# set up codegen if you don't have codegen set up, else skip these steps - clone codegen repo - sudo add-apt-repository ppa:maarten-fonville/protobuf - sudo apt-get update - sudo apt-get install protobuf-compiler - sudo apt-get install virtualenv - virtualenv .venv - source .venv/bin/activate - pip install -r requirements.txt - mkdir -p genfiles - protoc -I=schema --python_out=genfiles schema/can.proto - make gen-dbc - deactivate - cp system_can.dbc ../system_can.dbc # set up protobuf-c - cd ~/shared - git clone https://github.com/protobuf-c/protobuf-c - cd protobuf-c - ./autogen.sh - ./configure - sudo apt-get install libprotoc-dev - make - sudo make install - sudo ldconfig # get mpxe requirements - cd ~shared/firmware_xiv - python3 -m pip install protobuf - python3 -m pip install python-can cantools (maybe already have it installed) - git checkout mpxe - git pull - make mpxe, then Ctrl-C a few times after it says "vcan0" some other stuff (just a few lines) - make build_all PLATFORM=x86 DEFINE=MPXE, or just build individual projects tested alternate: - make build PROJECT=mci PLATFORM=x86 DEFINE=MPXE - make build PROJECT=can_dump PLATFORM=x86 DEFINE=MPXE - make build PROJECT=controller_board_blinking_leds PLATFORM=x86 DEFINE=MPXE - make build PROJECT=pedal_board PLATFORM=x86 DEFINE=MPXE