Created
June 17, 2020 18:38
-
-
Save bobmcwhirter/f39c725dc738ff57b86b25349b61f7be to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# With lines 82 through 87 commented-out | |
$ ~/repos/cargo-embed/target/debug/cargo-embed monitor | |
Error The config could not be loaded: missing field `gdb` | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[default.probe] | |
# The index of the probe in the connected probe list. | |
# probe_index = 0 | |
# The protocol to be used for communicating with the target. | |
protocol = "Swd" | |
# The speed in kHz of the data link to the target. | |
# speed = 1337 | |
[default.flashing] | |
# Whether or not the target should be flashed. | |
enabled = true | |
# Whether or not the target should be halted after flashing. | |
halt_afterwards = false | |
# Whether or not bytes erased but not rewritten with data from the ELF | |
# should be restored with their contents before erasing. | |
restore_unwritten_bytes = false | |
# The path where an SVG of the assembled flash layout should be written to. | |
# flash_layout_output_path = "out.svg" | |
[default.general] | |
# The chip name of the chip to be debugged. | |
# chip = "name" | |
chip = "STM32F103C8" | |
# A list of chip descriptions to be loaded during runtime. | |
chip_descriptions = [] | |
# The default log level to be used. | |
log_level = "Warn" | |
[default.rtt] | |
# Whether or not an RTTUI should be opened after flashing. | |
# This is exclusive and cannot be used with GDB at the moment. | |
enabled = false | |
# A list of channel associations to be displayed. If left empty, all channels are displayed. | |
channels = [ | |
# { up = 0, down = 0, name = "name" } | |
] | |
# The duration in ms for which the logger should retry to attach to RTT. | |
timeout = 3000 | |
[default.gdb] | |
# Whether or not a GDB server should be opened after flashing. | |
# This is exclusive and cannot be used with RTT at the moment. | |
enabled = false | |
# The connection string in host:port format wher the GDB server will open a socket. | |
# gdb_connection_string | |
[monitor.probe] | |
# The index of the probe in the connected probe list. | |
# probe_index = 0 | |
# The protocol to be used for communicating with the target. | |
protocol = "Swd" | |
# The speed in kHz of the data link to the target. | |
# speed = 1337 | |
[monitor.flashing] | |
enabled = false | |
halt_afterwards = false | |
restore_unwritten_bytes = false | |
[monitor.general] | |
# The chip name of the chip to be debugged. | |
# chip = "name" | |
chip = "STM32F103C8" | |
# A list of chip descriptions to be loaded during runtime. | |
chip_descriptions = [] | |
# The default log level to be used. | |
log_level = "Warn" | |
[monitor.rtt] | |
# Whether or not an RTTUI should be opened after flashing. | |
# This is exclusive and cannot be used with GDB at the moment. | |
enabled = true | |
# A list of channel associations to be displayed. If left empty, all channels are displayed. | |
channels = [ | |
# { up = 0, down = 0, name = "name" } | |
] | |
# The duration in ms for which the logger should retry to attach to RTT. | |
timeout = 3000 | |
show_timestamps = true | |
#[monitor.gdb] | |
# Whether or not a GDB server should be opened after flashing. | |
# This is exclusive and cannot be used with RTT at the moment. | |
#enabled = false | |
# The connection string in host:port format wher the GDB server will open a socket. | |
# gdb_connection_string |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment