Randy Mackay
06bb02fab7
AP_HAL: minor format fixes to CAN
2019-01-18 17:30:28 +11:00
LukeMike
45c5979999
AP_HAL: added define of ChibiOS sub type for VR Brain boards
2019-01-18 11:49:19 +11:00
Michael du Breuil
44079dcc46
AP_HAL: Add scripting heap
2018-12-31 19:25:23 -07:00
Andrew Tridgell
4889625826
AP_HAL: added set_slowdown() to SPIDevice
...
used to slow down a SPI device below normal high speed operation
2018-12-31 08:00:14 +11:00
Andrew Tridgell
d8cf1997d2
AP_HAL: added fs_init() to Util API
2018-12-31 08:00:14 +11:00
Andrew Tridgell
1fd1614e34
AP_HAL: added locking against read for UARTs
2018-12-29 15:58:22 +11:00
Peter Barker
24653a33ed
SITL: make socket manipulation functions bool rather than void
...
... so callers can check if they succeeded or not
2018-12-18 08:51:01 +11:00
Peter Barker
8a0e3dd657
AP_HAL: add millis16 to HAL; provide weak implementation
...
This wraps every minute or so - but if you only need to track intervals
under ~65 seconds could save RAM
2018-12-10 12:52:41 +09:00
Andrew Tridgell
8907506c18
AP_HAL: added replacement for memrchr()
2018-12-06 13:32:09 +11:00
Andrew Tridgell
a0be4f4c8d
AP_HAL: fixed build and comments
2018-12-06 11:12:40 +11:00
Andrew Tridgell
d01f5ae6c8
AP_HAL: added mavlink_packetise()
...
used for aligning MAVLink packets on UDP on packet boundaries
2018-12-06 11:12:40 +11:00
Andrew Tridgell
4cfb1b04ad
AP_HAL: define HAL_BOARD_STORAGE_DIRECTORY for sitl, px4 and chibios
2018-11-29 16:36:29 +11:00
Siddharth Purohit
df7d0d1971
AP_HAL: add support for unformatted board id
2018-11-29 16:36:29 +11:00
Andrew Tridgell
e629845f00
AP_HAL: minimize features on px4-v1
2018-11-26 13:29:40 +11:00
Andrew Tridgell
bed7939969
AP_HAL: added support for swapping RX and TX pins
2018-11-20 18:25:20 +11:00
Andrew Tridgell
f2cd6e9a05
AP_HAL: added set_reversible_mask()
2018-11-16 08:33:35 +11:00
Andrew Tridgell
a4c532edff
AP_HAL: fixed typo in fmax macro
2018-11-15 14:39:11 +11:00
Andrew Tridgell
58ed5a123c
AP_HAL: added HalfDuplex UART option
2018-11-14 19:05:09 +11:00
Andrew Tridgell
37fc6e8b1c
AP_HAL: added inversion options
2018-11-14 19:05:09 +11:00
Michael du Breuil
9a9e715af8
AP_HAL: Define HAL_HAVE_SERVO_VOLTAGE
2018-11-12 23:29:04 +00:00
Andrew Tridgell
9ea03e085d
AP_HAL: added readptr() and advance() to ObjectBuffer
...
this gives a more efficient way of accessing an ObjectBuffer, which
reduces interrupt latency in SoftSigReader
2018-11-07 07:35:45 +11:00
Andrew Tridgell
6c6dabc33c
AP_HAL: set default batt monitoring for bebop and disco
2018-10-31 20:30:35 +11:00
Peter Barker
f8b1203399
AP_HAL: provide method returning approximate link bandwidth
2018-10-30 19:31:37 +11:00
Kevin Lopez Alvarez
ab7c7afd1d
AP_HAL: add ChibiOS FMUv4pro
2018-10-21 09:59:44 +11:00
Peter Barker
f90dd0c156
AP_HAL: add simple tests for null-termination
2018-10-21 07:54:30 +11:00
Peter Barker
33e3d6e254
AP_HAL: Util: make vsnprintf and snprintf always null-terminate
...
The C++ standard indicates these functions always return a
null-terminated string. We should rename these functions if we're not
going to conform to the standards.
From https://en.cppreference.com/w/cpp/io/c/vfprintf :
"Writes the results to a character string buffer. At most buf_size-1
characters are written. The resulting character string will be
terminated with a null character"
We are still not standards-compliant in the case a length of 0 is passed
in, returning 0 where we should return the space that would be required
to store the formatted string.
2018-10-21 07:54:30 +11:00
Andrew Tridgell
5924816bbe
AP_HAL: removed hal.util->new_semaphore()
...
replaced with HAL_Semaphore
2018-10-17 12:54:22 +11:00
Andrew Tridgell
ed71790945
AP_HAL: fixed PX4 LED polarity
2018-10-09 20:25:49 +09:00
Michael du Breuil
73901274b0
AP_HAL: Define a scripting base priority
2018-10-09 10:08:52 +11:00
Michael du Breuil
6544f16339
AP_HAL: Make BBBlue use AP_BoardLED2
2018-09-19 22:58:46 +01:00
Michael du Breuil
6f7ced73d6
AP_HAL: Remove bad GPIO LED pins on NavIO2
2018-09-19 22:58:46 +01:00
Siddharth Purohit
9a2eea9769
AP_HAL: disable float print methods for non FPU controllers
2018-09-19 12:14:15 +10:00
Siddharth Purohit
5e4f76886a
AP_HAL: add chibios hal header to use uC specific defines
2018-09-19 12:14:15 +10:00
Siddharth Purohit
c546bec999
AP_HAL: do not use ch for channel, its used as a global var under ChibiOS
2018-09-19 12:14:15 +10:00
Andrew Tridgell
eec3a2ab31
AP_HAL: added FOREACH_I2C_MASK() macro
2018-09-07 08:36:02 +10:00
Andrew Tridgell
b4ecc347d7
AP_HAL: always define HAL_WITH_UAVCAN on px4
2018-09-05 08:52:47 +10:00
Peter Barker
15ae453205
AP_HAL: fix RCInput example
2018-08-31 21:08:11 +09:00
Peter Barker
fcacdb42bb
AP_HAL: define base-class attach_interrupt to return false
2018-08-31 08:32:08 +10:00
Andrew Tridgell
55dfefb2d6
AP_HAL: added HAL_Semaphore_Recursive
2018-08-25 15:44:36 +10:00
Peter Barker
74263f8412
AP_HAL: add attach_interrupt that takes a functor, not a AP_HAL::Proc
...
AP_HAL: add type-safety for interrupt types
AP_HAL: remove interrupt-low and interrupt-high, and interrupt-none
It is possible that the radio needs very tight timings - do not force
the use of the functor interface
AP_HAL: add detach_interrupt method
2018-08-21 20:34:01 +09:00
Peter Barker
c846a13d12
AP_HAL: functor: add != override
2018-08-21 20:34:01 +09:00
Andrew Tridgell
0a73c3492d
AP_HAL: support HAL_Semaphore type
2018-08-16 12:40:10 +10:00
Hwurzburg
5f72c9040e
AP_OSD: Adding flight distance and summary panels for OSD
2018-08-16 12:00:50 +10:00
Francisco Ferreira
0645a5b11a
AP_HAL: introduce a CANProtocol interface and remove HAL CAN thread management
2018-08-12 13:35:01 +01:00
Andrew Tridgell
1fe6c7b497
AP_HAL: added chanmask to serial_setup_output()
2018-08-04 19:29:13 +10:00
Lucas De Marchi
099eefee87
AP_HAL: Chibios: HAL_GPIO_PIN_SAFETY_IN implies HAL_HAVE_SAFETY_SWITCH
2018-08-02 13:15:02 -07:00
Lucas De Marchi
7f984f2700
AP_HAL: linux: disable safety switch
...
Linux boards don't really handle the safety switch.
2018-08-02 13:15:02 -07:00
Lucas De Marchi
2336d2214b
AP_HAL: sitl: disable safety switch
...
sitl doesn't really handle the safety switch and it's actually disabled
by AP_FEATURE_SAFETY_BUTTON.
2018-08-02 13:15:02 -07:00
Andrew Tridgell
949324ff2b
AP_HAL: added duration to toneAlarm_set_buzzer_tone
2018-07-30 14:02:12 +10:00
Jonathan Challinger
f936b1dbc2
AP_HAL: change tonealarm interface
2018-07-30 14:02:12 +10:00