nodemcu / nodemcu-firmware

Lua based interactive firmware for ESP8266, ESP8285 and ESP32

Home Page:https://nodemcu.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

_init.lua should not use node.flashindex anymore as it is deprecated

HHHartmann opened this issue · comments

Expected behavior

don't use node.flashindex as it is deprecated

Maybe even deprecate the LFS stuff in there as we now have node.LFS.
Just leave in the loader configuration and loadfile/dofile.

Test code

see lua_examples/lfs/_init.lua

NodeMCU startup banner

NodeMCU 3.0.0.0
branch: tmr.softwd
commit: c4baa9f
release: 3.0-master_20200910 +39
release DTS:
SSL: false
build type: float
LFS: 0x40000 bytes total capacity
modules: adc,bit,color_utils,crypto,dht,encoder,enduser_setup,file,gpio,gpio_pulse,http,i2c,l3g4200d,mdns,net,node,ow,pipe,pwm,rtcfifo,rtcmem,rtctime,sjson,sntp,spi,struct,tls,tmr,uart,wifi,wifi_monitor,ws2812,ws2812_effects
build 2020-11-09 20:08 powered by Lua 5.1.4 on SDK 3.0.1-dev(fce080e)

Hardware

generic ESP8266

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Still to be done