Hi,
i’ve tried to find a solution to this strange problem.
When I try to upload my program to an esp32 I have the following error:
Using manually specified: /dev/cu.wchusbserial55390044331
Uploading .pio/build/esp32doit-devkit-v1/firmware.bin
esptool.py v4.5.1
Serial port /dev/cu.wchusbserial55390044331
A fatal error occurred: Could not open /dev/cu.wchusbserial55390044331, the port doesn't exist
*** [upload] Error 2
=========================================== [FAILED] Took 2.18 seconds ===========================================
* The terminal process "platformio 'run', '--target', 'upload', '--upload-port', '/dev/cu.wchusbserial55390044331'" terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.
The strange thing is i do NOT have manually specified anything…
here is my platformIO.ini
[env:esp32doit-devkit-v1]
platform = espressif32
board = esp32doit-devkit-v1
framework = arduino
monitor_speed = 115200
;upload_port = /dev/cu.usbmodem55390147911
lib_deps =
me-no-dev/ESP Async WebServer
adafruit/Adafruit NeoPixel @ ^1.11.0
https://github.com/alanswx/ESPAsyncWiFiManager
As you can see the upload_port is commented so my question is :
where does the /dev/cu.wchusbserial55390044331 come from ?
I’m running on macos 12.6.6, platformIO
- Core
6.1.7
- Home
3.4.4
Sorry if this is a silly question, i’ll be an eternal beginner I think :-/
Roland
Paris, France.