thomasonw / ATmegaxxM1-C1

Arduino IDE support files for CAN enabled Atmel AVR chips: ATmega64M1, ATmega32M1, ...
GNU Lesser General Public License v2.1
31 stars 18 forks source link

Problems getting project running under platformio #27

Open jblazeg opened 5 months ago

jblazeg commented 5 months ago

I created a new project in platformio and did as suggested

command: pio pkg install --library "thomasonw/ATmegaxxM1-C1@^1.0.4"

Resolving megaatmega1280 dependencies... Library Manager: Installing thomasonw/ATmegaxxM1-C1 @ ^1.0.4 Downloading [####################################] 100% Unpacking [####################################] 100% Library Manager: ATmegaxxM1-C1@1.0.4 has been installed

The resulting platformio.ini

[env:test] platform = atmelavr board = ATmegaxxM1-C1 framework = arduino lib_deps = thomasonw/ATmegaxxM1-C1@^1.0.4

When building I get the error: UnknownBoard: Unknown board ID 'ATmegaxxM1-C1'

I also tried as board: "ATmegaxxM1", "atmega64m1_16Mhz_xtl"