Commit Graph

37 Commits

Author SHA1 Message Date
Peter Dragun
570f5880be feat(tools/monitor): add simple port detection
Closes https://github.com/espressif/esp-idf/issues/8114
2023-10-05 16:29:43 +02:00
Roland Dobai
8fa72ec3b7 Merge branch 'monitor_multibyte_decode' into 'release/v5.0'
Tools(monitor): decode multibyte characters on Windows (backport v5.0)

See merge request espressif/esp-idf!24373
2023-07-11 16:40:40 +08:00
Peter Dragun
57e188c2e3 fix(monitor/ansi_converter): decode multibyte characters 2023-06-23 09:32:13 +02:00
Roland Dobai
169d7dc3c9 tools: Fix IDF Monitor print filter when no ELF file is supplemented
A different serial handler class is used when there was no ELF file
passed do esp-idf-monitor. This fix will ensure that print filter check
is respected in this case as well.
2023-06-19 16:56:20 +02:00
Roland Dobai
b08267f3b1 Merge branch 'monitor_win_color-v5.0' into 'release/v5.0'
bug(idf_monitor): fix color on windows with hints (v5.0)

See merge request espressif/esp-idf!23348
2023-05-17 18:39:32 +08:00
Peter Dragun
1b03bfb3ea feat(monitor): flush terminal detection seq 2023-04-24 11:25:47 +02:00
Peter Dragun
f0dea7d9ff bug(monitor/ansi_converter): fix output decode detection 2023-04-24 11:25:47 +02:00
Peter Dragun
d47c309d7f fix(monitor/ansi_converter): do not catch status and cursor escape sequences 2023-04-24 11:25:47 +02:00
Peter Dragun
c8e800ce8a bug(console_reader): replace TIOCSTI with busy wait to suppport kernel > 6.2
Closes https://github.com/espressif/esp-idf/issues/11027
2023-04-21 15:35:36 +02:00
KonstantinKondrashov
823024c10c all: Apply new version logic (major * 100 + minor) 2023-01-06 02:00:52 +08:00
simon.chupin
43c69f0910 idf.py: Add automated hints on how to resolve errors 2022-07-04 08:15:23 +00:00
Roland Dobai
8dddb8b596 Revert "Merge branch 'feature/clippy' into 'master'"
This reverts merge request !16998
2022-06-29 16:46:47 +08:00
simon.chupin
c6a6eaeb60 idf.py: Add automated hints on how to resolve errors 2022-06-23 14:09:34 +02:00
Martin Gaňo
24e856a509 Fixed comparsion of integer and string that evaluated always to False
Closes https://github.com/espressif/esp-idf/issues/9052
Closes IDFGH-7482
2022-05-31 12:51:47 +02:00
simon.chupin
1c5e596633 idf.py: Change copyright in tools dir 2022-05-24 14:01:50 +02:00
Nonoo
f6e4140171 Tools: Add missing DTR/RTS set before serial port open on reconnect when --no-reset is used
This makes sure --no-reset works correctly when the monitor reconnects the serial port.
2022-05-19 08:24:50 +02:00
Nonoo
c063cbd7f7 Tools: Set idf.py monitor DTR to the default state when reset is not needed
This lets use the reset hotkey (Ctrl+T Ctrl+R).

Tools: fix idf.py monitor reset with hotkey with --no-reset arg

Tools: Set idf.py monitor DTR to the default state when reset is not needed
2022-05-16 13:06:35 +02:00
Martin Gaňo
c02c0cc9b7 Tools: Add --no-reset option for IDF Monitor in order to avoid resetting the chip target upon connection
Closes https://github.com/espressif/esp-idf/issues/8889

Closes IDFGH-7189, IDFGH-7301, IDFGH-5963

Closes https://github.com/espressif/esp-idf/issues/7651

Merges https://github.com/espressif/esp-idf/pull/8788
2022-05-10 14:19:37 +02:00
Nonoo
9266a7c52e Add idf.py monitor argument --no-reset (-R) to prevent resetting the MCU target on monitor startup
Add idf.py monitor argument --no-reset (-R) to prevent resetting the CPU on monitor startup

idf.py monitor: fix type signature

idf.py monitor: fix reset key shortcut when --no-reset (-R) argument is used

idf.py monitor: change --no-reset (-R) argument descriptions in help

idf.py monitor: simplify --no-reset (-R) argument checks

idf.py monitor: add warning if --no-reset is used, but --port is not given

idf.py monitor: ignore --no-reset if --port is not given
2022-05-03 14:52:34 +02:00
Aleksei Apaseev
528cdc1546 core_dump: split corefile and coredump script from idf into a separate package 2022-03-24 13:57:48 +08:00
Martin Gaňo
b334d01e5f Remove line finalization when coredump is active to avoid coredump failure
Closes https://github.com/espressif/esp-idf/issues/8099
2022-02-24 02:05:58 +01:00
Aleksei Apaseev
e30329ffe2 idf_monitor: Changed the elf file to be optional when running "idf.py monitor" command
This feature allows to start IDF Monitor without (re-)building the project.
2022-01-07 17:36:08 +08:00
Martin Gaňo
931ad14979 Fixed copyright header 2022-01-03 00:09:31 +01:00
Dániel Buga
04589b565f
Print buffer when reading an escape character 2021-12-17 07:45:05 +01:00
Fu Hanxi
bee690aa8d idf.py: add linux target support for idf.py flash and idf.py monitor 2021-10-18 11:50:50 +08:00
Fu Hanxi
ba0481aabd idf_monitor: fix toggle timestamps also call toggle logging issue 2021-10-18 11:50:50 +08:00
Martin Gaňo
2452dc57f0 Tools: extracted functionality out of idf_monitor 2021-08-03 19:18:17 +08:00
Roland Dobai
31f45f7200 Tools: Fix chip reset on IDF Monitor connection
Closes https://github.com/espressif/esp-idf/issues/7190
2021-07-20 20:48:08 +08:00
Dmitry
dbf5c6fd58 Tools: Fix chip reset on IDF Monitor connection
Closes https://github.com/espressif/esp-idf/issues/7190
2021-07-20 20:48:08 +08:00
Martin Gaňo
5874fceb0d Moved coredump utils out of idf_monitor 2021-06-28 13:56:39 +02:00
Martin Gaňo
252036567c Moved filters out of idf_monitor.py 2021-06-17 21:38:38 +02:00
Roland Dobai
483f51cdd0 tools: Some additions to IDF Monitor's timestamps
Additions to https://github.com/espressif/esp-idf/pull/7021
2021-06-13 12:13:39 +02:00
Dmitry
00a7ecb5a3 Code cleanup. Bugfix after rebase with master. Formating. 2021-05-13 15:03:40 +03:00
Dmitry
a16ae6c737 IDF monitor update 2021-05-11 16:08:44 +03:00
Martin Gaňo
74448df9f1 Put typing import into try block 2021-04-25 21:21:35 +02:00
Roland Dobai
0dc3da6dce tools: Fix ANSI color converter on Windows
Fix a regression of b77addea2f: The ANSI
color converter returns a class on Windows instead of an object so its
methods won't be callable and will result in a not so helpful error
message: "idf_monitor failed with exit code 120"
2021-04-15 19:56:39 +02:00
Martin Gaňo
b77addea2f Decompose idf_monitor.py 2021-04-12 10:47:33 +02:00