kLabz / wash

Watch Application System in Haxe
12 stars 0 forks source link

Can only start through safe mode #3

Closed kLabz closed 3 years ago

kLabz commented 3 years ago

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).

import wasp
wasp.Wasp.start()

Normal boot will hang but this will work. Note: wasptool --rtc can be used to sync time.

kLabz commented 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.