#esp32 #esp8266 #serial #monitor #chip #output #execution

bin+lib espmonitor

Monitors ESP8266 and ESP32 execution over serial

17 releases (9 breaking)

0.10.0 Jun 10, 2022
0.8.1 May 29, 2022
0.7.0 Mar 18, 2022
0.6.0 Nov 4, 2021
0.1.0 Mar 19, 2021

#391 in Debugging

Download history 40/week @ 2023-11-19 38/week @ 2023-11-26 38/week @ 2023-12-03 33/week @ 2023-12-10 37/week @ 2023-12-17 34/week @ 2023-12-24 30/week @ 2023-12-31 38/week @ 2024-01-07 44/week @ 2024-01-14 27/week @ 2024-01-21 23/week @ 2024-01-28 45/week @ 2024-02-04 38/week @ 2024-02-11 67/week @ 2024-02-18 76/week @ 2024-02-25 76/week @ 2024-03-03

268 downloads per month
Used in 2 crates (via cargo-espmonitor)

GPL-3.0 license

19KB
433 lines

ESPMonitor

ESP32 and ESP8266 serial monitor.

Features

  • Resets chip on startup.
  • Can match hex sequences in output to function names in a binary.
  • Optionally builds and flashes before starting the monitor.
  • cargo integration.

Usage

Install with:

cargo install cargo-espmonitor

Run cargo espmonitor --help for details.

If you prefer the standalone monitor app without cargo integration, you can instead install espmonitor.

Keyboard Commands

While monitoring, ESPMonitor accepts the following keyboard commands:

  • CTRL+R: Reset chip
  • CTRL+C: Quit

Contributing

Hooks

Before you start writing code, run this in the root of the repo:

mkdir -p .git/hooks && (cd .git/hooks && ln -s ../../hooks/* .)

This will set up a pre-commit hook that will run cargo clippy and cargo fmt before each commit, to save you some time getting frustrated with failed PR checks.

Releasing

See RELEASING for instructions.

Dependencies

~12–23MB
~315K SLoC