Andrew Tridgell
9835043dd5
HAL_PX4: support FMUv4
9 years ago
Caio Marcelo de Oliveira Filho
a76c9e0051
AP_HAL_PX4: use millis/micros/panic functions
9 years ago
Tom Pittenger
072d35b9cc
AP_HAL_PX4: remove unused var
10 years ago
Andrew Tridgell
e73ac418df
HAL_PX4: prevent error on GPIO line on change of pinMode
...
thanks to Michael for noticing this
10 years ago
Gustavo Jose de Sousa
08333f1ffe
AP_HAL_PX4: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
10 years ago
Andrew Tridgell
1b61f6f636
HAL_PX4: fixed USB connected on AUAV-X2
...
this is the 2nd attempt at a fix for the usb_connected status on
AUAV-X2
10 years ago
Andrew Tridgell
f4a9f9876f
HAL_PX4: make usb_connected() more robust
...
thanks to a suggestion from Phillip Kocmoud, this should fix issues
with the XUAV-X2
10 years ago
Tom Pittenger
3b3752468d
HAL_PX4: fix compile warnings re unused variables
10 years ago
Andrew Tridgell
619196b6b3
HAL_PX4: fixes for new PX4 device paths
10 years ago
Andrew Tridgell
37c50d9587
HAL_PX4: fixed use of FMU servo pins as digital inputs
...
these pins can be PWM output or digital input or digital output
11 years ago
Andrew Tridgell
99b41f110f
HAL_PX4: enable the FMU PWM pins to be used as GPIO when needed
11 years ago
Andrew Tridgell
a5b29f44d5
AP_HAL: added hal.gpio->usb_connected() function
...
this replaces the USB_MUX_PIN on APM2, and works on PX4 and FMUv2
12 years ago
Andrew Tridgell
fb56feb6b2
HAL_PX4: support all analog input pins, with scaling
...
this allows voltage/current/Vcc sensing on FMUv2
12 years ago
Andrew Tridgell
5e33bbd197
PX4: fixed sense of relay pins
12 years ago
Randy Mackay
07abfc59ac
AP_HAL_PX4: compile error fix
12 years ago
Randy Mackay
ac36a09747
AP_HAL: add toggle to GPIO
12 years ago
Andrew Tridgell
0527bae8cb
PX4: support PX4IO relay pins
...
this allows the pins to be used in the relay code
12 years ago
Andrew Tridgell
3bc035d83a
HAL_PX4: fixed GPIO build
...
don't use vehicle includes
12 years ago
Andrew Tridgell
0f677e3a10
HAL_PX4: fixed build on FMUv1
12 years ago
Andrew Tridgell
091b989b30
HAL_PX4: some GPIO functions are not available on FMUv2 yet
12 years ago
Andrew Tridgell
83b13c3d88
HAL_PX4: fixed definition of relay and piezo pins
12 years ago
Marco Bauer
a3b216bce3
HAL_PX4: added GPIO driver
12 years ago