Hi,
MACOS Monterey 12.3.1
VS Code Version : 1.68.1
Target : ESP8266
2 issues since version 6.1.0RC
upload_speed is not recognised anymore
Library Manager: Installing upload_speed
Warning! Could not find the package with ‘upload_speed’ requirements for your system ‘darwin_x86_64’
Serial port is not recognised automatically anymore
([“upload”], [".pio/build/stagingSerial/firmware.bin"])
AVAILABLE: espota, esptool
CURRENT: upload_protocol = esptool
MethodWrapper([“upload”], [".pio/build/stagingSerial/firmware.bin"])
TimeoutError: Could not automatically find serial port for the NodeMCU 1.0 (ESP-12E Module) board based on the declared HWIDs=[[‘0x10C4’, ‘0xEA60’]]
Could you help to get it working because upload is only working @115200 bauds and working with multiple serial port is not possible
Thanks
That one’s a separate issue I have also encountered when I want to treat my board as another board… Maybe PlatformIO should fallback to its old behavior there if it cannot find the specified HWID to try an upload at all.
This looks good, but the error message indicates that you have at least one space in front of the upload_speed option. Can you double check? There must be none.
Correct strange char, I retype the line and now upload_speed in recognised. Thank you
What about the 2nd issue ? I have 1 mega connected on 1 USB serial, 1 Jtab on other USB serial and 1 ESP8266 on other USB serial. With the previous versions it was working well and automatically . Any solution ?
I don’t see how one could declare a double-array in the platformio.ini to overwrite board_build.hwids…
You can however force an upload port with
upload_port = /dev/cu.usbserial-1420
in the platformio.ini.
@ivankravets what do you think? The HWID filtering is too strict with those popular clone boards like the NodeMCUv2 which can either have CH340 or CP210x on them. Other developers might use this board definition with a Parallax USB converter or an FTDI and it will fail for them too. Best to try some port (e.g. the last one in the list of ports) if no exact match is found instead of failing?
I clean installation, reinstall, sill doesn’t work, downgraded to 6.0.2
other issues not fixed in version (6.0.2) and RC
RAM size and Flash are not printed correctly , it show 0 ( only for ESP8266)
RAM: [ ] 0.0% (used 0 bytes from 81920 bytes)
Flash: [ ] 0.0% (used 0 bytes from 1044464 bytes)
text data bss dec hex filename
during the size process; all symbols are print , buffer of console become full, so only way to read report of compilation is to make redirection to a file. Solution I found to avoid this issue.
to change line 178&179in ~/.platformio/platforms/espressif8266/builder/main.py
SIZECHECKCMD=“$SIZETOOL -A -x $SOURCES”,
SIZEPRINTCMD=‘$SIZETOOL -B -x $SOURCES’,
by
SIZECHECKCMD=“$SIZETOOL -B -x $SOURCES”,
SIZEPRINTCMD=‘$SIZETOOL -B -x $SOURCES’,
just a personal questionning, why JTAB for MEGA is not implemented , it just some line to add in platform.py to get atmelice & avarice running
CURRENT: upload_protocol = esptool
Looking for upload port...
TimeoutError: Could not automatically find serial port for the `NodeMCU 1.0 (ESP-12E Module)` board based on the declared HWIDs=[['0x10C4', '0xEA60']]
Error: Please specify `upload_port` for environment or use global `--upload-port` option.
For some development platforms it can be a USB flash drive (i.e. /media/<user>/<device name>)
*** [upload] Explicit exit, status 1