All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
v0.3.11 - 2024-01-29
- #423 Add better defaults for log format when timestamp is available
v0.3.10 - 2023-08-01
- #417 Release
probe-run v0.3.10 - #416 Add support for log_format option for defmt decoder
- #410 Simplify canary
- #405 Also enable merge queue for changelog enforcer
- #404 Switch from bors to merge queue
- #402 Do not panic if locations do not contain the frame
v0.3.9 - 2023-05-05
- #403 Release
probe-run v0.3.9 - #399 Update link shown in error message
- #398 Handle reset vector not pointing to ELF symbol
v0.3.8 - 2023-04-12
v0.3.7 - 2023-03-29
- #390 Release
probe-run v0.3.7 - #385 Update snapshot tests and test stack canary
- #384 Satisfy clippy
- #383 Fix unwinding
- #381 Add feature
ftdito enableftdidebuggers - #380 Add
--erase-allflag - #379 Update to
probe-rs v0.17 - #378 Update to
probe-rs v0.16
v0.3.6 - 2023-01-23
- #375 Release
probe-run v0.3.6 - #373 Update to
probe-rs v0.14 - #371 Add "missing drivers" to troubleshooting section
- #366 Update CI
v0.3.5 - 2022-10-07
- #357 Update to
clap 4.0 - #349 Add
PROBE_RUN_SPEEDenv variable - #345 Update dev-dependency
serial_test - #344 Replace
pub(crate)withpub - #343 Mark
v0.3.4as released inCHANGELOG.md - #353 Add
--verifyoption to verify written flash
v0.3.4 - 2022-08-10
- #342 Release
probe-run 0.3.4 - #339 Simplify
fn round_up - #337 Clean snapshot tests
- #335 Add unit tests for
fn round_up - #334 Simplify snapshot tests
- #333 Clean up
enum Outcome - #331 Refactor stack painting
- #330 Fix
fn round_up - #329 Update probe-rs to 0.13.0 (does not yet implement 64-bit support)
- #328 Simplify, by capturing identifiers in logging macros
- #327 Optimize stack usage measuring
- #326 Make use of i/o locking being static since rust
1.61. - #321 CI: Add changelog-enforcer
- #320 Disable terminal colorization if
TERM=dumbis set - #319 Warn on target chip mismatch
- #317 Clarify "can't determine stack overflow" error message
- #314 Clarify documentation in README
- #305 Add option to disable double buffering while loading firmware
- #293 Update snapshot tests to new TRACE output
v0.3.3 - 2022-03-14
- #311 fixed "probe-run does not work with some programs that have less than 10 KiB of stack space unless
--measure-stackis available"
v0.3.2 - 2022-03-10 - YANKED
- #303 Don't bail, but only warn if using
--no-flashwithdefmt - #302 Make stack painting fast again! 🇪🇺
- #301 Add way to pass chip description file
- #300 Simplify verbose matching
- #299 Fix and refactor
fn extract_stack_info - #296 turn some
println!intowriteln! - #295 probe-run json output
- #294 Update
Cargo.lock
v0.3.1 - 2021-11-26
- #287: unwind: skip FDEs with initial address of 0
- #286: Update dependencies
- #285: Update
probe-rsandprobe-rs-rttto0.12 - #282: Include program counter value in backtrace when -v is passed
- #281: Report flashing size using probe-rs's FlashProgress system
- #280: Turn symbol demangling back on
v0.3.0 - 2021-11-09
- #273: Update to Rust 2021 🎉
- #267: Minimize dependencies by disabling default-features
- #266: Recover from decoding-errors
- #247: Print troubleshooting information on "probe not found" error
- #264: Use new stream decoder API
- #263: Set blocking mode to
0b10(BLOCK_IF_FULL) - #257: Split "set rtt to blocking-mode" into function
- #259: Update snapshot tests
- #260: Fix CI on nightly
- #254: Add support for measuring the program's stack usage
- #248: Print dedicated message on control + c
- #250: Backtrace options
- #253: feat: add help message for JtagNoDeviceConnected
- #251: Removes call to fill in user survey from readme.
- #246: Enable deactivated tests for Windows
v0.2.5 - 2021-08-02
- #244 Fix clippy warnings
- #240 Link Knurling User Survey in
README - #235 Update to
probe-rs0.11 - #234 Feature-gate windows tests
- #233 Some clarifications and corrections
v0.2.4 - 2021-06-17
- #212 make
unwind::target()infallible - #216 Fix
EXC_RETURNdetection on thumbv8 - #218 add first, user-triggered snapshot tests
- #219 add more explicit hint if elf path doesn't lead to an existing file
- #221 Obtain git-version from macro, instead of custom build-script
- #222 refactor the huge "main" function into smaller functions + modules
- #224 target_info: print ram region again
- #225
cli::tests: rstest-ify tests forfn extract_git_hash - #226
CI: Run tests and clippy - #228 Remove unused file
utils.rs
v0.2.3 - 2021-05-21
- #193 Check
PROBE_RUN_IGNORE_VERSIONon runtime - #199 Add column info to backtrace
- #200 Highlight frames that point to local code in backtrace
- #203 + #209 + #210 Add
--shorten-paths - #204 Make 'stopped due to signal' force a backtrace
- #207 Read as little stacked registers as possible during unwinding
- #190
README: Replace ${PROBE_RUN_CHIP} in code example - #192 + #194
README: Add installation instructions for Fedora and Ubuntu
- #206 Fix unwinding exceptions that push FPU registers onto the stack
v0.2.2 - 2021-05-06
- #163 Report exit reason, make
backtraceoptional - #171 Introduce even more verbose log level
- #174 Let developers skip defmt version check
- #179 Limit
backtracelength, make limit configurable - #184 Add some bounds checking to
unwinding
- #161 Remind the user that the
benchprofile should be also overridden - #181
README: add copypasteable example how to run from repo - #183
README: Add troubleshooting for use with RTIC
- #162 Remove
panic-probe
v0.2.1 - 2021-02-23
- #158 Fix Ctrl+C handling
v0.2.0 - 2021-02-22
- #153 Update to defmt 0.2.0
- #152 Allow selecting a probe by serial number
- #149 Update and deduplicate dependencies
- #141 Address Clippy lints
v0.1.9 - 2021-01-21
- #126 print a list of probes when multiple probes are found and none was selected
- #133 removes
supported defmt version: c4461eb1484...from-h/--helpoutput
- #129 reject use of defmt logs and the
--no-flashflag. - #132 Make use of the new defmt-logger crate
- #134 updates
probe-run'sdefmtdependencies in order to make new features accessible
v0.1.8 - 2020-12-11
- #119
probe-runhas gained a--connect-under-resetcommand line flag. When used, the probe drives the NRST pin of the microcontroller to put it in reset state before establishing a SWD / JTAG connection with the device.
- #117 wait for breakpoint before switching RTT from non-blocking mode to blocking mode.
v0.1.7 - 2020-11-26
- #114 pin
hidapidependency to 1.2.3 to enable macOS builds - #112 defmt decode errors are now reported to the user
- #110 colorize
assert_eq!output
v0.1.6 - 2020-11-23
- #109
<exception entry>is not printed twice in the backtrace when the firmware aborts.
- #108
probe-rshas been bumped to version 0.10. This should fix some ST-LINK bugs and expand device support.
v0.1.5 - 2020-11-20
- #106
probe-runnow reports the program size - #105
probe-run's--defmtflag is now optional.probe-runwill auto-detect the use of thedefmtcrate so the flag is no longer needed. - #259 building the crates.io version of
probe-runno longer depends on thegitcommand line tool (fixed [#256]) - #264
probe-rundoesn't panic if log message is not UTF-8
v0.1.4 - 2020-11-11
- #30 added a
--no-flashflag to run a program without re-flashing it - #40 added (
--help) documentation to the many CLI flags - #33 added canary-based stack overflow detection
- #38 added file location information to log messages
- #41 the
PROBE_RUN_CHIPenv variable can be used as an alternative to the--chipflag - #49
--list-probesand--probeflags to list all probes and select a particular probe, respectively - #55 added more precise stack overflow detection for apps linked with
flip-link - #57 added module location information to log messages
- #63 added file location information to the stack backtrace
- #83 added git info to the
--versionoutput - #88 added
--speedflag to set the frequency of the probe - #98 the output of
--versionnow includes the supported defmt version
- #28 notify the user ASAP that RTT logs were not found in the image
- #50 fixed a bug that was causing an infinite stack backtrace to be printed
- #51 fixed the handling of Ctrl-C
- #77 flush stdout after each write; fixes a bug where output was not printed until a newline was sent from the device using non-defmt-ed RTT
- #25 increased RTT attach retries, which is sometimes needed for inter-operation with
rtt-target - #44 improve diagnostics when linker script is missing
- #53, #60 the output format of logs
- #55, #64 all hard faults make
probe-runexit with non-zero exit code regardless of whetherpanic-probewas used or not - #69
probe-runnow changes the RTT mode to blocking at runtime, right after RAM initialization
v0.1.3 - 2020-08-19
- Fixed outdated comment in readme
v0.1.2 - 2020-08-19
- Support for the
thumbv7em-none-eabihftarget.
- Bumped the
probe-rsdependency to 0.8.0 - Cleaned up CLI documentation
v0.1.1 - 2020-08-17
- Added setup instructions to check that there's enough debug info to make the unwinder worker
- Improved the error message produced when the unwinder fails
Initial release