Monitor_options not working

Hi there

I’m trying to set my serial monitor in PIO to have the local echo enabled as default.

In the example here, the following is set:

; Serial Monitor options
monitor_speed = 115200
monitor_options =

So in my platformio.ini, I have the following:

platform = atmelavr
board = uno
framework = arduino
upload_port = COM105
monitor_port = COM105
monitor_speed = 9600
monitor_options =

They all work well except the monitor_options.

I get the following message in the terminal:
Warning! Ignore unknown configuration option `monitor_options` in section [env:uno]

I know I can turn echo on with CTRL+T, CTRL+E, but that gets a bit tedious after forgetting a few times.

Is there a way to turn it on by default?

That must be a typo in the docs… it’s monitor_flags, not monitor_options :wink:

Thanks. I wish I could try it.
Since closing Visual Studio Code down last night and reopening this morning, I have these types of errors :confounded::

command '' not found
command 'platformio-ide.rebuildProjectIndex' not found 
command 'platformio-ide.upload' not found

I had this before. I had to uninstall the extension and reinstall and then mess about with my project to get it to work correctly again (although I can’t remember exactly what I did).

Damn :frowning:

For someone else with pretty much the same problem, and recently… Ivan has suggested the following:

The solution was related to another post I made earlier about multi-root workspaces. Once I had that figured out, PlatformIO activated and all was well.
Here’s the link to said post:

And you are right, it is monitor_flags

1 Like