Wasp-os editing main.py
#2
If the device doesn't boot due to a bad main.py then the BLE interfaces may still work (e.g. you can upload a new main.py). If not you need to boot in safe mode and then use BLE to fix the problem. Safe mode is documented in the Troubleshooting section.

To debug the underlying problem try uploading the original (unmodified) main.py and try executing the commands on the console instead. I suspect the problem is either that HRV needs to be lowercase or simply that there is not enough memory to compile the script.


If you are hitting RAM limits you need to keep working through the options. Loading an .mpy uses less RAM than loading a .py and including the app in the flash image uses even less RAM than a .mpy .
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye
  Reply


Messages In This Thread
Wasp-os editing main.py - by Mpoint - 08-02-2021, 06:03 PM
RE: Wasp-os editing main.py - by danielt - 08-03-2021, 03:34 AM
RE: Wasp-os editing main.py - by Mpoint - 08-04-2021, 04:52 PM
RE: Wasp-os editing main.py - by Mpoint - 08-06-2021, 01:59 AM
RE: Wasp-os editing main.py - by danielt - 08-07-2021, 02:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to switch from Wasp-OS back to Inifinitime using GadgetBridge Bruce Kissinger 0 369 10-02-2024, 07:31 PM
Last Post: Bruce Kissinger
  wasp-os status erikzoltan 5 2,561 10-06-2023, 11:32 AM
Last Post: xet7
Sad wasp simulation error pratyush049 1 3,475 06-24-2020, 06:51 AM
Last Post: danielt

Forum Jump:


Users browsing this thread: 1 Guest(s)