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.
I have the option ‘Automatically close Serial Port Monitor before uploading’ checked. So the serial monitor was opened via the left toolbar. When I hit upload, the Serial Port Monitor closes as it should and it uploads correctly, however, at the end it tries to open the Serial Monitor again, which fails with this error.
Sorry, but where should I set this setting?
platformio settings set platformio-ide.reopenSerialMonitorDelay 500
did not work and I could not find it in PlatformIO > Settings > PlatformIO IDE, too.
This option was under ‘VSCode’ in the documentation, is it even available in Atom?