-
Notifications
You must be signed in to change notification settings - Fork 0
install OpenPilotPort to brainyfly board
Vasily edited this page Dec 23, 2013
·
1 revision
-
Install Debugger and firmware uploader (OpenOCD 0.7.0)
- download OpenOCD from web site: http://www.freddiechopin.info/en/download/category/4-openocd?download=99%3Aopenocd-0.7.0
- unpack to working directory (for example c:/OpenOCD/)
- add this directory to PATH environment variable.
- rename executable file to openocd.exe
- check that openocd command is available from cmd line in any other directory (for example in c:)
- download WinUSB installer from https://sourceforge.net/projects/libwdi/files/zadig/
- connect ST-Link debugger to computer.
- launch zadig.exe
- If you device is not visible in drop-down choose "Check Options > List All Devices"
- Select your device in drop-down list
- From the right (active) selector choose WinUSB (...) driver
- Click Install Driver or Replace Driver below
-
Prepare OpenPilot
- git clone https://github.com/dibalavs/OpenPilotPort.git
- prepare build tools. in Root directory launch: make all_sdk_install
-
build bootloader
- build and flash bootloader: make bl_brainyfly_program
- if you want only build bootloader without flashing launch: make bl_brainyfly
-
build firmware
- build and flash firmware: make fw_brainyfly_program
- if you want only build firmware without flashing: make fw_brainyfly
-
build Ground Control Station
- make gcs