Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug/missing line/feature request] Add in tutorial for defining device port. until it's autodetected properly #429

Open
DuckersMcQuack opened this issue Jan 13, 2025 · 0 comments

Comments

@DuckersMcQuack
Copy link

DuckersMcQuack commented Jan 13, 2025

Code as stock will for me at least error with this. As i tried to manually select port being less than 6, didn't work. same error.

But what was missing for me was in platformio.ini line 38 and 39 mentions speeds, but it was also missing specifying port.

So i reconnected watch to reset com port, went into device manager, saw the port for it was now 10 again, added in line 40 upload_port = COM10 as my watch appeared as port 10. And after adding "upload_port = COM[number]" in platformio.ini, then it flashed successfully.

so bug is this issue, feature request is additional code to automatically read the device being the port it attempts and detects properly.

Looking for upload port...
Auto-detected: COM2
Uploading .pio\build\LIGHT_EDITION_V3_3\firmware.bin
esptool.py v4.5.1
Serial port COM2

A fatal error occurred: Could not open COM2, the port doesn't exist
*** [upload] Error 2
============================================================================== [FAILED] Took 15.92 seconds ==============================================================================

Environment         Status    Duration
------------------  --------  ------------
LIGHT_EDITION_V3_3  FAILED    00:00:15.923
========================================================================= 1 failed, 0 succeeded in 00:00:15.923 ========================================================================= 
PS C:\Users\DuckersMcQuack\Documents\coding\open-smartwatch-os> 

Edit 1: Second bug i think, unless hardware limitation, from button press to wake to display fully loaded, it uses 2 seconds to process that task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant