nodemcu-firmware icon indicating copy to clipboard operation
nodemcu-firmware copied to clipboard

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

Open HHHartmann opened this issue 4 years ago • 2 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: c4baa9f3b97a7ceba8a021ad9608dad5855393e8 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

HHHartmann avatar Nov 15 '20 07:11 HHHartmann

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.

stale[bot] avatar Apr 16 '22 08:04 stale[bot]

Still to be done

HHHartmann avatar Apr 18 '22 20:04 HHHartmann