EasyManua.ls Logo

Peak Industry - Page 16

Peak Industry
27 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PCAN-Router DR – User Manual
16
Do the following to create your own firmware:
1. Create a folder on your local PC. We recommend using a
local drive.
2. Copy the complete unzipped PEAK-DevPack directories into
your folder, incl. all subs.
No installation is required at all.
3. Run the script SetPath_for_VSCode.vbs. This script will
modify the example directories for the Visual Studio Code
IDE (https://code.visualstudio.com/).
After that every example directory has a folder called
.vscode containing the needed files with your local path
information.
4. Now you can start Visual Studio Code which is available for
free from Microsoft.
5. Select the folder of your project and open it.
For example: d:\PEAK-DevPack\Hardware\PCAN-
Router_DR\Examples\01_ROUTING
6. You can edit the C code and call make clean, make all, or
compile single file via the menu Terminal > Run Task.
7. Create your firmware with Make All.
The firmware is the *.bin in the sub directory out of your project
folder.
Note: The standard firmware that is installed at delivery is not
available as source code. It can be downloaded from the PEAK-
System website.