Thursday, October 1, 2020

NodeMCU - Enabling Lua 5.3

I could write this as a 1 line post, but I'm going to pad it out a little.

So, if you've ever used Lua on a NodeMCU device, like an ESP-8266, you know that it defaults to Lua 5.1. Not that there is anything wrong with that, but if you read the whitepaper, you'll see that 5.3 has some neat features. But the question I couldn't find the answer to is: How do you cause the project to compile with Lua 5.3.