After having unsuccessfully tried to get this “cron-like” scheduler: https://github.com/rguillon/schedule running and got many memory errors, I understood that the only way was frozen module.
And it works! Very nice, I can now program my plant watering system with smart commands like:
Code: Select all
schedule.every().wednesday.at("13:15").do(job)
To freeze modules, I have installed the Espressif SDK and MicroPython following buid instructions here: https://github.com/micropython/micropyt ... ts/esp8266
Everything worked as described, excepted I didn’t buid the MicroPython cross-compiler with
Code: Select all
$ make -C mpy-cross
Is this step not anymore nececessary? Is the cross-compiler built with MicroPython?
And last question: I undrestand that from time to time I must update the Espressif sdk and the MicroPython source code how do I do that: a
Code: Select all
git pull
Thanks
--
Jmp0