Minifigure-SAMD21E
Minifigure-SAMD21E copied to clipboard
64kb
We're you able to get circuitpython on 64kb? What's the smallest you think you need? They sell the same package in 32kb and 16kb. I guess I'm also curious why you redesigned this project with the SAMD21G? thanks
I was able to get it working on 64kb, but just barely. I didn't have room for any libraries or much code space after that. I did a redesign with the G such that I could simplify my board designs. I have another board that uses the SAMD51G that is much more capable. Honestly, I've put this project aside for that one as the 51G is much more capable of a chip than the 21E/G for just a little more money. The 21G also provides enough pins to add a 2MB memory chip to the board for loading more libraries and code.
yea, tell me about it. I finally got the 21E up and running with 32kB of flash in Arduino land. Fine for 8bit architecture but not for 32bit SAMD21 architecture!! About 50 lines of simple code uses 332 bytes (12%) in for the UNO but compiles over 9,000 bytes (9248 bytes (56%)) for the SAMD21E15,,
I guess there is a fair about of "fixed overhead" (an empty Zero sketch is 10k).
I wonder if the Adafruit circuit python will accept larger than a 2MB flash chip?
https://github.com/hydronics2/samd21_QFP_reference_PCB
Oh - the 2MB chip I used was based on physical size/space on the minifigure board. I used a 2mm x 3mm uson chip that maxed out at 2MB from Winbond, but there were other options around that size physically. Anything larger and the physical size of the chip went up or got really complex (BGAs) etc.