I have the Arduino 1.0.1 IDE installed. It works fine. The board is an UNO R3. I installed the Code::Blocks for Arduino IDE. It has a few problems, but they can perhaps be solved with a few questions.
There is apparently a template for an Arduino project.
I see no UNO target in the list. Should I be picking something else or is there a way of adding the UNO to the list?
Selecting Simulator-Release results in an error-free build. The default compiler is GNU AVR GCC. The Blink program is default.
Which compiler should I be using?
I tried choosing a target of Duemilanove 328. The build worked.
Choosing Tools>USB Upload (flash) results in Launching tool 'USB Upload (Flash)': avrdude -C "C:\CodeBlocks\/etc/avrdude.conf" -V -patmega328p -carduino -P\\.\COMM4 -b57600 -D -Uflash:w:H:\ArduinoProjects\CBTest2\/bin\Release\CBTest2.elf.hex:i (in...
I entered the "COMM4" manually in the Project>Build Options>Custom Variable tab. The settings are as follows:
ARDUINO_DIR=$(APP_PATH)/arduino
UPLOAD_PORT=COMM4
MCU=atmega328p
Board=Arduino Duemilanove(328)
UPLOAD_BAUDRATE=57600
What am I doing wrong? What am I missing to make this work?