ardupilot/Tools/Linux_HAL_Essentials/pru/aiopru
Lucas De Marchi 8cec2c188f Tools: add O_CLOEXEC in places missing it
By opening with O_CLOEXEC we make sure we don't leak the file descriptor
when we are exec'ing or calling out subprograms. Right now we currently
don't do it so there's no harm, but it's good practice in Linux to have
it.
2016-11-07 12:37:30 -03:00
..
Makefile
README.md Linux_HAL_Essentials: Add missing make command in README.md for aiopru 2016-04-29 11:59:21 -03:00
RcAioPRU.p
RcAioPRUTest.c Tools: add O_CLOEXEC in places missing it 2016-11-07 12:37:30 -03:00
RcAioPRU_bin.h

README.md

PRU firmware for 12 x PWM output and RC input

RC AllInOnePRU can be used with BeagleBone Black

  • Written in PRU Assembly
  • 1 channel RCInput with 5ns accuracy
  • 12 channel RCOutput with 1us accuracy

Build and install pasm (PRU Assembler)

  1. git clone https://github.com/beagleboard/am335x_pru_package.git
  2. cd am335x_pru_package
  3. make
  4. sudo make install

Rebuild RCAioPRU.p

  1. cd ardupilot/Tools/Linux_HAL_Essentials/pru/aiopru
  2. make