mirror of https://github.com/ArduPilot/ardupilot
8cec2c188f
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. |
||
---|---|---|
.. | ||
Makefile | ||
README.md | ||
RcAioPRU.p | ||
RcAioPRUTest.c | ||
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)
git clone https://github.com/beagleboard/am335x_pru_package.git
cd am335x_pru_package
make
sudo make install
Rebuild RCAioPRU.p
cd ardupilot/Tools/Linux_HAL_Essentials/pru/aiopru
make