Sketch Size Too Large

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
paintlax
 
Posts: 21
Joined: Sat May 03, 2014 11:00 pm

Sketch Size Too Large

Post by paintlax »

Hello all,

I am trying to build the Tamaguino project found here: https://alojzjakob.github.io/Tamaguino/

As the instructions show you have to use older versions of the libraries to get the sketch size to be small enough. I have gone ahead and done so, however, the sketch is still too big. I am using an Arduino Pro Micro Atmega32U4 5V 16MHz with a bootloader.

Are there any other small form factor boards I can try or does anyone know how to get the sketch smaller?

Thank you!

User avatar
dastels
 
Posts: 15662
Joined: Tue Oct 20, 2015 3:22 pm

Re: Sketch Size Too Large

Post by dastels »

The code looks to be fairly 8-bit specific so it will take some work to get it working on a bigger MCU like a SAMD21 on one of the "M0" boards.

It will just barely fit onto a ATmega328 so you could try a Metro Mini 328 https://www.adafruit.com/product/2590 or Feather 328P https://www.adafruit.com/product/3458. I compiled it for the latter and it took 97% of the flash.

Dave

User avatar
paintlax
 
Posts: 21
Joined: Sat May 03, 2014 11:00 pm

Re: Sketch Size Too Large

Post by paintlax »

Any work needed on the code to make it work with the feather?

User avatar
dastels
 
Posts: 15662
Joined: Tue Oct 20, 2015 3:22 pm

Re: Sketch Size Too Large

Post by dastels »

The Feather 328, no. It's essentially an UNO in feather format.

Dave

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”