ATTinyCore icon indicating copy to clipboard operation
ATTinyCore copied to clipboard

Fixed ATtiny26 support

Open vitark opened this issue 3 years ago • 5 comments

Added ATtiny26 sections into avrdude.conf. Fixed fuses in board.txt for the MCU Refactored Clock Source+Speed menu. Refactored BrownOut Detect menu Added .gitignore

vitark avatar Aug 10 '22 20:08 vitark

Thanks but um.... boards.txt is not hand generated in 2.0.0-dev which will be 2.0.0 (the next release) it's generated by that heinous bad python file in extras/development....


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 Wed, Aug 10, 2022, 16:04 vitark @.***> wrote:

Added ATtiny26 sections into avrdude.conf. Fixed fuses in board.txt for the MCU Refactored Clock Source+Speed menu. Refactored BrownOut Detect menu Added .gitignore

You can view, comment on, or merge this pull request online at:

https://github.com/SpenceKonde/ATTinyCore/pull/713 Commit Summary

File Changes

(3 files https://github.com/SpenceKonde/ATTinyCore/pull/713/files)

Patch Links:

  • https://github.com/SpenceKonde/ATTinyCore/pull/713.patch
  • https://github.com/SpenceKonde/ATTinyCore/pull/713.diff

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

SpenceKonde avatar Aug 10 '22 22:08 SpenceKonde

I see. No problem. I did some work to make ATtiny26 workable for my project and just share the results. Maybe some part of the work will be useful for you) Thank you for the project.

vitark avatar Aug 11 '22 10:08 vitark

BTW: I able to put that changes in the python generator, and provide new PR. Should I do it?

vitark avatar Aug 11 '22 10:08 vitark

Oh hell yes you should <3 <3 <3

SpenceKonde avatar Aug 14 '22 21:08 SpenceKonde

Hello @SpenceKonde Changes for ATtiny26 were added to the generator. Due to ATtiny26 not same as other MCUs, especially clocking and BOD stuff, I have added additional options to the script:

  • notunedclocks -- disable generation of clocks defaults (tunedclocks and tune8stdclk). Only defined in "internalclock" will be used.

  • bodmenu -- provides the possibility to define own BOD menu instead of predefined.

Both options are optional and can be used for other MCUs or omitted.

avr/extras/development/boards.txt - generated by updated script. avr/boards.txt - copy of avr/extras/development/boards.txt

vitark avatar Aug 18 '22 13:08 vitark

HELL YES! AND YOU EVEN FIXED THE CONFIG GENERATOR TOO?

You da man!

SpenceKonde avatar Nov 24 '22 12:11 SpenceKonde