release thus can be considered "stable" even though there are no automated regression tests. dev is actively worked on and it's also where PRs should be created against. This project uses two main branches, release and dev. Use the automated custom firmware build service to get the specific firmware configuration you need, or consult the documentation for other options to build your own firmware. ĭue to the ever-growing number of modules available within NodeMCU, pre-built binaries are no longer made available. With every commit the documentation is rebuilt by Read the Docs and thus transformed from terse Markdown into a nicely browsable HTML site at.
The fact that the API documentation is maintained in the same repository as the code that provides the API ensures consistency between the two. The entire NodeMCU documentation is maintained right in this repository at /docs. For more extensive examples have a look at the /lua_examples folder in the repository on GitHub.
To give you an idea what a NodeMCU program looks like study the short snippets below. Many functions, therefore, have parameters for callback functions. The NodeMCU programming model is similar to that of Node.js, only in Lua. All of the RAM is available for read-write data! Programming Model This now enables NodeMCU developers to create Lua applications with up to 256Kb Lua code and read-only constants executing out of flash. LFS allows Lua code and its associated constant data to be executed directly out of flash-memory just as the firmware itself is executed. In July 2018 support for a Lua Flash Store (LFS) was introduced. Firmware available with or without floating point support (integer-only uses less memory).more than 70 built-in C modules and close to 20 Lua modules.Asynchronous event-driven programming model.Based on Lua 5.1.4 or Lua 5.3 but without debug, io, os and (most of the) math modules.Easy to program wireless node and/or access point.The firmware was initially developed as is a companion project to the popular ESP8266-based NodeMCU development modules, but the project is now community-supported, and the firmware can now be run on any ESP module. NodeMCU is implemented in C and is layered on the Espressif NON-OS SDK. NodeMCU is an open source Lua based firmware for the ESP8266 WiFi SOC from Espressif and uses an on-module flash-based SPIFFS file system. A Lua based firmware for ESP8266 WiFi SOC