Changes

Jump to: navigation, search
Starting a debug session
The target has to be configured to mount the root file system over NFS. Please refer to [https://wiki.dave.eu/index.php/BELK/BXELK_Quick_Start_Guide#Target_configuration_for_the_development_stage_.28net_nfs.29|this link] for more details.
The example project associated with this application note should be located copied in this directory of the host machine: <code>/bora/rfs/belk-4.0.0/home/root/hello</code>. This directory is seen by the target machine as <code>/home/root/hello</code>.
Please note that you need to change the permissions of the directory <code>/bora/rfs/belk-4.0.0/home/root/hello</code> in order to allow the user <code>dvdk</code> to access it without any restrictions:
-rw------- 1 root root 1102 Jun 12 10:41 .bash_history
drwxr-xrwx 4 root root 4096 Jun 12 14:55 hello/
</pre>After completing this step, you should see these files:[[File:BELK-AN-009-tree.png|center|thumb|Files of the example project]]
==The example project==
==Starting a debug session==
On the host side, copy the example project  In practice, once the target is up and running and the example project was copied onto the host machine, follow these steps to start a cross-debugging session:. Prior to the first debug session,
*Open the VSCode workspace
*Select the <code>(gdb) Cross launch</code> configuration
4,650
edits

Navigation menu