Skip to content

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

Description

@DuckersMcQuack

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions