-
VisualGDB notes
- deploy to
/home/pi/Desktop/PiLipClientNative - add the lib folder to the library path
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/pi/Desktop/PiLipClientNative/lib
- deploy to
-
Give each PI a unique network name
sudo nano /etc/hostname=> change namesudo nano /etc/hosts=> change namehostname=> test name- I used
rp3for my PI - This worked in the office, but not at home, I had to install
sambdaon the PI to make it discoverable.- TODO:
sambamight also allow us to directly copy files to it without using SSH.. - Editing the
etc/sambda/smb.conffile and appending the lines below worked for me; however,xcopywas a lot slower thanrsync
- TODO:
[pi-desktop] path = /home/pi/Desktop/ browsable = yes writable = yes read only = no force user = pi guest ok = yes security = user -
Define your PI's name in Windows 10 by adding an environment variable
TARGET_PI=<YOUR_PI_NAME> -
Install remote debugging and deployment tools
- On Windows, start
plinkonce to register this private keyCDinto the clone directory- Save your private key to
usr\private-key.ppk "c:\Program Files\PuTTY\plink.exe" -i usr\private-key.ppk pi@%TARGET_PI%- To synchronize files between the PI and Windows 10, I shared the
PiLipClient\binfolder aspi-lip-client.- I had to create a non-Microsoft-account local user (I called it
STS) to get this working
- I had to create a non-Microsoft-account local user (I called it
- On the PI:
sudo apt-get install cifs-utilssudo mkdir /mnt/pi-lip-clientsudo mount -t cifs //<WINDOWS_COMPUTER_NAME>/pi-lip-client /mnt/pi-lip-client -o username=STS,dir_mode=0777,file_mode=0777,serverino,sec=ntlmssp
- On Windows, start
Note that I was unable to start the debugger with Visual Studio 2017 as described in the article, so for now we have to use VSCODE. If you find a solution, please notify me