platform-atmelavr
platform-atmelavr copied to clipboard
Adafruit Trinket 5V/8MHz upload issue
Hello, I have tried using trinket5 board and setting board_build.f_cpu and board_build.f_flash to 8000000L, and I have also tried just using trinket3 since it is already 8MHz in platformio, but uploading still fails. I think this issue is related to this older one here https://github.com/platformio/platform-atmelavr/issues/24.
Here are the platformio.ini settings I have tried:
trinket5:
[env:trinket5]
platform = atmelavr
board = trinket5
framework = arduino
upload_protocol = usbtiny
board_build.f_cpu = 8000000L
board_build.f_flash = 8000000L
trinket3:
[env:trinket3]
platform = atmelavr
board = trinket3
framework = arduino
upload_protocol = usbtiny
trinket5 terminal output: https://pastebin.com/Cj9hBXhy trinket3 terminal output: https://pastebin.com/z5mQsFqR
Thanks :)