# ATTinyCore **Universal**
Arduino support for almost every classic tinyAVR device! Supports ATtiny 1634, 2313/4313, 24/44/84, 441/841, 25/45/85, 261/461/861, 87/167, 48/88, 43 and 828. Supports programming vis ISP, Serial (Optiboot - all parts with >4k flash, and all parts with 4k flash for which an 8k version is available) or VUSB (Micronucleus - where appropriate)
## State of ATTinyCore
Development of ATTinyCore is proceeding in the v2.0.0-dev branch.
**PLEASE DO NOT SUBMIT PR's AGAINST the "MASTER" BRANCH
YOUR CHANGES WILL BE LOST UPON THE NEXT RELEASE IF YOU DO
NEW CHANGES NEED TO GO INTO v2.0.0-dev** (which will be my next project after DxCore 1.3.7 release this week)
## We desperately need testing help here
**THE 2.0.0-dev branch IS NOW READY FOR PUBLIC TESTING VIA MANUAL INSTALLATION**
It i **CRITICAL** that we get as much testing done as possible because **BASICALLY NOTHING HAS BEEN TESTED**, and virtually no files are without major fundamnental changes!
*There are 272 different versions of micronucleus built (and part of the 2.0.0-dev branch now), and optiboot will dwarf that number!*
0 of those have been teted. Obviously we are leaning *very* heavily on automation of configuration generation for this release.
Half of the tinyNeoPixel speeds have had the assembly routines modified in major ways (there's no more stupid menu for the port), but they are untested. I have a TON of irons in the fire right now, and I am trying to get this out and stop delaying it and delaying it.
If you find problems with 2.0.0-dev (you can just create a "hardware" folder in your sketchbook and sync the repo to that location to nanually install - no need to do anything wacky like on my other cores), create an issue, start a discusion, or hell even just email me with info, just get the information to me somehow.
Thank you users!
## [Check it out, we have "discussions" now!](https://github.com/SpenceKonde/ATTinyCore/discussions)
Let's use that, not gitter.
### Current **strongly** recommended IDE version: 1.8.13 or later.
Users of 1.6.x versions should use caution with any board manager packages as the handling of dependency versions, at least under 1.6.9, appears to be severely broken, such that installing one packages can break others. For example, DxCore won't work if ATYTinyCore is installed on 1.6.9! - both cores correctly specify their requirements, but the IDE does not use the correct versions of the toochain. It is likely that similar bugs involving other tools also manifest here. Use 1.8.13 or similar recent version if at all possible; if you are unwilling or unable to update your main Arduino IDE version, a "portable" installation is recommended - the separate copy of IDE *with portable installation* should ensure that what you do in that version does not effect the other version - if you can't use 1.8.13, a portable 1.6.9 version will achieve the same thing, only without the other fixes and improvements that went into the IDE since then.
### [Installation](Installation.md)
### [Wiring and required external components](Wiring.md)
### [Using with Micronucleus boards](avr/extras/UsingMicronucleus.md)
### [Programming Guide](Programming.md)
### [Migration Guide - moving to ATTinyCore from a different ATtiny board package](Migration.md)
## ATtinyCore Universal
This core supports the following processors - essentially every "classic" tinyAVR processor that makes sense to use with Arduino. The modern (post-2016 release) tinyAVR parts have their own core, as there is practically zero code at the core level that can be shared with classic parts (in exchange for the cores being totally different, sketches can often be moved between these with little to no effort - not always, but often) Click the processor name for part-specific information:
* [ATtiny441, 841](avr/extras/ATtiny_x41.md) (With or without Optiboot or Micronucleus bootloader)
* [ATtiny1634](avr/extras/ATtiny_1634.md) (With or without Optiboot bootloader)
* [ATtiny87, 167](avr/extras/ATtiny_x7.md) (with or without Optiboot or Micronucleus bootloader)
* [ATtiny25, 45, 85](avr/extras/ATtiny_x5.md) (With or without Optiboot or Micronucleus bootloader)
* [ATtiny24, 44, 84](avr/extras/ATtiny_x4.md) (With or without Optiboot or Micronucleus bootloader)
* [ATtiny261, 461, 861](avr/extras/ATtiny_x61.md) (With or without Optiboot bootloader)
* [ATtiny48, 88](avr/extras/ATtiny_x8.md) (With or without Optiboot or Micronucleus bootloader)
* [ATtiny828](avr/extras/ATtiny_828.md) (With or without Optiboot bootloader)
* [ATtiny2313, 4313](avr/extras/ATtiny_x313.md) (no bootloader)
* [ATtiny43](avr/extras/ATtiny_43.md) (no bootloader)
Variants of these are also supported (such as the ATtiny1634R, ATtiny2313A or ATtiny85V)
### Non-supported parts
* [tinyAVR 0/1/2-series](https://github.com/SpenceKonde/megaTinyCore/) Modern tinyAVR (with 0, 1, or 2 as next-to-last digit) are supported by my megaTinyCore instead. They are totally different in every way except the "t-word" in the name, and the fact that they're great parts and work well with Arduino.
* [ATtiny13/13A](https://github.com/MCUdude/MicroCore/) are supported by MicroCore by @MCUdude
* ATtiny26 are not supported by any Arduino core. They are the obsolete predecessor to the '261, which itself is ancient). I will accept a PR to add support but will not use my own limited development time for such old and uninspiring parts.
* ATtiny 4/5/10/11 and any other "AVRrc" (reduced core) parts. [Try this core](https://github.com/technoblogy/attiny10core)
## Quick Gotcha list - having trouble, read these!
**Windows users must install Micronucleus drivers manually**
If you want to use Micronucleus (VUSB) boards on Windows, you must manually install the drivers - Arduino does not run "post-install" tasks for third party libraries (though I am told they recognized how nonsensical this is - a malicious core could still run whatever commands it wanted to by telling the IDE that was how to compile sketches for these boards - and will be changing this in the future. Note also that the 1.5.0 release does not include working micronucleus upload tool for Windows, this is resolved in 1.5.2.
During the install process it will print the path of a post_install.bat that it skipped running. Running that will install the drivers - it's easiest if you copy/paste it, as after installation the drivers will be located in `C:\Users\YourUserName\AppData\Local\Arduino15\packages\ATTinyCore\tools\micronucleus\2.5-azd1\` Or they can be downloaded from the following URL https://azduino.com/bin/micronucleus/Drivers-Digistump(win).zip . Unzip, run the installation batch file.
**avrdude: error: could not find USB device with vid=0x16c0 pid=0x5dc vendor=`www.fischl.de` product='USBasp'**
Vaguely recent versions of AVRdude appear to have dropped a few versions of the firmware. If this is the first time you'd installed something that triggered an update here, you may have problems with AVRdude. The solution, thankfully, is straightforward..
.
1. Download Zadig from http://zadig.akeo.ie
2. Plug in USBasp
3. Start zadig
4. Options > List all devices
5. Select USBasp from the drop down menu
6. Select libusbK(v3.0.7.0) driver
7. Click Install
**This core includes part specific documentation - click the links above for your family of chips and READ IT** These describe issues and "gotchas" specific to certain chips. Be sure to review this documentation!
**problems dynamically linking libusb-0.1 on linux** can occur if Arduino was installed through the Snap package manager. The Arduino IDE should always be installed from the tarball available from http://arduino.cc, never from a package manager.
**There is a bug in the IDE that causes compilation errors with some combinations of boards and submenu options** on 1.8.5 and earlier on Windows. The symptom of this is an error ending in something like C:\Users\yourusername\AppData\Local\Temp\arduino_build_131884/..\arduino_cache_186227\core
没有合适的资源?快使用搜索试试~ 我知道了~
ATtiny 1634、828、x313、x4、x41、x5、x61、x7 和 x8 的 Arduino 内核_C语言
共446个文件
hex:191个
h:70个
cpp:32个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 66 浏览量
2022-07-06
16:15:41
上传
评论
收藏 20.24MB ZIP 举报
温馨提示
Arduino 支持几乎所有经典的 tinyAVR 设备!支持 ATtiny 1634、2313/4313、24/44/84、441/841、25/45/85、261/461/861、87/167、48/88、43 和 828。支持 ISP、串行(Optiboot - 具有 >4k 闪存的所有部件,以及具有 8k 版本的 4k 闪存的所有部件)或 VUSB(微核 - 在适当的情况下) 该内核支持以下处理器——基本上每个“经典”tinyAVR 处理器都可以与 Arduino 一起使用。现代(2016 年后发布)tinyAVR 部件有自己的核心,因为在核心级别几乎没有代码可以与经典部件共享(为了换取核心完全不同,草图通常可以在这些部件之间移动几乎没有努力 - 并非总是如此,但经常)单击处理器名称以获取特定于部件的信息: 更多详情、使用方法,请下载后阅读README.md文件
资源推荐
资源详情
资源评论
收起资源包目录
ATtiny 1634、828、x313、x4、x41、x5、x61、x7 和 x8 的 Arduino 内核_C语言
(446个子文件)
README.adoc 1KB
README.adoc 1KB
makeall.tiny.bat 4KB
makespecial.bat 828B
omake.bat 60B
delete_merged_output.bat 38B
optiboot.c 54KB
wiring.c 49KB
wiring.c 22KB
twi.c 17KB
USI_TWI_Slave.c 11KB
USI_TWI_Master.c 11KB
pins_arduino.c 9KB
wiring_analog.c 6KB
wiring_digital.c 6KB
wiring_digital.c 5KB
WInterrupts.c 4KB
wiring_analog.c 4KB
WInterrupts.c 4KB
wiring_pulse.c 4KB
wiring_pulse.c 4KB
baudcheck.c 2KB
wiring_shift.c 2KB
wiring_shift.c 2KB
avrdude.conf 174KB
arduino-code-style.conf 4KB
Servo_ATTinyCore.cpp 42KB
Servo.cpp 42KB
tinyNeoPixel_Static.cpp 36KB
tinyNeoPixel.cpp 32KB
Wire.cpp 23KB
Tone.cpp 19KB
WString.cpp 17KB
WString.cpp 17KB
SPI.cpp 16KB
Tone.cpp 15KB
SoftwareSerial.cpp 13KB
HardwareSerial.cpp 10KB
Stream.cpp 10KB
Stream.cpp 10KB
HardwareSerial.cpp 9KB
TinySoftwareSerial.cpp 8KB
WireS.cpp 6KB
Print.cpp 6KB
Print.cpp 6KB
HardwareSerial0.cpp 3KB
HardwareSerial1.cpp 2KB
HardwareSerial3.cpp 2KB
HardwareSerial2.cpp 2KB
WMath.cpp 2KB
WMath.cpp 2KB
abi.cpp 1KB
abi.cpp 1KB
new.cpp 1KB
new.cpp 1KB
main.cpp 433B
main.cpp 352B
main.cpp 100B
schematic.fzz 7KB
.gitignore 35B
pin_defs.h 63KB
core_timers.h 38KB
SoftI2CMaster.h 21KB
SPI.h 15KB
tinyNeoPixel.h 12KB
tinyNeoPixel_Static.h 12KB
binary.h 10KB
binary.h 10KB
WString.h 10KB
WString.h 10KB
core_adc.h 10KB
Arduino.h 9KB
pins_arduino.h 9KB
core_pins.h 8KB
pins_arduino.h 8KB
pins_arduino.h 8KB
pins_arduino.h 8KB
pins_arduino.h 8KB
pins_arduino.h 8KB
USI_TWI_Slave.h 8KB
pins_arduino.h 8KB
pins_arduino.h 8KB
pins_arduino.h 7KB
pins_arduino.h 7KB
pins_arduino.h 7KB
pins_arduino.h 7KB
pins_arduino.h 7KB
Servo_ATTinyCore.h 7KB
Servo.h 7KB
Wire.h 7KB
WireS.h 6KB
Stream.h 6KB
Stream.h 6KB
EEPROM.h 6KB
core_build_options.h 6KB
wiring.h 6KB
HardwareSerial.h 5KB
SoftWire.h 5KB
wiring_private.h 5KB
wiring_private.h 5KB
共 446 条
- 1
- 2
- 3
- 4
- 5
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9149
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功