Richard Marko
04b46678a4
treewide: fix shebangs - /bin/bash -> /usr/bin/env bash
...
Most scripts/tools use non-portable `/bin/bash`, switch
to environment agnostic `/usr/bin/env bash`.
2024-02-13 11:36:23 +11:00
Pierre Kancir
5628b8d230
Tools: fix executable permission and trailing whitespace
2022-06-08 08:16:42 +09:00
dorovl
3644939246
BeagleBone : comments corrected in RcAioPRU.p
2020-07-01 10:27:33 -07:00
dorovl
70f445e7f1
Bone : Faulty PWM output after few flight controller restarts due to wrong IEP Timer configuration
...
modified: Makefile
modified: RcAioPRU.p
modified: RcAioPRUTest.c
modified: RcAioPRU_BBBLUE_bin.h
modified: RcAioPRU_BBBMINI_bin.h
modified: RcAioPRU_POCKET_bin.h
new file: start_test
2020-05-11 18:57:55 +10:00
mirkix
f4a38d6f2a
Linux_HAL_Essentials: PocketPilot: change pinorder to final design
2018-05-04 08:00:49 +10:00
mirkix
d3d46a7f2c
Linux_HAL_Essentials: set default pwm to 0us
2018-01-11 16:35:10 +00:00
mirkix
7126b0c5ae
Linux_HAL_Essentials: add PocketPilot PRU Firmware
2017-12-27 16:01:55 +00:00
Mirko Denecke
b77ce1df6c
Tools: update BBBmini Device Tree location
2017-02-03 09:10:36 +11:00
mirkix
655a6e0df7
Tools: remove BBBmini DTB
2017-02-03 09:10:36 +11:00
mirkix
d0fce3b1d7
Linux_HAL_Essentials: Restructure BeagleBone PRU firmware for BBBmini and BeagleBone Blue
2017-01-26 23:15:52 -08:00
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
Lucas De Marchi
524b0870ff
Tools: remove unused Linux scripts/sources
2016-05-18 11:51:45 -03:00
Ricardo de Almeida Gonzaga
1062aed91e
Tools: Fix typos
2016-05-13 19:20:07 -03:00
mirkix
106f26d204
Linux_HAL_Essentials: Add missing make command in README.md for aiopru
2016-04-29 11:59:21 -03:00
Lucas De Marchi
36336e17b3
Tools: replace header guard with pragma once
2016-03-16 18:40:45 +11:00
mirkix
ef56d952cd
Linux_HAL_Essentials: Add HC-SR04 README.md
2015-12-01 07:04:10 +11:00
mirkix
fe442d35df
Linux_HAL_Essentials: Add AioPRU README.md
2015-12-01 07:03:28 +11:00
Gustavo Jose de Sousa
fe8d471490
Tools: RCInput_UART PIC firmware: keep status led on
...
Keep status led on while we are continuously sending packets to serial. That
shows the user we are receiving input properly.
2015-11-04 13:55:10 +11:00
Gustavo Jose de Sousa
2c9472c634
Tools: RCInput_UART PIC firmware: blink status led when idle
...
Blink status led if there's no input in more than (2 * NUM_INPUT) ms. That's
useful to show the user that the program is working, but not receiving proper
input.
2015-11-04 13:55:10 +11:00
Gustavo Jose de Sousa
6a8420aa48
Tools: RCInput_UART PIC firmware: remove code out of place
...
That code for serial configuration was not really setting TXSTA register, since
the selected bank is 2. Looking at the datasheet, it seems that we were
actually messing with a register named VRCON (full name "VOLTAGE REFERENCE
CONTROL REGISTER").
This is probably a leftover from a copy/paste, since the same is done (in the
right place) previously.
2015-11-04 13:55:10 +11:00
Gustavo Jose de Sousa
2a7e4baa7d
Tools: RCInput_UART PIC firmware: add informative comments
2015-11-04 13:55:10 +11:00
Fabio Mello
8110104361
Tools: add PIC assembly code for RCInput_UART
...
This patch adds the assembly source code for the PIC firmware responsible for
processing PWM input from the RC Receiver and pushing the values to the serial
output.
2015-11-04 13:55:10 +11:00
Mirko Denecke
d93200f3b1
Linux_HAL_Essentials: Update README.md
2015-10-08 15:24:14 +09:00
Víctor Mayoral Vilches
5036be6771
Linux_HAL_Essentials: ERLEBOARD legacy support
...
This config referred to the legacy Erle-Board
https://erlerobotics.com/blog/product/erle-board/
The configuration is preserved to support the
existing boards.
2015-09-09 10:31:55 +10:00
mirkix
6f77d3ae98
Linux_HAL_Essentials: Add PRU firmware files. Prevent user to install PRU compiler
2015-08-24 08:43:11 +10:00
Peter Barker
818bb3f88f
Tools: correct array-out-of-bounds in PRU test
2015-07-10 18:56:20 +10:00
mirkix
38318c4b51
Linux_HAL_Essentials: Add support for HC-SR04 Range Finder
2015-07-07 08:00:32 +10:00
mirkix
2e04effd4d
Linux_HAL_Essentials: Add (UAV)CAN support
2015-04-07 20:48:01 -07:00
mirkix
1f85a087ac
Linux_HAL_Essentials: Move pwmpru and rcinpru to subfolder pru
2015-03-17 08:21:46 +11:00
mirkix
a0f183e6ce
Linux_HAL_Essentials: Move PFX DT files to devicetree/pxf
2015-03-17 08:20:51 +11:00
mirkix
bd34ffa7db
Linux_HAL_Essentials: RC AIO PRU firmware. Does RC input (5ns accuracy) and 12 PWM RC ouputs (better than 1us accuracy) with only one PRU.
2015-03-16 09:33:55 +11:00
mirkix
b88dc40e79
Linux_HAL_Essentials: Add device tree for BBBMINI
2015-03-16 09:15:06 +11:00
mirkix
189dd158d7
Linux_HAL_Essentials: add channel mapping comments for RCInput and RCOutput
2015-01-13 12:18:42 +13:00
bugobliterator
b383e1633b
Tools/Linux_HAL_Essentials: Add loading of PWM capes to support ToneAlarm
...
new capes to be loaded by startup.sh: am33xx_pwm and bone_pwm_P8_36
2014-11-10 06:27:48 +11:00
Andrew Tridgell
b0c9e97181
Linux_HAL_Essentials: P8.15 is an input pin
2014-10-08 12:50:50 +11:00
Andrew Tridgell
e0caee9500
Linux_HAL_Essentials: rebuilt rcinpru0 with 300 ring buffer entries
...
thanks to Sid for doing this
2014-10-07 14:57:35 +11:00
Andrew Tridgell
994b2597fd
Linux_HAL_Essentials: change ring buffer to 300 entries
...
this ensures full SBUS frames can be decoded
2014-10-07 14:57:34 +11:00
Andrew Tridgell
e629a8d67a
Linux: added example startup script for plane
2014-08-19 20:03:33 +10:00
bugobliterator
5e03df2d9a
Tools:HAL_Linux_Essentials: store pin status during pulse instead of status after pulse
2014-08-19 10:08:16 +10:00
bugobliterator
210d3e8c32
Tools:HAL_Linux_Essentials:add rcinput test code
...
the test code performs continuous reads from ring buffer shared with PRU0
2014-08-19 10:08:16 +10:00
bugobliterator
d8e36fee41
Tools:HAL_Linux_Essentials: Add PRU side of code for RCinput to run on PRU0
...
PRU0 with rcinpru0 firmware will be timing pin state changes and loading it inside ring buffer maintained inside SHARED_RAM at 0x12000 offset
2014-08-19 10:08:16 +10:00
Victor Mayoral Vilches
04a8377462
Tools: Change sensor configurations easily.
...
This shell script allows to change the sensor configuration
(for now just supports IMU changes) so that the autopilot is
compiled for different combinations of sensors. This has probed
to be useful with Linux-based boards (e.g.: PXF, Erle-board)
that include serveral, different sensors for each kind.
2014-08-19 10:08:16 +10:00
bugobliterator
6b619562b5
Tools: Remove unrequired pru0 pin setups from BB-PXF-01-00A0 overlay
2014-07-25 15:29:29 +10:00
bugobliterator
fdf916025a
Tools: add unified device tree overlay to load all requisites
...
no more loading multiple capes to enable pru, spi, pwm etc. Steps to load the cape during boot also added.
2014-07-25 15:29:27 +10:00
Andrew Tridgell
0dcd0e600b
Tools: remove unused Linux device tree files
2014-07-19 14:48:43 +10:00
Andrew Tridgell
4e7e69bafb
Tools: added dtbo for PXF cape
2014-07-19 13:58:31 +10:00
Andrew Tridgell
183795df02
Tools: fixed DTS Makefile
2014-07-19 13:26:47 +10:00
Andrew Tridgell
ad532b89bd
Tools: new dts file for SPI on PXF cape
2014-07-19 13:22:09 +10:00
bugobliterator
003806fcc1
HAL_Linux: pwmpru,HAL_Linux_RCOut code doesn't wait for magic flag to send data
...
change pwmpru code to remove frequent wrong PWM outputs
Replace pru firmware with new modified pru firmware
2014-07-14 09:44:37 +10:00
Andrew Tridgell
e2822a2d8f
Tools: added Makefile for BBB overlays
2014-07-14 09:44:35 +10:00