Skip to content
This repo contain example software for Pixracer
Branch: master
Clone or download
Latest commit e5e1bfe Feb 9, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
libopencm3 @ 0d7f1f7 Added libopencm3 submodule. Sep 22, 2018
timer Update Oct 4, 2018
usb_cdcacm Added cdcacm example. Jan 11, 2019
.gitignore cleaning Sep 23, 2018
.gitmodules Added libopencm3 submodule. Sep 22, 2018 Update Feb 8, 2019
stm32f4.ld Old linker script has some problem with allocating data into .data an… Sep 30, 2018


Pixracer examples is repo with examples for Pixracer hardware based on libopencm3. This project is not connected to the PX4 project but it will help you to understand the basics of PX4 hardware and bootloader software.

Examples are done with Black Magic probe debugger and Eclipse or Visual Studio Code editor (VSC). Examples include json files with building and debugging settings for VSC.

Connecting Pixracer with Black Magic Probe

Here is the link to the blog post which describes how to connect it.

Static Linux device port for Black Magic Probe (VSCode config in examples use it)

You would like to have the same port name each time you connect disconnect your Black Magic Probe. Here is the description of how to do it.

Create or modify the file:

sudo nano /etc/udev/rules.d/50-usb.rules

Add this line:

ACTION=="add", ATTRS{interface}=="Black Magic GDB Server", MODE="0777", SYMLINK+="ttyBMP"

and after editing, do this command:

sudo udevadm trigger

After you reconnect your BMP, you can use ttyBMP instead ttyACMx.

Building from VSCode

Press ctrl + B and select build or clean.

You can’t perform that action at this time.