I am new to PlatformIO and everthing works fine so far, except for automatically opening the serial monitor after upload. The upload itself works fine but at the end when PlatformIO tries to open the serial monitor this fails with
Error: (25, ‘Inappropriate ioctl for device’)
However, when I run
platformio run --target upload --target monitor in a terminal manually, the serial monitor works.
I am using a NodeMCU v1.0 to upload to and the latest Atom as Editor.
[env:nodemcuv2] platform = espressif8266 board = nodemcuv2 framework = arduino upload_speed = 460800 upload_port = /dev/ttyUSB0 monitor_speed = 115200 upload_port = /dev/ttyUSB0
Could not find anything in the forum or in the docs, thanks in advance.