COM Port is not detecting


Am using M5stack, Able to code in platform IO. But while uploading COM port is not getting detected. Tried multiple option…
Please provide an expertise suggestions


PlatformIO has its own community, where there are people who use the package all the time and know how to troubleshoot it.


File “c:\users\thisanth.platformio\penv\lib\site-packages\serial\”, line 62, in open

raise SerialException(“could not open port {!r}: {!r}”.format(self.portstr, ctypes.WinError()))

serial.serialutil.SerialException: could not open port ‘COM5’: WindowsError(170, ‘The requested resource is in use.’)

*** [upload] Error 1

[ERROR] Took 24.20 seconds

  • Linter

Severity Provider Description Line