Skip to content

Commit f40bb57

Browse files
committed
Updated Embed.toml of new SPIS example
1 parent e6de700 commit f40bb57

File tree

2 files changed

+46
-4
lines changed

2 files changed

+46
-4
lines changed

examples/blinky-button-demo/Embed.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ log_level = "WARN"
4141
[default.rtt]
4242
# Whether or not an RTTUI should be opened after flashing.
4343
# This is exclusive and cannot be used with GDB at the moment.
44-
enabled = false
44+
enabled = true
4545
# A list of channel associations to be displayed. If left empty, all channels are displayed.
4646
channels = [
4747
# { up = 0, down = 0, name = "name", format = "String" }

examples/spis-demo/Embed.toml

Lines changed: 45 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,63 @@
11
[default.probe]
2+
# USB vendor ID
3+
# usb_vid = "1337"
4+
# USB product ID
5+
# usb_pid = "1337"
6+
# Serial number
7+
# serial = "12345678"
8+
# The protocol to be used for communicating with the target.
29
protocol = "Swd"
10+
# The speed in kHz of the data link to the target.
11+
# speed = 1337
312

413
[default.flashing]
14+
# Whether or not the target should be flashed.
515
enabled = true
16+
# Whether or not the target should be halted after reset.
17+
# DEPRECATED, moved to reset section
618
halt_afterwards = false
19+
# Whether or not bytes erased but not rewritten with data from the ELF
20+
# should be restored with their contents before erasing.
721
restore_unwritten_bytes = false
22+
# The path where an SVG of the assembled flash layout should be written to.
23+
# flash_layout_output_path = "out.svg"
24+
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
831

932
[default.general]
33+
# The chip name of the chip to be debugged.
1034
chip = "nRF52840"
35+
# A list of chip descriptions to be loaded during runtime.
1136
chip_descriptions = []
12-
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"
1340

1441
[default.rtt]
42+
# Whether or not an RTTUI should be opened after flashing.
43+
# This is exclusive and cannot be used with GDB at the moment.
1544
enabled = true
16-
channels = []
45+
# A list of channel associations to be displayed. If left empty, all channels are displayed.
46+
channels = [
47+
# { up = 0, down = 0, name = "name", format = "String" }
48+
]
49+
# The duration in ms for which the logger should retry to attach to RTT.
1750
timeout = 3000
51+
# Whether timestamps in the RTTUI are enabled
1852
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"
1957

2058
[default.gdb]
21-
enabled = false
59+
# Whether or not a GDB server should be opened after flashing.
60+
# This is exclusive and cannot be used with RTT at the moment.
61+
enabled = false
62+
# The connection string in host:port format wher the GDB server will open a socket.
63+
# gdb_connection_string

0 commit comments

Comments
 (0)