-
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
rp3
for my PI - This worked in the office, but not at home, I had to install
sambda
on the PI to make it discoverable.- TODO:
samba
might also allow us to directly copy files to it without using SSH.. - Editing the
etc/sambda/smb.conf
file and appending the lines below worked for me; however,xcopy
was 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
plink
once to register this private keyCD
into 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\bin
folder 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-utils
sudo mkdir /mnt/pi-lip-client
sudo 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