Before you can compile, you will need to define your CAN messages.
The build process uses GNU Make and works with Linux (tested in Arch Linux and Ubuntu), OS X and Cygwin in Windows. For documentation on how to build for each platform, see the supported platform details.
These options are passed as shell environment variables to the Makefile, e.g.
$ DEBUG=1 make
UART - By default, UART output of OpenXC vehicle data is disabled. Set this to 1 to enable UART output.
ETHERNET - By default, TCP output of OpenXC vehicle data is disabled. Set this to 1 to enable TCP output on boards that have an Ethernet interface (only the chipKIT Max32 right now).
BOOTLOADER - By default, the firmware is built to run on a microcontroller with a bootloader, allowing you to update the firmware without specialized hardware. If you want to build to run on bare-metal hardware (i.e. start at the top of flash memory) set this to 0.
Note
When running make to compile, try adding the -j4 flag to build jobs in parallel - the speedup can be quite dramatic.
If the compilation didn’t work: