Prepare Windows Flash Drive
The first step required is to format the USB Flash drive for the native OS. On Windows 10 follow the steps below.
Insert the USB Flash drive into the computer
Launch the Disk Management tool
Open the Start Menu
Type in “Create and format hard disk”
Click the “Create and format hard disk partitions” Control Panel result
Select the USB Flash drive in the list at the top
Right click on the USB Flash drive and select “Format…“
Type in a name for the drive
Select the “NTFS” option for the File System
-
Click the “OK” button when it asks to continue
When it's finished close the Disk Management window
Add Windows Applications
The next step is to add the applications that are needed.
Open an Explorer window and select the USB Flash drive
Create a folder called “Applications”
Download and install the Raspberry Pi Imager app
-
-
Follow the prompts to install the app. At the end uncheck the option to “Run Raspberry Pi Imager” and click “Finish”
Open another Explorer window and navigate to C:\Program Files (x86)
Drag the Raspberry Pi Imager folder to the Applications folder on the USB Flash drive
Download and install the Win32-OpenSSH app
-
Open the downloaded file and select the Extract all icon on the Extract toolbar
Change the path to the Applications folder on the USB Flash drive and click the “Extract” button
Download and install the Visual Studio Code app
-
Open the downloaded file and select the Extract all icon on the Extract toolbar
Change the path to a Visual Studio Code subfolder of the Applications folder on the USB Flash drive and click the “Extract” button
Create a new folder named “data” in the Visual Studio Code folder on the USB Flash drive
Install required extensions in Visual Studio Code
Open the Code app from the Visual Studio Code folder on the USB Flash drive
Click on the extensions icon
Type “Python” in the search field
Click the “Install” button for the Python extension
Type “C/C++” in the search field
Click the “Install” button for the C/C++ extension
Type “Remote-SSH” in the search field
Click the “Install” button for the Remote - SSH extension
Close Visual Studio Code
Download and install the PuTTY app
-
Open the downloaded file and select the Extract all icon on the Extract toolbar
Change the path to a PuTTY subfolder of the Applications folder on the USB Flash drive and click the “Extract” button
Create a batch file to setup paths for Visual Studio Code
Open the Code app from the Visual Studio Code folder on the USB Flash drive
-
Enter the following text
SET PATH=%~dp0\OpenSSH-Win64;%~dp0\"Visual Studio Code";%PATH%
Code
-
Browse to the “Applications” folder on the USB Flash drive, enter “VSCode.cmd” for the File name: and click Save
Close Visual Studio Code
Download and install the Win32DiskImager app
-
Open the downloaded file and select the Extract all icon on the Extract toolbar
Change the path to a Win32DiskImager subfolder of the Applications folder on the USB Flash drive and click the “Extract” button
Add Web Link
-
Open an Explorer window and select the USB Flash drive
Right click in the Explorer window and select New→Shortcut
Select the web address at the top of the Edge window, copy it and paste it for the location of the item
-
Enter “Robot Club” for the name of the shortcut
Click the “Finish” button
"For every house is built by someone, but the builder of all things is God. - Hebrews 3:4"