Yesterday I finally got the WolfSSL client (ported my @cermak) connected to AWS IoT. It’s not a stable connection yet, but I’ll post the file back to Rob’s repository as soon as it’s working as it should. My biggest hurdle right now is finding space to run any kind of application. Thanks to @peekay123 I now know exactly how much memory I have available on Photon/P1 and it’s not a lot given that WolfSSL takes up 118Kb.
I’m compiling locally and I’m now inspecting my .map file for ideas of how to free more memory to make this useful. Looking at the .map file there are several classes related to float handling that I don’t think I need.
For example - libgcc links “arm_addsubdf3.o” with methods named “floatdidf”,“aeabi_ui2d”, “floatunsidf” and a host of other large items. I presume this is for handling addition, subtraction but several of them seem to involve specific routines for Floats and I’m pretty sure that I can survive without that. How would I go about removing it? Are there any flags I can set to save memory?