RTT kind of working

This commit is contained in:
Robin Müller 2021-11-06 21:07:51 +01:00
parent e3a41a3539
commit 8af466e07d
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
6 changed files with 3740 additions and 4 deletions

View File

@ -16,12 +16,12 @@ rustflags = [
# if you run into problems with LLD switch to the GNU linker by commenting out # if you run into problems with LLD switch to the GNU linker by commenting out
# this line # this line
# "-C", "linker=arm-none-eabi-ld", # "-C", "linker=/home/rmueller/.local/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/10.2.1-1.1.2/.content/bin/arm-none-eabi-ld",
# if you need to link to pre-compiled C libraries provided by a C toolchain # if you need to link to pre-compiled C libraries provided by a C toolchain
# use GCC as the linker by commenting out both lines above and then # use GCC as the linker by commenting out both lines above and then
# uncommenting the three lines below # uncommenting the three lines below
# "-C", "linker=arm-none-eabi-gcc", # "-C", "linker=/home/rmueller/.local/xPacks/@xpack-dev-tools/arm-none-eabi-gcc/10.2.1-1.1.2/.content/bin/arm-none-eabi-gcc",
# "-C", "link-arg=-Wl,-Tlink.x", # "-C", "link-arg=-Wl,-Tlink.x",
# "-C", "link-arg=-nostartfiles", # "-C", "link-arg=-nostartfiles",
] ]

14
.vscode/launch.json vendored
View File

@ -46,5 +46,19 @@
"interface": "jtag", "interface": "jtag",
"runToMain": true, "runToMain": true,
}, },
{
"type": "cortex-debug",
"request": "launch",
"name": "Debug RTT",
"servertype": "jlink",
"gdbPath": "/usr/bin/gdb-multiarch",
"cwd": "${workspaceRoot}",
"device": "VA10820",
"svdFile": "./va108xx-rs/svd/va108xx-base.svd.patched",
"preLaunchTask": "rust: cargo build rtt",
"executable": "${workspaceFolder}/target/thumbv6m-none-eabi/debug/examples/rtt_log",
"interface": "jtag",
"runToMain": true,
},
] ]
} }

12
.vscode/tasks.json vendored
View File

@ -51,5 +51,17 @@
"isDefault": true "isDefault": true
} }
}, },
{
"label": "rust: cargo build rtt",
"type": "shell",
"command": "~/.cargo/bin/cargo", // note: full path to the cargo
"args": [
"build", "-p", "vorago-reb1", "--example", "rtt_log",
],
"group": {
"kind": "build",
"isDefault": true
}
},
] ]
} }

3710
docs/sections_rtt.txt Normal file

File diff suppressed because it is too large Load Diff

@ -1 +1 @@
Subproject commit ca4ecc6ac67e5f37af7c5c443309d7f401a5c2dc Subproject commit 6c79b15edba39df889f2b90bd541822ade3ff83f

@ -1 +1 @@
Subproject commit 993f8c8c89ac2ad81acccf8a0802846a971c8bc2 Subproject commit 8d87e8183397b89e4b6c3870186187e4bf99a66a