1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[]
# USB vendor ID
# usb_vid = "0d28"
# USB product ID
# usb_pid = "0204"
# Serial number
# serial = "12345678"
# The protocol to be used for communicating with the target.
= "Swd"
# The speed in kHz of the data link to the target.
= 10000
[]
# Whether or not the target should be flashed.
= true
# Whether or not bytes erased but not rewritten with data from the ELF
# should be restored with their contents before erasing.
= false
# The path where an SVG of the assembled flash layout should be written to.
# flash_layout_output_path = "out.svg"
# Triggers a full chip erase instead of a page by page erase.
= false
[]
# Whether or not the target should be reset.
# When flashing is enabled as well, the target will be reset after flashing.
= true
# Whether or not the target should be halted after reset.
= false
[]
# The chip name of the chip to be debugged.
= "PY32F030x6"
# A list of chip descriptions to be loaded during runtime.
= ["PY32F0_Series.yaml"]
# The default log level to be used. Possible values are one of:
# "OFF", "ERROR", "WARN", "INFO", "DEBUG", "TRACE"
= "INFO"
# Use this flag to assert the nreset & ntrst pins during attaching the probe to the chip.
= false
[]
# Whether or not an RTTUI should be opened after flashing.
= true
# How the target handles RTT outputs that won't fit in the buffer. This can be
# overridden per-channel. If left unset, the firmware will determine the default
# for each RTT up channel.
# NoBlockSkip - Skip writing the data completely if it doesn't fit in its
# entirety.
# NoBlockTrim - Write as much as possible of the data and ignore the rest.
# BlockIfFull - Spin until the host reads data. Can result in app freezing.
#
# up_mode = "BlockIfFull"
# A list of channel associations to be displayed. If left empty, all channels are displayed.
# up, down (Optional) - RTT channel numbers
# name (Optional) - String to be displayed in the RTTUI tab
# up_mode (Optional) - RTT channel specific as described above
# format (Required) - How to interpret data from target firmware. One of:
# String - Directly show output from the target
# Defmt - Format output on the host, see https://defmt.ferrous-systems.com/
# BinaryLE - Display as raw hex
= [
{ = 0, = 0, = "RTT", = "NoBlockSkip", = "String" },
]
# The duration in ms for which the logger should retry to attach to RTT.
= 3000
# Whether timestamps in the RTTUI are enabled
= true
# Whether to save rtt history buffer on exit.
= false
# Where to save rtt history buffer relative to manifest path.
= "./logs"
[]
# Whether or not a GDB server should be opened after flashing.
= false
# The connection string in host:port format wher the GDB server will open a socket.
= "127.0.0.1:50001"