idf.py monitor --print-filter error

bonadio
Posts: 30
Joined: Mon Jul 29, 2019 3:31 pm

idf.py monitor --print-filter error

Postby bonadio » Tue Oct 15, 2019 6:24 pm

Hello

I am trying to filter the output of monitor.

I found in the documentation "IDF monitor can be invoked as idf.py monitor --print-filter="xyz", where --print-filter is the parameter for output filtering."

But when I run it I got "idf.py: error: unrecognized arguments: --print-filter='*:N'"

Without --print-filter it runs ok.

What am I missing?

Thanks

bonadio
Posts: 30
Joined: Mon Jul 29, 2019 3:31 pm

Re: idf.py monitor --print-filter error

Postby bonadio » Wed Oct 16, 2019 1:01 am

I think that idf.py monitor --print-filter is wrong in the DOCs but I found

idf_monitor.py --port /dev/cu.SLAB_USBtoUART --print_filter "*:N" ./build/myproject.elf

That works

[]s

User avatar
ESP_Roland
Posts: 265
Joined: Tue Oct 09, 2018 10:28 am

Re: idf.py monitor --print-filter error

Postby ESP_Roland » Wed Oct 16, 2019 7:11 am

Hi bonadio,

thanks for your report. I could not reproduce the issue. Could you please open a new issue for it providing more information about your environment? (https://github.com/espressif/esp-idf/issues)

Roland

bonadio
Posts: 30
Joined: Mon Jul 29, 2019 3:31 pm

Re: idf.py monitor --print-filter error

Postby bonadio » Wed Oct 16, 2019 3:50 pm

Hi roland

I found the problem, I am using version 3.2 of IDF but was looking at the docs for version 4.0.

The docs for version 3.2 is correct

Thanks

Who is online

Users browsing this forum: No registered users and 101 guests