...
Code Block |
---|
{ "ext":false, "rtr":false, "canid":123, "dlc":5, "data":[1,2,3,4,5]} } |
Set Up and Generating the DBC File
Code Block |
---|
# You may need to be root or use "sudo" to run these commands # Update packages and install dependency packages for services apt-get update \ && apt-get dist-upgrade -y \ && apt-get clean \ && echo 'Finished installing dependencies' # Install packages apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ clang-format \ git \ golang-go \ golang-goprotobuf-dev \ protobuf-compiler \ python-pip \ && rm -rf /var/lib/apt/lists/* # Clone and install project dependencies git clone https://github.com/uw-midsun/codegen-tooling-xiv.git \ && cd codegen-tooling-xiv \ && pip install -r requirements.txt # Generate DBC and templates cd codegen-tooling-xiv \ && make gen \ && make gen-dbc |