NodeMCU files are C?
Posted: Wed Jul 22, 2020 10:24 pm
Hi. Just started w/esp8266 2 days ago. . Read lot's o docs but here's my dumb question.
I flashed an esp8266 with nodemcu FW which I understand is programmed in lua.
I connect to the serial port and get a lua prompt.
And yet, I upload an example/test sketch from the interweb using Arduino IDE. That sketch is C++ file.
I realize there is a file system area in the flash as per
http://arduino.esp8266.com/Arduino/vers ... ystem.html
But how does a LUA based firmware exec a C program? I'd expect it need to be based in lua.
Is the C program compiled into a manner than the firmware can execute?
What would have been a good resource so I did not have to bother anyone here w/my q?
I flashed an esp8266 with nodemcu FW which I understand is programmed in lua.
I connect to the serial port and get a lua prompt.
And yet, I upload an example/test sketch from the interweb using Arduino IDE. That sketch is C++ file.
I realize there is a file system area in the flash as per
http://arduino.esp8266.com/Arduino/vers ... ystem.html
But how does a LUA based firmware exec a C program? I'd expect it need to be based in lua.
Is the C program compiled into a manner than the firmware can execute?
What would have been a good resource so I did not have to bother anyone here w/my q?