Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sebashb opened this issue Apr 30, 2020 · 1 comment

Comments

@sebashb
Copy link

sebashb commented Apr 30, 2020

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
Copy link
Author

sebashb commented May 1, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant