BleuLlama / TinyBasicPlus

A C implementation of Tiny Basic, with a focus on support for Arduino
406 stars 118 forks source link

Stack memory alignment & misc clean-ups #40

Open guruthree opened 6 years ago

guruthree commented 6 years ago

Apologies, when working on the previous patch, I missed that the stack needed to be aligned to 32-bit addresses, not 16-bit addresses due to the use of pointers in the stack. I've got that fixed now and I haven't been able to break it again.

I've also made some small clean-ups with respect to AVR as the default EEPROM config option and avr/pgmspace.h include do not play nice with the ESP8266. I've minor #ifdefs to help make sensible choices.

One last thing, I've tidied the comments a little bit so that the style is a little bit more consistent - this is mostly just capitalisation at the start of the comment.