platformio / platform-atmelmegaavr

Atmel megaAVR: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/atmelmegaavr
Apache License 2.0
29 stars 22 forks source link

Board request for TinyCore #16

Open prosperv opened 4 years ago

prosperv commented 4 years ago

https://www.tindie.com/products/xkimi/tiny-core-32-dev-board-attiny3217/ https://www.tindie.com/products/xkimi/tiny-core-16-dev-board-attiny1616/

https://raw.githubusercontent.com/xukangmin/TinyCore/master/avr/package/package_tinycore_index.json

MCUdude commented 4 years ago

(Should be moved to the platformio/platform-atmelmegaavr repo)

MCUdude commented 3 years ago

There is no reason why these boards can't be used with megaTinyCore when support for this core is ready.

valeros commented 3 years ago

Hi @prosperv ! Could you please briefly explain the benefits of using TinyCore when there is already megaTinyCore that supports that MCUs?

MCUdude commented 3 years ago

You can find the source for TinyCore here. It's is pretty much identical to megaTinyCore (but has not been updated recently), and the only difference I've been able to find is the Arduino pin mappings in pins_arduino.h. but one can always use the PIN macros to refer to pins: digitalWrite(PIN_PA7, HIGH);.

IMO it's not a good idea to add cores to PlatformIO that's based on someone else's core, but are not under active development and aren't even that popular compared to megaTinyCore, which supports all tiny0/1's.