ESP8266: NodeMCU Custom Build

My colleague Marcel recently developed a web based tool that lets you choose the modules which will be compiled into the NodeMCU build. This saves you the trouble to setup your own build server with tool chain and can save you a lot of space on the LUA heap, depending on how many modules you need to run your code: http://frightanic.com/nodemcu-custom-build/

Marcel’s NodeMCU Custom Build

You select all the modules you need, enter your email address so you can be notified with the download link once the build has finished. The email will come with two links, one for the integer build and one for the build coming with floating point Math.

Curious on how much space on the heap this can save you I compared the current default build, downloaded from NodeMCU’s github page with a very minimalistic 7 module build (recommended default in the tool). The values come from a brand new NodeMCU Dev Kit V1.0 (the updated version) by sending =node.heap() directly after a clean start:
  • Original Build: 20744 bytes
  • Custom Build with 7 (default) modules: 26152 bytes 
This means a difference of more than 5kb! This can be a welcome difference for a big project…
Now a beer! Did you like this post? It often takes me several hours of my free time to write one. If I was your neighbour would you offer me a beer for the hard work I did for you? The beauty is: beers can be teletransported with a painless donation using Paypal. A beer in a Swiss bar costs about USD $4.80. Or use this affiliate link if you order something on Banggood and I'll get a small kickback. Thank you!
Related:  ESP8266 Peripherals: KY-040 Rotary Encoder