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

Tone.cpp stops compile when TCCR0A/TCCR0B defined and WGM01 not defined #2923

Closed
jipp opened this issue Apr 6, 2015 · 3 comments
Closed

Comments

@jipp
Copy link
Contributor

jipp commented Apr 6, 2015

In case using an own pins_arduino.h for the ATtiny861 the compile stops in Tone.cpp.

This can be avoided adding an additional "#if defined" statement which catches the case of undefined WGM01:

Tone.cpp line 154:

if defined(TCCR0A) && defined(TCCR0B)

->

if defined(TCCR0A) && defined(TCCR0B) && defined(WGM01)

@q2dg
Copy link

q2dg commented Apr 6, 2015

Is there any support to this microcontroller??
https://code.google.com/p/arduino-tiny/issues/detail?id=64

@jipp
Copy link
Contributor Author

jipp commented Apr 7, 2015

adding the above mentioned would allow to compile the sketch for the attiny861/461/261 using arduino ide 1.6.x:

damellis/attiny#18

@facchinm
Copy link
Member

Closed by merging #2972

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

3 participants