]> patrickod personal git archive - keywing-rs.git/blob - keywing/Embed.toml
918f48c6120871e699c7aefdc1f44efe980fb370
[keywing-rs.git] / keywing / Embed.toml
1 [probe]
2 # The index of the probe in the connected probe list.
3 probe_index = 0
4 # The protocol to be used for communicating with the target.
5 protocol = "Swd"
6 # The speed in kHz of the data link to the target.
7 # speed = 1337
8
9 [flashing]
10 # Whether or not the target should be flashed.
11 enabled = true
12 # Whether or not the target should be halted after flashing.
13 halt_afterwards = false
14 # Whether or not bytes erased but not rewritten with data from the ELF
15 # should be restored with their contents before erasing.
16 restore_unwritten_bytes = false
17 # The path where an SVG of the assembled flash layout should be written to.
18 # flash_layout_output_path = "out.svg"
19
20 [general]
21 # The chip name of the chip to be debugged.
22 chip = "nRF52840_xxAA"
23 # A list of chip descriptions to be loaded during runtime.
24 chip_descriptions = []
25 # The default log level to be used.
26 log_level = "Warn"
27
28 [rtt]
29 # Whether or not an RTTUI should be opened after flashing.
30 # This is exclusive and cannot be used with GDB at the moment.
31 enabled = true
32 # A list of channel associations to be displayed. If left empty, all channels are displayed.
33 channels = [
34     # { up = 0, down = 0, name = "name" }
35 ]
36 # The duration in ms for which the logger should retry to attach to RTT.
37 timeout = 3000
38 # Whether timestamps in the RTTUI are enabled
39 show_timestamps = true
40
41 [gdb]
42 # Whether or not a GDB server should be opened after flashing.
43 # This is exclusive and cannot be used with RTT at the moment.
44 enabled = false
45 # The connection string in host:port format wher the GDB server will open a socket.
46 # gdb_connection_string