Open main menu

DAVE Developer's Wiki β

Changes

Integrating VSC e PVRT32
</pre>
==Integrating VSC e PVRT32PVT32==
===Debugging in VSC by using PVT32 as a communication bridge===
*After opening VSC from the root directory of the <code>freertos_hello_world</code> project, install the ''Native Debug'' extension.
}
</syntaxhighlight>
*Edit the PVT32's configuration file (ususally usually named <code>config.t32</code>) and add the following lines:
<syntaxhighlight lang="text">
; Remote Control Access
PROTOCOL=TCP
</syntaxhighlight>
*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:BoraLite-VSC1.png|thumb|center|600px|Debugging session started on PVT32 side]]
*On VSC side, start a debugging session by pressing F5. VSC will start a debug session that is synchronized with PVT32 as shown in the following image. So you can set breakpoints, steb-by-step execute the code, etc. on VSC side, but the actual operations will be done on the target by PVT32.
4,650
edits