# Creating a folder
mkdir example_example
cd example_example
# adding lib
git submodule add git@github.com:StarkStrom-Driverless/fse_pb_bsp.git
# checkout to version
# This is based on the version printed on the title page of the .pdf
cd fse_pb_bsp
git checkout <version>
./init.sh
# go back
cd ..
cd <example-folder>
# update submodule in the base dir
git submodule update
# checkout to version
# This is based on the version printed on the title page of the .pdf
cd fse_pb_bsp
git checkout <version>
./init.sh
# go back
cd ..
For building, flashing and debugging a tool called ss is provided. For this a soft link is created by the init script. The usage is very simple.
First you have to source the environment with
source .venv/bin/activateafter every new terminal startup
Type ./ss and you will get a overview of the functionality.
./ss buildbuilds the example./ss flashflashes the example to the controller./ss oocd_startstarts a open-ocd server. Withmake gdbyou get a gdb debug tui../ss canflash <file>.bin 0x80flashes the binary via CAN over the ID 0x80./ss oocd_stopstops the open-ocd server