C'est bon maintenant le setup wifi marche bien mais j'ai encore des problèmes de mémoire juste après avoir eu une adresse ip :-(
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
-- Scripts à charger après le boot pour démarrer son projet
|
||||
|
||||
print("\n boot2.lua zf200101.1240 \n")
|
||||
print("\n boot2.lua zf200106.1817 \n")
|
||||
|
||||
function boot2()
|
||||
print("boot2 starting...")
|
||||
second_chance=nil initz=nil boot=nil zLED=nil
|
||||
boot2_tmr=nil secrets_wifi=nil wifi_init=nil
|
||||
cli_ssid=nil cli_pwd=nil
|
||||
boot2_tmr1=nil wifi_init1=nil wifi_info=nil boot2_go=nil
|
||||
collectgarbage()
|
||||
second_chance=nil initz=nil boot=nil
|
||||
boot2_tmr=nil boot2_tmr1=nil boot2_go=nil
|
||||
print(node.heap()) collectgarbage() print(node.heap())
|
||||
|
||||
--f= "0_htu21d.lua" if file.exists(f) then dofile(f) end
|
||||
--f= "0_send_data.lua" if file.exists(f) then dofile(f) end
|
||||
|
||||
Reference in New Issue
Block a user