|
1 | | -[probe] |
2 | | -# The index of the probe in the connected probe list. |
3 | | -# probe_index = 0 |
| 1 | +[default.probe] |
| 2 | +# USB vendor ID |
| 3 | +# usb_vid = "1337" |
| 4 | +# USB product ID |
| 5 | +# usb_pid = "1337" |
| 6 | +# Serial number |
| 7 | +# serial = "12345678" |
4 | 8 | # The protocol to be used for communicating with the target. |
5 | 9 | protocol = "Swd" |
6 | 10 | # The speed in kHz of the data link to the target. |
7 | 11 | # speed = 1337 |
8 | 12 |
|
9 | | -[flashing] |
| 13 | +[default.flashing] |
10 | 14 | # Whether or not the target should be flashed. |
11 | 15 | enabled = true |
12 | | -# Whether or not the target should be halted after flashing. |
| 16 | +# Whether or not the target should be halted after reset. |
| 17 | +# DEPRECATED, moved to reset section |
13 | 18 | halt_afterwards = false |
14 | 19 | # Whether or not bytes erased but not rewritten with data from the ELF |
15 | 20 | # should be restored with their contents before erasing. |
16 | 21 | restore_unwritten_bytes = false |
17 | 22 | # The path where an SVG of the assembled flash layout should be written to. |
18 | 23 | # flash_layout_output_path = "out.svg" |
19 | 24 |
|
20 | | -[general] |
| 25 | +[default.reset] |
| 26 | +# Whether or not the target should be reset. |
| 27 | +# When flashing is enabled as well, the target will be reset after flashing. |
| 28 | +enabled = true |
| 29 | +# Whether or not the target should be halted after reset. |
| 30 | +halt_afterwards = false |
| 31 | + |
| 32 | +[default.general] |
21 | 33 | # The chip name of the chip to be debugged. |
22 | | -#chip = "nRF52832" |
| 34 | +chip = "nRF52832_xxAA" |
23 | 35 | # A list of chip descriptions to be loaded during runtime. |
24 | 36 | chip_descriptions = [] |
25 | | -# The default log level to be used. |
26 | | -log_level = "Warn" |
| 37 | +# The default log level to be used. Possible values are one of: |
| 38 | +# "OFF", "ERROR", "WARN", "INFO", "DEBUG", "TRACE" |
| 39 | +log_level = "WARN" |
27 | 40 |
|
28 | | -[rtt] |
| 41 | +[default.rtt] |
29 | 42 | # Whether or not an RTTUI should be opened after flashing. |
30 | 43 | # This is exclusive and cannot be used with GDB at the moment. |
31 | 44 | enabled = true |
32 | 45 | # A list of channel associations to be displayed. If left empty, all channels are displayed. |
33 | 46 | channels = [ |
34 | | - # { up = 0, down = 0, name = "name" } |
| 47 | + # { up = 0, down = 0, name = "name", format = "String" } |
35 | 48 | ] |
36 | 49 | # The duration in ms for which the logger should retry to attach to RTT. |
37 | 50 | timeout = 3000 |
38 | 51 | # Whether timestamps in the RTTUI are enabled |
39 | 52 | show_timestamps = true |
| 53 | +# Whether to save rtt history buffer on exit. |
| 54 | +log_enabled = false |
| 55 | +# Where to save rtt history buffer relative to manifest path. |
| 56 | +log_path = "./logs" |
40 | 57 |
|
41 | | -[gdb] |
| 58 | +[default.gdb] |
42 | 59 | # Whether or not a GDB server should be opened after flashing. |
43 | 60 | # This is exclusive and cannot be used with RTT at the moment. |
44 | 61 | enabled = false |
|
0 commit comments