diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-04-11 20:12:18 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-04-11 20:12:18 (GMT) |
| commit | 50ecff29efb5afd4796ea192982bba10266947fe (patch) | |
| tree | c5374fe9ac9797658867b7627ca3ca971de64247 /wasp/boards | |
| parent | 7ef145cdc5f575ae253b6bd0176375feee61bf86 (diff) | |
wasp: Automatically generate watch.py for PineTime
This should ensure that main.py is always up to date.
Diffstat (limited to 'wasp/boards')
| -rw-r--r-- | wasp/boards/pinetime/watch.py.in (renamed from wasp/boards/pinetime/watch.py) | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/wasp/boards/pinetime/watch.py b/wasp/boards/pinetime/watch.py.in index 1caeea5..46fc6f6 100644 --- a/wasp/boards/pinetime/watch.py +++ b/wasp/boards/pinetime/watch.py.in @@ -84,9 +84,7 @@ except AttributeError: os.mount(flash,'/flash') with open('/flash/main.py', 'w') as f: f.write('''\ -import manager -wasp = manager.Manager(watch) -wasp.run() +#include('main.py') ''') # Only change directory if the button is not pressed (this will |
