ardupilot/Tools/Linux_HAL_Essentials/pru/rangefinderpru
Pierre Kancir 5628b8d230 Tools: fix executable permission and trailing whitespace 2022-06-08 08:16:42 +09:00
..
AM335x_PRU.cmd
HexUtil_PRU.cmd
Makefile
README.md Linux_HAL_Essentials: Add HC-SR04 README.md 2015-12-01 07:04:10 +11:00
pru_ctrl.h Tools: fix executable permission and trailing whitespace 2022-06-08 08:16:42 +09:00
rangefinder.c
rangefinderprudata.bin Linux_HAL_Essentials: Add PRU firmware files. Prevent user to install PRU compiler 2015-08-24 08:43:11 +10:00
rangefinderprutext.bin Linux_HAL_Essentials: Add PRU firmware files. Prevent user to install PRU compiler 2015-08-24 08:43:11 +10:00

README.md

PRU firmware for HC-SR04 rangefinder

HC-SR04 driver that can be used with BeagleBone Black

Install PRU C-Compiler

  1. sudo apt-get update
  2. sudo apt-get install ti-pru-cgt-installer

Rebuild rangefinder.c

  1. cd ardupilot/Tools/Linux_HAL_Essentials/rangefinderpru/
  2. make