Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 845 Bytes

INSTALL.md

File metadata and controls

37 lines (21 loc) · 845 Bytes

How to build an Install

This document describe how to build firmware and burn on MUXSAN can bridge

On Linux

Install AVR compiler and dependencies

sudo apt-get install gcc-avr binutils-avr avr-libc avrdude

Build

#> cd <clone repo>/leaf-can-bridge-3-port-env200/Debug

clean all win pre complied files to avoid issue like the following one dalathegreat/Nissan-LEAF-CCS#2 (comment)

#> make -f Makefile.multiOS clean

build

#> make -f Makefile.multiOS all

Burn

#> avrdude -c avrispmkII -p x32c4 -P usb -e -U flash:w:<your hex file>

NOTE: You should use the correct -c option depending on avr flasher

On OSX

Not tested, please refer to Build on Linux guide

On Window

Use Atmel Studio 7 Instructions video: https://www.youtube.com/watch?v=ecmgrjJjQGo