delinend wrote:Eyal wrote:delinend wrote:Around 17.9K
Since you are building your own fw: I remove (#define->#undef) all unused modules in app/include/user_modules.h and gain many Ks of heap. YMMV
HTH
Hi Eyal.
Soory.. I can't build self. But I want to.. Do you know where to start? Can I use a Raspberry with GCC or do I have to use a Ubuntu? I think the best in the start, to get more Heap, is as you say to disable modules, that I'm not going to use.
The FW I have tested, was linked nicely from @Cal https://github.com/chadouming/nodemcu-firmware, and the dsleep work on that FW for me. But I have many cripts, that is to large for that FW.
Thanks and best regards
Moin,
I would avoid raspberry in this case. Too special and to slow for crosscompiling.
I assume you use windows. I don't use it so take my advice with care.
You have multiple options to build.
- compile natively under windows - there is a big thread that explains how to do that. I didn't looked into the details.
- install linux, e.g ubuntu natively - Too heavy weight for simple first playing if you don't have spare hardware and need to add it to you existing setup.
- install linux in vm: http://www.psychocats.net/ubuntu/virtualbox
- without desktop, using putty to work on the vm: https://machinelearning1.wordpress.com/ ... rough-ssh/
- or with desktop
The links I added were just from a short search on the web. They look reasonable. The putty link has some
more tips about remote working and setting up a shared folder. You may find it easier to stay away from
text editor vi in the beginning. "nano" seems to be popular.
I would go for the linux in vm using putty to start with.
You can always change later.
If there is interest in that route I can open a new thread for that and offer help for the linux part.
Cal