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

0.8.0

Compare
Choose a tag to compare
@Yatekii Yatekii released this 30 Jun 18:06
· 513 commits to master since this release

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.