SpenceKonde / megaTinyCore

Arduino core for the tinyAVR 0/1/2-series - Ones's digit 2,4,5,7 (pincount, 8,14,20,24), tens digit 0, 1, or 2 (featureset), preceded by flash in kb. Library maintainers: porting help available!
Other
564 stars 148 forks source link

Having trouble compiling with v1.1.0 - pins_arduino.h #111

Closed Aerospacesmith closed 5 years ago

Aerospacesmith commented 5 years ago

Since updating from 1.0.6 to 1.1.0, I am unable to compile any code. I get an error about pins_arduino.h not existing. Even with a blank sketch with only a setup() and loop() function, I still get the error. Downgrading to 1.0.6 resolves the problem. Clean install of 1.1.0 gives same issue. I have checked and the files do exist in the proper folders.

I get this error with any of the megaTiny chipsets selected.

Running Arduino 1.8.10 on Window 10 x64 Verbose log:

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Keanan\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Keanan\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries \\prgsrv18\users\Keanan\My Documents\Arduino\libraries -fqbn=megaTinyCore:megaavr:atxy4:chip=1604,clock=8,bodvoltage=1v8,bodmodeactive=disabled,bodmodesleep=disabled,eesave=enable,dacvref=0v55,millis=enabled,neopixelport=porta,uartpins=standard -ide-version=10810 -build-path C:\Users\Keanan\AppData\Local\Temp\arduino_build_801058 -warnings=none -build-cache C:\Users\Keanan\AppData\Local\Temp\arduino_cache_515690 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Keanan\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\Keanan\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avr-gcc.path=C:\Users\Keanan\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=C:\Users\Keanan\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5 -prefs=runtime.tools.avrdude.path=C:\Users\Keanan\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\Keanan\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -verbose C:\Users\Keanan\AppData\Local\Temp\untitled739071308.tmp\sketch_nov15b\sketch_nov15b.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Keanan\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Keanan\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries \\prgsrv18\users\Keanan\My Documents\Arduino\libraries -fqbn=megaTinyCore:megaavr:atxy4:chip=1604,clock=8,bodvoltage=1v8,bodmodeactive=disabled,bodmodesleep=disabled,eesave=enable,dacvref=0v55,millis=enabled,neopixelport=porta,uartpins=standard -ide-version=10810 -build-path C:\Users\Keanan\AppData\Local\Temp\arduino_build_801058 -warnings=none -build-cache C:\Users\Keanan\AppData\Local\Temp\arduino_cache_515690 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Keanan\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\Keanan\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avr-gcc.path=C:\Users\Keanan\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=C:\Users\Keanan\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5 -prefs=runtime.tools.avrdude.path=C:\Users\Keanan\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\Keanan\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -verbose C:\Users\Keanan\AppData\Local\Temp\untitled739071308.tmp\sketch_nov15b\sketch_nov15b.ino
Using board 'atxy4' from platform in folder: C:\Users\Keanan\AppData\Local\Arduino15\packages\megaTinyCore\hardware\megaavr\1.1.0
Using core 'arduino' from platform in folder: C:\Users\Keanan\AppData\Local\Arduino15\packages\megaTinyCore\hardware\megaavr\1.1.0
Detecting libraries used...
"C:\\Users\\Keanan\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=attiny1604 -DF_CPU=8000000L -DARDUINO=10810 -DARDUINO_attinyxy4 -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERA0 -DNO_EXTERNAL_I2C_PULLUP -DDACVREF=0 -DNEOPIXELPORT=VPORTA.OUT "-IC:\\Users\\Keanan\\AppData\\Local\\Arduino15\\packages\\megaTinyCore\\hardware\\megaavr\\1.1.0\\cores\\arduino/api/deprecated" "-IC:\\Users\\Keanan\\AppData\\Local\\Arduino15\\packages\\megaTinyCore\\hardware\\megaavr\\1.1.0\\cores\\arduino" "-IC:\\Users\\Keanan\\AppData\\Local\\Arduino15\\packages\\megaTinyCore\\hardware\\megaavr\\1.1.0\\variants\\txy4" "C:\\Users\\Keanan\\AppData\\Local\\Temp\\arduino_build_801058\\sketch\\sketch_nov15b.ino.cpp" -o nul
Alternatives for pins_arduino.h: []
ResolveLibrary(pins_arduino.h)
  -> candidates: []
In file included from C:\Users\Keanan\AppData\Local\Arduino15\packages\megaTinyCore\hardware\megaavr\1.1.0\cores\arduino/Arduino.h:178:0,

                 from C:\Users\Keanan\AppData\Local\Temp\arduino_build_801058\sketch\sketch_nov15b.ino.cpp:1:

C:\Users\Keanan\AppData\Local\Arduino15\packages\megaTinyCore\hardware\megaavr\1.1.0\cores\arduino/UART.h:28:10: fatal error: pins_arduino.h: No such file or directory

 #include "pins_arduino.h"

          ^~~~~~~~~~~~~~~~

compilation terminated.

exit status 1
Error compiling for board ATtiny1614/1604/814/804/414/404/214/204.
SpenceKonde commented 5 years ago

Looks like there was a kitting problem - a bunch of stuff is missing from the board manager branch. Will resolve tonight.