Andrew Tridgell
c63459c237
AP_HAL: added save/restore of attitude in backup registers
6 years ago
Andrew Tridgell
bd84c0a8df
AP_HAL: added save/restore of home to backup registers
6 years ago
Andrew Tridgell
4a3687fcf6
AP_HAL: added was_watchdog_armed()
...
allow decisions to be based on whether this is a watchdog reset and we
were armed
6 years ago
Andrew Tridgell
8d2f094257
AP_HAL: added was_watchdog_safety_off()
...
used to restore safety state on watchdog reset
6 years ago
Andrew Tridgell
88352b73bb
AP_HAL: added expect_delay_ms() to Scheduler
...
used to notify scheduler of long expected delay in main thread
6 years ago
Andrew Tridgell
7f96d4ad12
AP_HAL: added was_watchdog_reset()
6 years ago
Andrew Tridgell
65d051cbc9
AP_HAL: added hal.flash driver
...
needed for semaphore
6 years ago
murata
dc452d41d2
AP_HAL: Change to shared CRC16 method
6 years ago
Siddharth Purohit
0d4725d6c6
HAL: add Invensense register bank based sensor types
6 years ago
Andrew Tridgell
20d762293d
AP_HAL: remove more px4 remnants
6 years ago
Andrew Tridgell
dcc038dc83
AP_HAL: prevent a zero length leading buffer in peekiovec
6 years ago
Peter Barker
8efda2b792
AP_HAL: GCS_MAVLink takes care of mavlink capabilities
6 years ago
Peter Barker
e4e453402c
AP_HAL: rearrange headers for consistency
...
Move attribute definitions all into AP_Common, rather than being split between two files
Remove unused SITL_printf macros
Stop AP_Common including board information
Include AP_Common.h in AP_HAL::Sempahore for WARN_IF_UNUSED; this was the cause of a circular import problem fixed by other commits in this patch.
6 years ago
LukeMike
e15d2c0f89
HAL_ChibiOS: added ChibiOS configuration of VR Brain 5.4
6 years ago
LukeMike
33f7f5b7b6
HAL_ChibiOS: added ChibiOS configuration for VR Core 1.0
6 years ago
LukeMike
f615ab9a0a
HAL_ChibiOS: added ChibiOS configuration for VR Brain 5.1
6 years ago
Siddharth Purohit
504cfd8989
AP_HAL: add flag for enable/disabling filters
6 years ago
Andrew Tridgell
c04f1180c9
AP_HAL: removed F4Light
6 years ago
mirkix
506da9ac42
AP_HAL: enable UAVCAN for bbbmini, blue and pocket
6 years ago
Randy Mackay
06bb02fab7
AP_HAL: minor format fixes to CAN
6 years ago
LukeMike
45c5979999
AP_HAL: added define of ChibiOS sub type for VR Brain boards
6 years ago
Michael du Breuil
44079dcc46
AP_HAL: Add scripting heap
6 years ago
Andrew Tridgell
4889625826
AP_HAL: added set_slowdown() to SPIDevice
...
used to slow down a SPI device below normal high speed operation
6 years ago
Andrew Tridgell
d8cf1997d2
AP_HAL: added fs_init() to Util API
6 years ago
Andrew Tridgell
1fd1614e34
AP_HAL: added locking against read for UARTs
6 years ago
Peter Barker
24653a33ed
SITL: make socket manipulation functions bool rather than void
...
... so callers can check if they succeeded or not
6 years ago
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
6 years ago
Andrew Tridgell
8907506c18
AP_HAL: added replacement for memrchr()
6 years ago
Andrew Tridgell
a0be4f4c8d
AP_HAL: fixed build and comments
6 years ago
Andrew Tridgell
d01f5ae6c8
AP_HAL: added mavlink_packetise()
...
used for aligning MAVLink packets on UDP on packet boundaries
6 years ago
Andrew Tridgell
4cfb1b04ad
AP_HAL: define HAL_BOARD_STORAGE_DIRECTORY for sitl, px4 and chibios
6 years ago
Siddharth Purohit
df7d0d1971
AP_HAL: add support for unformatted board id
6 years ago
Andrew Tridgell
e629845f00
AP_HAL: minimize features on px4-v1
6 years ago
Andrew Tridgell
bed7939969
AP_HAL: added support for swapping RX and TX pins
6 years ago
Andrew Tridgell
f2cd6e9a05
AP_HAL: added set_reversible_mask()
6 years ago
Andrew Tridgell
a4c532edff
AP_HAL: fixed typo in fmax macro
6 years ago
Andrew Tridgell
58ed5a123c
AP_HAL: added HalfDuplex UART option
6 years ago
Andrew Tridgell
37fc6e8b1c
AP_HAL: added inversion options
6 years ago
Michael du Breuil
9a9e715af8
AP_HAL: Define HAL_HAVE_SERVO_VOLTAGE
6 years ago
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
6 years ago
Andrew Tridgell
6c6dabc33c
AP_HAL: set default batt monitoring for bebop and disco
6 years ago
Peter Barker
f8b1203399
AP_HAL: provide method returning approximate link bandwidth
6 years ago
Kevin Lopez Alvarez
ab7c7afd1d
AP_HAL: add ChibiOS FMUv4pro
6 years ago
Peter Barker
f90dd0c156
AP_HAL: add simple tests for null-termination
6 years ago
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.
6 years ago
Andrew Tridgell
5924816bbe
AP_HAL: removed hal.util->new_semaphore()
...
replaced with HAL_Semaphore
6 years ago
Andrew Tridgell
ed71790945
AP_HAL: fixed PX4 LED polarity
6 years ago
Michael du Breuil
73901274b0
AP_HAL: Define a scripting base priority
6 years ago
Michael du Breuil
6544f16339
AP_HAL: Make BBBlue use AP_BoardLED2
6 years ago
Michael du Breuil
6f7ced73d6
AP_HAL: Remove bad GPIO LED pins on NavIO2
6 years ago