SpenceKonde / ATTinyCore

Arduino core for ATtiny 1634, 828, x313, x4, x41, x5, x61, x7 and x8
Other
1.53k stars 302 forks source link

Support for Arduino IDE 2 #742

Closed igo closed 1 year ago

igo commented 1 year ago

Hi, is there any plan for supporting Arduino IDE 2? Trying on M1 Mac just to compile blink example for attiny85 and got error:

Error resolving FQBN: getting build properties for board ATTinyCore:avr:attinyx5opti: invalid option 'LTO'
Compilation error: Error resolving FQBN: getting build properties for board ATTinyCore:avr:attinyx5opti: invalid option 'LTO'

After disabling LTO in menu I got:

Error resolving FQBN: getting build properties for board ATTinyCore:avr:attinyx5opti: invalid value '8internal' for option 'clock'
Compilation error: Error resolving FQBN: getting build properties for board ATTinyCore:avr:attinyx5opti: invalid value '8internal' for option 'clock'

After trying to change frequency to 1Mhz and disabling LOT I got:

Error resolving FQBN: getting build properties for board ATTinyCore:avr:attinyx5opti: invalid option 'TimerClockSource'
Compilation error: Error resolving FQBN: getting build properties for board ATTinyCore:avr:attinyx5opti: invalid option 'TimerClockSource'
SpenceKonde commented 1 year ago

Not in the near future. 2.0 ide has many problems right now and first we need to get version 2.0.0 of the core out in general. Hopefully by then the bugs in ide 2.0 will have been fixed.


Spence Konde Azzy’S Electronics

New products! Check them out at tindie.com/stores/DrAzzy GitHub: github.com/SpenceKonde ATTinyCore: Arduino support for almost every ATTiny microcontroller Contact: @.***

On Sat, Jan 14, 2023, 00:33 Igor Urminček @.***> wrote:

Hi, is there any plan for supporting Arduino IDE 2? Trying on M1 Mac just to compile blink example for attiny85 and got error:

Error resolving FQBN: getting build properties for board ATTinyCore:avr:attinyx5opti: invalid option 'LTO' Compilation error: Error resolving FQBN: getting build properties for board ATTinyCore:avr:attinyx5opti: invalid option 'LTO'

After disabling LTO in menu I got:

Error resolving FQBN: getting build properties for board ATTinyCore:avr:attinyx5opti: invalid value '8internal' for option 'clock' Compilation error: Error resolving FQBN: getting build properties for board ATTinyCore:avr:attinyx5opti: invalid value '8internal' for option 'clock'

After trying to chnging frequesncy to 1Mhz and disabling LOT I got:

Error resolving FQBN: getting build properties for board ATTinyCore:avr:attinyx5opti: invalid option 'TimerClockSource' Compilation error: Error resolving FQBN: getting build properties for board ATTinyCore:avr:attinyx5opti: invalid option 'TimerClockSource'

— Reply to this email directly, view it on GitHub https://github.com/SpenceKonde/ATTinyCore/issues/742, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTXEWZG434YZ5W3GQBMT6DWSI3CPANCNFSM6AAAAAAT3CVV64 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

hmeijdam commented 1 year ago

I suspect I will be on IDE 1.x for a loooooong time.. 2.0 IDE does not even have a portable function, so having multiple IDE versions/variants ( I have 14 of them) is not possible.

SpenceKonde commented 1 year ago

This sounds like a bug in 2.0.x of the IDE, and like it isn't picking up ANY menu options from boards.txt. That's not our bug.