Open main menu

DAVE Developer's Wiki β

Changes

Integrating VSC e PVRT32
*After opening VSC from the root directory of the <code>freertos_hello_world</code> project, install the ''Native Debug'' extension.
*Then, create a <code>launch.json</code> file by selecting ''Debug->Add Configuration->GDB''. The file should look like this:
<presyntaxhighlight lang="text">
{
// Use IntelliSense to learn about possible attributes.
]
}
</presyntaxhighlight>
*Edit the PVT32's configuration file (ususally named <code>config.t32</code>) and add the following lines:
<presyntaxhighlight lang="text">
; Remote Control Access
GDB=NETASSIST
PORT=30000
PROTOCOL=TCP
</presyntaxhighlight>
*Run PVT32 and start a debugging session (see for instance [[BELK-TN-007:_FreeRTOS_on_single-core_Bora_Lite_SoM#Running_the_application|this section]].
[[File:TBD.png|thumb|center|600px|Debugging session started on PVT32 side]]
</syntaxhighlight>
While debugging, right-click on the line you want to edit and select ''Edit Source''. The source file will be open into VSC, which will jump on the selected line.[[File:TBD.png|thumb|center|600px|Using VSC as the default editor for PVT32]]
===Catching cross-tool chain output===
4,650
edits