Page 17 of 17

Re: A gamebuino "emulator" ?

PostPosted: Wed Aug 12, 2015 11:28 am
by mougino
Thanks for the quick response Deneth, I'll try that and keep you updated.

Nicolas

Re: A gamebuino "emulator" ?

PostPosted: Wed Aug 12, 2015 8:53 pm
by mougino
Well, in the end I went another direction.
I was starting to get high sram alerts after compilation so I moved stuff to PROGMEM but then I climbed to almost 30k quite spectacularly... So I chose to stick with the debug/!debug use cases but with a differential compilation instead of differential C code (i.e. using preprocessor #ifdef debug rather than if(debug)...) I was able to save 6k of flash memory this way!
So I'll keep using two different binaries and switch between the two by commenting or not the first line of my main ino: #define debug.

Nicolas