Skip to content

Instantly share code, notes, and snippets.

@Yatekii
Created June 1, 2020 17:01
Show Gist options
  • Save Yatekii/9fa1e73f7148e0c3c57c970de5790b2f to your computer and use it in GitHub Desktop.
Save Yatekii/9fa1e73f7148e0c3c57c970de5790b2f to your computer and use it in GitHub Desktop.
[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
[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"
[general]
# The chip name of the chip to be debugged.
# chip = "name"
# A list of chip descriptions to be loaded during runtime.
chip_descriptions = []
# The default log level to be used.
log_level = "Warn"
[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
# Whether timestamps in the RTTUI are enabled
show_timestamps = true
[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
[prx.probe]
# The selector of the probe in the connected probe list.
probe_selector = "VID:PID:<SERIAL_1>"
[ptx.probe]
# The selector of the probe in the connected probe list.
probe_selector = "VID:PID:<SERIAL_2>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment