Open main menu

DAVE Developer's Wiki β

Changes

Integrating VSC e PVRT32
==Integrating VSC e PVRT32==
===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. *Then, create a <code>launch.json</code> file by selecting ''Debug->Add Configuration->GDB''. The file should look like this:
<pre>
{
}
</pre>
  4) Avvia TRACE32 *Edit the PVT32's configuration file (simulatore o anche jtag debugger, è indifferente) con abilitato il controllo remoto come GDB backend Vedi file ususally named <code>config-gdb.t32, il tuo config file deve avere</code>) and add the following lines:
<pre>
; Remote Control Access
PROTOCOL=TCP
</pre>
 Per avviare t32 con questo config file si usa t32marm.exe *Run PVT32 and start a debuggin session (see for instance [[BELK-TN-c config007:_FreeRTOS_on_single-gdbcore_Bora_Lite_SoM#Running_the_application|this section]].t32*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.Si può usare il link nello [[File:TBD.zip, magari correggendo i path:png|thumb|center|600px|caption]]
C:\T32\bin\windows64\t32marm.exe -c C:\T32+\T32-demo\VSCode\config-gdb.t32
===Jumping from PVT32 to VSC to edit source files===
===Catching cross-tool chain output===
4,650
edits