husky wrote: ↑Wed Aug 19, 2020 2:39 pm
I have finished version 0.1 of the wasp project adapted to twatch 2020.
It works: clock, stopwatch, flashlight, settings.
in this version the clock wakes up every 5 minutes and tries to connect to the internet to do certain tasks, right now just synchronize the time.
This version will have many errors that I will correct, but it is already a watch that can be used.
https://github.com/sactre/wasp-os/tree/develop/wasp
To test it, load micropython on the clock, then copy the contents of the wasp folder to the clock.
Hi Husky!
This looks incredible and would definitely save days of work trying to to get the T-Watch-2020 functioning.
I've tried doing as you said (Watch loaded with Micropython via OPHoper's firmware (available here:
https://github.com/OPHoperHPO/lilygo-tt ... icropython)), and pulled the contents of the wasp subdirectory to the watch.
It is now stuck in an infinite boot cycle, displaying the same issue (listed below).
Do you know how to stop it and re-establish REPL connection, or, better yet, how to fix it?
Best,
Gil
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:5124
load:0x40078000,len:12844
load:0x40080400,len:3472
entry 0x40080638
* initializing pins
* initializing mpu
* Detect PMU Type is AXP202
I (30370) wifi:wifi driver task: 3ffd6ebc, prio:23, stack:6656, core=0
I (34717) wifi:wifi firmware version: aa5336b
I (34717) wifi:config NVS flash: enabled
I (34717) wifi:config nano formating: disabled
I (34717) wifi:Init dynamic tx buffer num: 32
I (34717) wifi:Init data frame dynamic rx buffer num: 32
I (34727) wifi:Init management frame dynamic rx buffer num: 32
I (34727) wifi:Init management short buffer num: 32
I (34737) wifi:Init static rx buffer size: 1600
I (34737) wifi:Init static rx buffer num: 10
I (34747) wifi:Init dynamic rx buffer num: 32
Traceback (most recent call last):
File "wasp.py", line 300, in run
File "uasyncio/core.py", line 1, in run
File "uasyncio/core.py", line 1, in run_until_complete
File "uasyncio/core.py", line 1, in run_until_complete
File "wasp.py", line 310, in main_loop
File "wasp.py", line 97, in init_apps
MemoryError: memory allocation failed, allocating 136 bytes
ets Jun 8 2016 00:22:5