Closed kLabz closed 3 years ago
Finally took some time to look into this.
Turns out main.py
contents didn't change from wasp-os's original main.py
file, so was still trying to call wasp.system.schedule()
, which doesn't exist on wash. Seems like for maximum compatibility with wasp-os (and to allow easy back-and-forth flashing of any of the two) the best option is to keep main.py
's original content and make wasp.system.schedule()
work.
Current image can be flashed on a pinetime, but needs to be started in safe mode and
main.py
code should be run via python REPL (wasptool --console
).Normal boot will hang but this will work. Note:
wasptool --rtc
can be used to sync time.