ATmegaxxM1-C1 icon indicating copy to clipboard operation
ATmegaxxM1-C1 copied to clipboard

Warning: Board ATmegaM1-C1:avr:CanDuino doesn't define a 'build.board' preference

Open sebashb opened this issue 4 years ago • 1 comments

Hi I'm trying to use these board files to upload a blank sketch to the ATmega32M1 but I'm getting the following error:

Warning: Board ATmegaM1-C1:avr:CanDuino doesn't define a 'build.board' preference. Auto-set to: AVR_CANDUINO
fork/exec ~/Library/Arduino15/packages/arduino/tools/avr-gcc/4.8.1-arduino5/bin/avr-g++: bad CPU type in executable
Error compiling for board ATmegaxxM1/C1.

Arduino IDE Version: 1.8.12 macOS Version: 10.15.4

This is my board configuration: image

And finally programmer is a Polulu USB AVR Programmer V2.

sebashb avatar Apr 30 '20 20:04 sebashb

I have just tested on Windows and everything works fine. On macOS the board files are completely broken. avr-g++ returns bad CPU type.

sebashb avatar May 01 '20 02:05 sebashb