Skip to content
This repository has been archived by the owner on Jan 14, 2023. It is now read-only.

Releases: probe-rs/cargo-embed

0.13.0

12 Jul 11:14
0311ce9
Compare
Choose a tag to compare

0.13.0

Changed

  • Updated probe-rs to 0.13.0.

0.12.0

25 Nov 14:44
3add44a
Compare
Choose a tag to compare

Changed

  • Update to probe-rs 0.12.0.

0.11.0

23 Jun 21:23
eb84e3e
Compare
Choose a tag to compare

Added

  • RTT and GDB server can now run concurrently (#159).

Changed

  • Update to probe-rs 0.11.0.
  • Improved handling of config files. Unknown keys in the config file now cause an error, and trying to use unknown profiles as well (#205).

0.10.1

13 May 14:24
56091e8
Compare
Choose a tag to compare

Changed

  • Disable sentry by default as an intermediate measure to fix the subpar user experience due to its introduction.

0.10.0

13 May 14:23
8a4c101
Compare
Choose a tag to compare

Added

  • Updated to probe-rs 0.10.0. Please consult its own changelog for new features and fixes.
  • Added logging to sentry.io. This is 100% OPT-IN! You will be asked only if an unhandled error or panic occurs, and only if you give consent, data is transmitted. If you do not trust us either way, you can disable the sentry feature when you install the crate. The completely anonymous data can be investigated on sentry.io by anyone who likes to see it. Unfortunately sentry.io does not feature public orgs yet, so please reach out to @Yatekii to be added.
    Sentry helps us track down tricky issues that only occur in very specific cases. It is very much appreciated if you log upcoming errors this way (#125)!
  • Added printing of the git hash cargo-embed was compiled with and the current package version (#116).

Changed

  • FTDI support is now optional. To enable FTDI support, please use the ftdi feature (#131).

0.9.1

08 Nov 20:41
Compare
Choose a tag to compare

Added

  • Added a config flag to config what format to use on a channel.

Changed

Fixed

  • Fixed a bug where all channels except 0 would be interpreted as binary.

0.9.0

02 Sep 21:42
ed48605
Compare
Choose a tag to compare

Added

  • The config supports a new section called reset. It controls whether the target is reset. Default config:

    [default.reset]
    # Whether or not the target should be reset.
    # When flashing is enabled as well, the target will be reset after flashing.
    enabled = true
    # Whether or not the target should be halted after reset.
    halt_afterwards = false

    This way, you can add a cargo embed target that allows resetting and
    optionally halting without flashing. Useful for debugging.

  • Improved logging on different levels.

  • Added the possibility to save logs (#28).

  • Added support for cargo workspaces with the replacement of cargo-project with cargo-metadata.

  • Added a flag to override the selected chip with --chip.

  • Added a flag to override the selected probe with --probe.

Changed

  • The config option flashing.halt_afterwards has moved to reset.halt_afterwards

Fixed

  • Fixed the enter key for text input in the RTT terminal.
  • Fixed loading of local config files.
  • Fixed the default.toml.
  • Fixed the error message when multiple probes are detected.

0.8.0

30 Jun 18:06
Compare
Choose a tag to compare

Added

  • Add Windows support with the help of crossterm instead of termion.

  • Introduced deriveable configs. With deriveable configs it is possible to create multible configs and derive parts of a config from another.
    An example is this config:

    [rtt.rtt]
    enabled = true
    
    [rtt.gdb]
    enabled = false
    
    [gdb.rtt]
    enabled = false
    
    [gdb.gdb]
    enabled = true

    This creates a config which has three configs:

    • The default one with the prefix "default" as found in default.toml
    • A config with the prefix "rtt" which inherits from "default" implicitely (use general.derives = "prefix" to derive from a specific config) which has RTT enabled but GDB disabled.
    • A config with the prefix "gdb" which inherits from "default" implicitely (use general.derives = "prefix" to derive from a specific config) which has GDB enabled but RTT disabled.
      To use a specific config, call cargo-embed prefix.
      NOTE: This is a congig breaking change! You must update your Embed.toml configs!

Changed

  • The probe.probe_selector property is now split into three properties:
    • usb_vid
    • usb_pid
    • serial
  • The RUST_LOG environment variable can now override the log level set in the config.
  • Improved errors by a large margin by properly displaying the stacked errors with the help of anyhow.

Fixed

  • Panics in app that could occur due to a bug will no longer mess up the user's terminal.
  • Fixed a bug where the progress bars from the flashing procedure would swallow all log messages.
  • Fixed a bug where the RTT UI would panic if no channels were configured.

0.7.0

04 Jun 20:15
Compare
Choose a tag to compare
v0.7.0

Change versions to probe-rs 0.7.0

0.6.1

22 Apr 22:23
Compare
Choose a tag to compare

Added

  • Added the possibility to use an Embed.local.toml to override the Embed.toml locally.
  • Added the possibility to use an .embed.toml and .embed.local.toml. See the README for more info.
  • Added host timestamps to the RTT printouts.