I'm facing a weird problem with my Arduino Duemilanove. I use ubuntu 13.04. Under its IDE, my code compiles and uploads under two different configurations: "Arduino Diecimila or Duemilanove w/ ATmega168" or "Arduino Nano w/ ATmega168" without any problem. However, when I try to use emacs with CEDET it does no compile and requires a specific board as one of the in boards.txt file :(. My .bashrc is below,
export ARDUINO_DIR=/usr/share/arduino export ARDMK_DIR=/usr export AVR_TOOLS_DIR=/usr export BOARD=atmega168
The Arduino.mk is present and my Makefile is below,
ARDUINO_DIR = /usr/share/arduino TARGET = proj1 ARDUINO_LIBS = MCU = atmega328p F_CPU = 16000000L ARDUINO_PORT = /dev/ttyUSB0 AVRDUDE_ARD_BAUDRATE = 57600 AVRDUDE_ARD_PROGRAMMER = arduino include /usr/share/arduino/Arduino.mk
What is happening, please? Any help highly appreciated!