-
-
Notifications
You must be signed in to change notification settings - Fork 795
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
Add support for ATtiny13 #636
Comments
Please re-test the latest http://docs.platformio.org/en/latest/installation.html#development-version |
Unfortunately it seems that the arduino files for the attiny13 are missing:
Programs for the ATtiny24 and 85 are compiling. After inspecting the changes in commit #0cf78c4 i found that the ATtiny was already set up for core13, but the relevant folder in ~.platformio\packages\framework-arduinoavr\cores was missing. After copying them in i was able to compile programs for the ATtiny13. Uploading also has a problem:
After the writing the new program to the flash storage avrdude reads it again to verify that the program was correctly uploaded. Since avrdude gets called with the -D option it does not erase the chip before writing to the flash storage. This results in a failed verification and upload (ATtiny doesnt run either old nor new program). Manually calling avrdude from the command line without the -D parameter works. This also shows that the generated firmware.hex file is valid and runnable on the ATtiny13. |
Did you run |
I am using the IDE, and yes i did upgrade platformio and i switched to the development version as stated in the documentation. How else would i have all the attiny entries (including attiny13) when running |
The version of framework should be 29. |
Well, when using In conclusion, everything appears to be working. Thank you ivan! |
Don't forget to update to stable release :) PlatformIO IDE 1.2.0 and CLI 2.9.0 is going to be released today. |
As requested by ivankravets on the forum (https://community.platformio.org/t/upload-to-attiny13/198) i request support for generic ATtiny13-based boards. After the addition of ATTiny24, ATTiny25, ATTiny45 and ATTiny85 in PlatformIO 2.9.0 and an existing arduino core for the ATtiny13 (https://sourceforge.net/projects/ard-core13/) this is a logical step.
The text was updated successfully, but these errors were encountered: