Hi everybody,
I would like to use platform.io to make programs for the Attiny13A. After doing some research i found that there is an arduino core for the tiny13 and the arduino ide can work with the attiny13A using smeezekitty’s core13 ( Core13 download | SourceForge.net and http://forum.arduino.cc/index.php/topic,89781.0.html ). I also found a thread about attiny85 with platformio (Upload to Attiny85).
My current config is as follows:
[env:mytiny13]
platform = atmelavr
framework = arduino
board = gemma
board_mcu = attiny13
upload_protocol = stk500v1
upload_flags = -P$UPLOAD_PORT -b$UPLOAD_SPEED
upload_port = /dev/ttyACM0
upload_speed = 19200
Unfortunately i can’t compile programs. I get a “PWM1B undeclared (first use in this function)” error in the pins_arduino.h for the gemma board when i try to compile. Removing the line “board = gemma” from my config results in a “This board doesn’t support arduino framework!” error.
How can i compile for an attiny13 with platformio?