platformio / platform-atmelavr

Atmel AVR: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/atmelavr
Apache License 2.0
136 stars 104 forks source link

Moteinomega fails to build (fatal error: pins_arduino.h: No such file or directory) #187

Closed karioja closed 4 years ago

karioja commented 4 years ago

Simple Blink.ino fails to build on moteinomega

/home/karioja/.platformio/packages/framework-arduino-avr/cores/arduino/Arduino.h:257:26: fatal error: pins_arduino.h: No such file or directory
[env:moteinomega]
platform = atmelavr
framework = arduino
board = moteinomega
upload_port = /dev/ttyUSB0
Updating tool-scons                      @ 2.20501.191222 [Up-to-date]

Platform Manager
================
Platform Atmel AVR
--------
Updating atmelavr                        @ 2.0.0          [Up-to-date]
Updating framework-arduino-avr           @ 5.0.0          [Up-to-date]
Updating toolchain-atmelavr              @ 1.50400.190710 [Up-to-date]

Library Manager
===============
Library Storage: /home/karioja/.platformio/lib
You're up-to-date!
PlatformIO 4.3.0 is currently the newest version available.
karioja commented 4 years ago

Workaround is to force atmelavr@1.5.0

platform = atmelavr@1.5.0