Version: | 6.0-dev |
---|---|
Web: | http://openxcplatform.com |
Documentation: | http://vi-firmware.openxcplatform.com |
Source: | http://github.com/openxc/vi-firmware |
Keywords: | vehicle, openxc, embedded |
--
The OpenXC vehicle interface (VI) firmware runs on an Arduino-compatible microcontroller connected to one or more CAN buses. It receives either all CAN messages or a filtered subset, performs any unit conversion or factoring required and outputs a generic version to a USB interface.
For more documentation, see the vehicle interface section on the OpenXC website or the vehicle interface documentation.
For the full build instructions, see the documentation.
The basics to compile the firmware from source:
Clone the vi-firmware repository (don't download the ZIP file, it won't work):
$ git clone https://github.com/openxc/vi-firmware
Run the bootstrap.sh
script:
$ cd vi-firmware vi-firmware $ script/bootstrap.sh
Use the passthrough configuration to generate an implementation of signals.h
and save it as signals.cpp
:
vi-firmware $ openxc-generate-firmware-code -m passthrough.json > signals.cpp
Compile it! By default this will compile for the Ford reference VI
(the environment variable PLATFORM=FORDBOARD
):
vi-firmware $ make
Copyright (c) 2012-2014 Ford Motor Company
Licensed under the BSD license.
This repository includes links to other source code repositories (as git submodules) that may be distributed under different licenses. See those individual repositories for more details.