igrr / axtls-8266

axTLS port for ESP8266
Other
79 stars 33 forks source link

Decrease RAM usage. Cover case compiler not support mforce_l32 #36

Closed ADiea closed 7 years ago

ADiea commented 7 years ago

Cover case compiler not support mforce_l32 flag such as Windows UDK

ADiea commented 7 years ago

Saves around 640 Bytes of RAM for platforms where mforce_l32 flag is not used. Also, using theflag will force all read operations to be 4byte aligned so there will be a code/performance hit if the flag is used...

ADiea commented 7 years ago

More agressive saving possible (see commit 2) but additional code needed (https://github.com/SmingHub/Sming/tree/develop/Sming/Wiring/FakePgmSpace.cpp)

ADiea commented 7 years ago

@igrr any chance to merge this soon?

igrr commented 7 years ago

Cherry-picked in feed1ca, thanks for the PR!

ADiea commented 7 years ago

Ok sorry for not having more time to finish this on myself:( Thanks for the extra work