-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathEmbed.toml
50 lines (38 loc) · 973 Bytes
/
Embed.toml
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
################
# Default config
[default.probe]
protocol = "Jtag" # ESP32*
# protocol = "Swd" # NRF52*
[default.general]
chip = "esp32c3"
# chip = "nrf52840"
[default.rtt]
enabled = true
#up_mode = "BlockIfFull" # Enable this if you need to view all messages
up_mode = "NoBlockTrim"
channels = [
{ up = 0, down = 0, name = "Firmware logs via defmt", format = "Defmt" },
]
[default.gdb]
# Note: currenly gdb server only appears to work when RTT is turned off.
# See https://github.com/probe-rs/probe-rs/issues/1221
enabled = true
gdb_connection_string = "127.0.0.1:1337"
################
# Monitor config (doesn't flash)
[monitor.flashing]
enabled = false
################
# Flash-only config
[flash.rtt]
enabled = false
[flash.gdb]
enabled = false
################
# This fixes rtt logs from not showing up. Run it once.
[fixrtt.reset]
halt_afterwards = true # This is the magic sauce, but WHY?
[fixrtt.gdb]
enabled = false
[fixrtt.flashing]
enabled = false