Hacker News new | ask | show | jobs
by tsegers 1580 days ago
Compiling their example with the Arduino toolchain seems to fill up about 90% of an Uno's 32k flash space. I think that rules it out as usable on anything that doesn't have a larger amount than that.
2 comments

Is that an issue with Arduino? This PR [0] suggests a R/W compile is around 13k (or R/O for 5k) on an M0. I don't know if there'd be a big difference compiling for AVR though.

[0] https://github.com/littlefs-project/littlefs/pull/480

Yes, it seems like that's a good reason to switch to a better board, if this is something you're interested in using.

For example, a Raspberry Pi Pico is $4 and has 2MB. There are many other nice options from Adafruit or Teensy.

I see that the Uno R3 is a popular product on Amazon but I don't really get the appeal.

The Uno has a _giant_ ecosystem behind it going back over a decade and it's more than enough for most beginner mcu projects. That's the appeal. Other than that, it's a pretty weak chip.