Hi,
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.
My platformio.ini:
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?
I don’t know. I do not use VSCode and really don’t want to leave Atom behind. If there is no fix for this in Atom I think I have to live witch this minor issue rather than changing my editor.