TARGET = cantranslator

ifdef DEBUG
BOARD_TAG = mega_pic32_dbg
else
BOARD_TAG = mega_pic32
endif

ARDUINO_LIBS = chipKITCAN chipKITUSBDevice chipKITUSBDevice/utility cJSON
NO_CORE_MAIN_FUNCTION = 1
SKIP_SUFFIX_CHECK = 1

SERIAL_BAUDRATE = 115200

OSTYPE := $(shell uname)

ifndef ARDUINO_PORT
	ifeq ($(OSTYPE),Darwin)
		ARDUINO_PORT = /dev/tty.usbserial*
	else
		ARDUINO_PORT = /dev/ttyUSB*
	endif
endif

EXTRA_CXXFLAGS += -G0 -D__PIC32__

ARDUINO_MAKEFILE_HOME = libs/arduino.mk
include $(ARDUINO_MAKEFILE_HOME)/chipKIT.mk

TARGET = cantranslator

BOARD_TAG = mega_pic32

ARDUINO_LIBS = chipKITCAN chipKITUSBDevice chipKITUSBDevice/utility cJSON
NO_CORE_MAIN_FUNCTION = 1
SKIP_SUFFIX_CHECK = 1

SERIAL_BAUDRATE = 115200

OSTYPE := $(shell uname)

ifndef ARDUINO_PORT
	ifeq ($(OSTYPE),Darwin)
		ARDUINO_PORT = /dev/tty.usbserial*
	else
		ARDUINO_PORT = /dev/ttyUSB*
	endif
endif

EXTRA_CXXFLAGS += -G0 -D__PIC32__

ARDUINO_MAKEFILE_HOME = libs/arduino.mk
include $(ARDUINO_MAKEFILE_HOME)/chipKIT.mk

Remove bad board tag, used to use this in DEBUG.
Remove bad board tag, used to use this in DEBUG.
