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

Can't find pins_arduino.h on Attiny85 #49

Open
thiakil opened this issue Jul 4, 2021 · 0 comments
Open

Can't find pins_arduino.h on Attiny85 #49

thiakil opened this issue Jul 4, 2021 · 0 comments

Comments

@thiakil
Copy link

thiakil commented Jul 4, 2021

Using Toolchain master & https://github.com/damellis/attiny (added in Arduino IDE, works fine there) I'm having a couple of issues (one easy to work around).

CMake 3.19.2 (bundled with Jetbrains CLion)

  JSON path 'packages.1.platforms.3.toolsDependencies.N' in 'ard_pkg.2'
  invalid!!!

This can be worked around by adding "toolsDependencies": [] to the package index json.

  1. The titular issue:
In file included from C:\Users\lex\Downloads\arduino-1.8.15\hardware\arduino\avr\cores\arduino\wiring_private.h:31:0,
                 from C:\Users\lex\Downloads\arduino-1.8.15\hardware\arduino\avr\cores\arduino\WInterrupts.c:33:
C:\Users\lex\Downloads\arduino-1.8.15\hardware\arduino\avr\cores\arduino\Arduino.h:258:10: fatal error: pins_arduino.h: No such file or directory
 #include "pins_arduino.h"
          ^~~~~~~~~~~~~~~~
compilation terminated.
mingw32-make.exe[3]: *** [CMakeFiles\_arduino_lib_core.dir\build.make:81: CMakeFiles/_arduino_lib_core.dir/C_/Users/lex/Downloads/arduino-1.8.15/hardware/arduino/avr/cores/arduino/WInterrupts.c.o] Error 1

The file definitely exists.

Board options:

set(ARDUINO_BOARD "ATtiny25/45/85 [avr.ATtinyX5]") # ATtiny25/45/85
set(ARDUINO_AVR_ATTINYX5_MENU_CPU_ATTINY85 TRUE) # ATtiny85
set(ARDUINO_AVR_ATTINYX5_MENU_CLOCK_INTERNAL8 TRUE) # Internal 8 MHz
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