记录编译NodeMCU固件遇到的问题

1. 由lua51切换到lua53时遇到诸如此类报错

/opt/nodemcu-firmware/app/modules/ws2812.c:222: undefined reference to `luaL_prepbuffer'
/opt/nodemcu-firmware/app/modules/ws2812.c:222: undefined reference to `luaL_prepbuffer'
/opt/nodemcu-firmware/app/modules/ws2812.c:222: undefined reference to `luaL_prepbuffer'
/opt/nodemcu-firmware/app/modules/ws2812.c:222: undefined reference to `luaL_prepbuffer'
/opt/nodemcu-firmware/app/modules/ws2812.c:222: undefined reference to `luaL_prepbuffer'

执行make clean之后重新编译make LUA=53,详见issue

你可能感兴趣的:(记录编译NodeMCU固件遇到的问题)