floss.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
For people who care about, support, and build Free, Libre, and Open Source Software (FLOSS).

Administered by:

Server stats:

686
active users

@avolkov cool!

Yes you are right, AVR based chips are not very well supported because of the unique architecture and because they have so little memory.

Some things got fixed in the meantime though :) the error "interp: ptrtoint integer size does not equal pointer size" doesn't exist anymore (also, it's an error, not a warning: the program didn't get built).

As for the flashing error, I think -target=arduino-nano-new would have worked.

@ayke

You are right, this is an error not a warning, this post spent way too much time in drafts.

I will definitely try -target=arduino-nano-new

Is there a cheap, easily available board that is well supported by TinyGo? Would esp32 or esp8266 work better?

Thank you for all of your work on TinyGo, I really enjoyed tinkering with it.

@avolkov esp32 and esp8266 are sadly not very well supported either.

The best cheap boards are based on the rp2040, there are lots of them available. But samd21/samd51 boards also very well supported (they are usually marketed as "Zero", "M0", or "M4" by Arduino/Adafruit).

Personally I usually use a rp2040 based board if I want a simple cheap board, or nrf52 based boards if I want something with Bluetooth.