Siddharth Purohit
d31b44fa79
AP_HAL: add methods to extract devid details
5 years ago
Michael du Breuil
1fef30eef1
AP_HAL: Extend UART options to include forwarding MAVLink telemetry
5 years ago
Peter Barker
bd8c4017bc
AP_HAL: log accumulated power status flags; all flags ever set
5 years ago
Peter Barker
85b1264ff4
AP_HAL: add WARN_IF_UNUSED to several methods
5 years ago
Andrew Tridgell
19093e25be
AP_HAL: added ptr accessors to sparse-endian.h
5 years ago
Peter Barker
fd3dd77489
AP_HAL: rename ringbuffer empty() to is_empty()
5 years ago
Peter Barker
d259c03079
AP_HAL: BetterStream add a read(uint8_t*buffer, uint16_t count method
5 years ago
Peter Barker
a8d03990ec
AP_HAL: add discard_input method on UARTDriver
5 years ago
Andy Piper
e2ef0bd36e
AP_HAL: collect data for three largest peaks
...
new dsp peak detection algorithm
add DSP sketch with frequency ascii art
tool to generate gyro data frames from batch sampled DF logs
add generated data from real Y6B flight
allow fft_start() to use ObjectBuffer<float> for lock-free access
allow ObjectBuffer to be resized
5 years ago
Peter Barker
141d7fed48
AP_HAL: create and use INTERNAL_ERROR macro so we get line numbers
5 years ago
Andrew Tridgell
a25ea5addc
AP_HAL: added thread name to persistent data
...
this addes the first 4 bytes of the thread name to persistent data. It
also re-arranges the data so that it is more efficiently packed,
allowing us to fit the new field
5 years ago
Andrew Tridgell
164022ca12
AP_HAL: added thread_info() API
5 years ago
Andrew Tridgell
34df438560
AP_HAL: added wait_pin() API
...
for waiting on data-ready lines
5 years ago
Andrew Tridgell
efe78fe3e1
AP_HAL: allow SITL to emulate 3 different types of flash storage
5 years ago
Andrew Tridgell
e1792f89db
AP_HAL: fixed default HAL_STORAGE_SIZE for flash storage
5 years ago
Peter Barker
73e43d8da5
AP_HAL: send statustext at regular intervals after watchdog reset
5 years ago
bugobliterator
afea703aaf
AP_HAL: ensure libc realloc is available for all platforms except ChibiOS
5 years ago
bugobliterator
c615bd9874
AP_HAL: implement standard realloc method
5 years ago
Peter Barker
a59c3670c8
AP_HAL_ChibiOS: stash lr_thd in watchdog hardfault handler
5 years ago
Andrew Tridgell
add7615ed9
AP_HAL: removed unnecessary subtypes
5 years ago
Andrew Tridgell
58b4b523fd
AP_HAL: added in_expected_delay()
...
allows for error message suppression when delays are expected
5 years ago
Peter Hall
6ab13333c2
AP_HAL: support ProfiLEDs
5 years ago
Peter Barker
09562e1f13
AP_HAL_Linux: use constants for high/low rather than defines, like ChibiOS
...
These are really bad defines to have hanging around for general use.
5 years ago
Andrew Tridgell
5d15d867b5
AP_HAL: adjust LED API to allow more than 32 LEDs on a pin
5 years ago
Andy Piper
509341957f
AP_HAL: check for div0 in quinn's estimator
5 years ago
Andy Piper
f4a99a1589
AP_HAL: hardware abstraction for FFT.
...
control inclusion of FFT based on HAL_WITH_DSP and HAL_GYROFFT_ENABLED. target appropriate ARM cpus
define hanning window and quinn's estimator
start/analyse version of FFT to support threading
allocate memory in a specific region
calculate frequency and noise bandwidth of two noisiest peaks
control inclusion of DSP based on board size
5 years ago
Peter Hall
2bd6d4674b
AP_HAL: utility: add thread safe ring buffer duplicate
5 years ago
Willian Galvani
4afdff746e
AP_HAL: Fix Navigator orientation
...
The Rev2 prototype board had the IMU rotated
5 years ago
Randy Mackay
a71ae54d3a
AP_HAL: add RCOutput::get_output_mode_banner
5 years ago
Andrew Tridgell
3105c6a050
AP_HAL: added pulse_input_enable() API
...
this allows disabling pulse input at runtime to lower CPU load on
IOMCU when decoding via a UART
5 years ago
Peter Barker
1344827c07
AP_HAL: add empty overridable trap method
5 years ago
Andrew Tridgell
f683741a9c
AP_HAL: make all semaphores recursive
...
the cost is very similar and this prevents an easy coding error which
can occur on less used code paths
5 years ago
Andrew Tridgell
629ebbb8ea
AP_HAL: removed old PX4 define
5 years ago
Patrick José Pereira
dc44a17c46
AP_HAL: Add navigator board
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
5 years ago
Peter Barker
f6bb94ff33
AP_HAL: add missing break statement in dsm code
5 years ago
Andrew Tridgell
4eccea2607
AP_HAL: define more UART option bits
5 years ago
Andrew Tridgell
12b6f73d83
AP_HAL: added erase() method to Storage class
5 years ago
Andy Piper
22d6fd5e1f
AP_HAL: update docs for ObjectBuffer
5 years ago
Peter Barker
10c50844fd
AP_HAL: stop emitting extra CR before a LF as part of our printf
5 years ago
Peter Barker
3f9a4ee5f9
AP_HAL: fix unit test compilation due to -Werror=format-truncation
5 years ago
Andrew Tridgell
29a2351fd0
AP_HAL: rename AP_HAL::CAN to AP_HAL::CANHal
...
avoid conflict with ChibiOS STM32F3xx headers
5 years ago
Andrew Tridgell
9a778418a5
AP_HAL: use enum for flash_bootloader() result
5 years ago
Andrew Tridgell
15d98220e0
AP_HAL: enabled SLCAN on fmuv2 and Pixhawk1-1M
...
this fits for now, and is needed for CAN GPS for now
5 years ago
Andrew Tridgell
53fab5767f
AP_HAL: cleanup ifdefs for SLCAN enable
5 years ago
Andrew Tridgell
2d00298070
AP_HAL: added HAL_MEM_CLASS for amount of memory
5 years ago
Andrew Tridgell
81711eb28e
AP_HAL: fixed build on g++ 7.3 for stm32
...
the system maths headers don't like our maths defines, but are happy
if we include math.h first
5 years ago
Peter Barker
5dad0e5410
AP_HAL: a few more simple tests for snprintf
5 years ago
Peter Barker
412bf24b9a
AP_HAL: add gtests for snprintf
5 years ago
Peter Barker
10675ab5c4
AP_HAL: correct include ordering in srxl.h
...
The header needs stdint.h which it was only getting because it was
included after stdint.h in the cpp file.
Stop including standard headers before other ArduPilot headers
5 years ago
Andrew Tridgell
4197fdeb2a
AP_HAL: fixed bug in vsnprintf()
...
we need to return the number of bytes that would have been printed if
the buffer was big enough to support use cases such as vasprintf()
which needs to know how many bytes to allocate
5 years ago