More memory for arduino sketches?

Hello

Finally got my yun on the internet using pusher after a whole day figuring it out :smiley:

But now. Can it really be true that a board which so much focus on web connection doesn't have more than 28KB to run programs? What are my options? (was running on a MEGA before)

Best, pakken!

hi pakken

so far iam with you.
It is realy not to much place to write sketches.
Iam working on a small handshake sketch to handle the Arduino pins from the linino side with php.

but faster singnals from input may be a problem.
i have no idea to handle this.

Damn, really hoped for at quick fix. My project is to large, and I need to handle too much JSON for 32KB. And I am really careful with memory. Right now for a very simple sketch with Bridge, YunClient and PusherClient (10KB), I'm completely f*cked :frowning: It's not possible to get some more memory using I2C or something with the mega or another UNO?

Do you have a lot of small methods passing complex types as parameters?
Using pointers could improve.

The Arduino YUN has 32K of flash, and the application I plan to run on it is 42K and growing; is it possible to put my application on the Linux microprocessor since it has 16M flash?

This the approach several people are taking. Put most of work on the linino. Check out this thread Program in the sketch side vs program in the linino side... - Arduino Yún - Arduino Forum

Agree. Put as much as you can on the linux side (using python usually means less and simpler code) and leave your sketch to deal with sensors/actuators

So, it seems I have to learn another language..