Andy Piper
3428cbf993
AP_HAL: add dshot command codes for beeps, leds and motor control
...
allow more than one type of ESC for dshot commands
add support for checks around active ESCs
allow dshot alarm to be disabled
allow prioritized dshot commands
4 years ago
Andy Piper
a07b238c7d
AP_HAL: add PRIORITY_RCOUT
...
don't allow UART copies
add @SYS/uarts.txt
4 years ago
Andy Piper
0eff201016
AP_HAL: add mem_info()
...
Co-authored-by: Andrew Tridgell <andrew@tridgell.net>
4 years ago
Andrew Tridgell
1680e6e7d6
AP_HAL: expose load_persistent_params() in hal.util
4 years ago
Andrew Tridgell
96cbde0ee6
AP_HAL: use ExpandingString class
4 years ago
Andy Piper
d2e01005ee
AP_HAL: add support for @SYS/dma.txt for DMA contention
4 years ago
Andrew Tridgell
2596875ceb
AP_HAL: removed fs_init()
...
this must go via AP_Filesystem
4 years ago
Pierre Kancir
1c80b04544
AP_HAL: add virtual set_cmdline_parameters()
4 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
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
Peter Barker
1344827c07
AP_HAL: add empty overridable trap method
5 years ago
Andrew Tridgell
9a778418a5
AP_HAL: use enum for flash_bootloader() result
5 years ago
Andrew Tridgell
9741ac0b64
AP_HAL: added I2C ISR count to PersistentData
6 years ago
Andrew Tridgell
c5c96c76ee
AP_HAL: added logging of hardware fault information in watchdog
...
this may help trackdown software bugs that trigger hard faults
6 years ago
Andrew Tridgell
0ca71ba725
AP_HAL: added get_last_armed_change() Util function
6 years ago
Andrew Tridgell
e64c5ef354
AP_HAL: added SPI and I2C counters
6 years ago
Andrew Tridgell
c786674442
AP_HAL: record mavlink msg IDs and semaphore line
6 years ago
Andrew Tridgell
45d5e7f6d2
AP_HAL: added persistance for internal errors
6 years ago
Andrew Tridgell
4b298aa80e
AP_HAL: add scheduler state to persistent_data
6 years ago
Andrew Tridgell
11c123e4da
AP_HAL: added persistent_data structure
...
this is a much simpler way to save data for a watchdog reset
6 years ago
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
7f96d4ad12
AP_HAL: added was_watchdog_reset()
6 years ago
Peter Barker
8efda2b792
AP_HAL: GCS_MAVLink takes care of mavlink capabilities
6 years ago
Michael du Breuil
44079dcc46
AP_HAL: Add scripting heap
6 years ago
Andrew Tridgell
d8cf1997d2
AP_HAL: added fs_init() to Util API
6 years ago
Siddharth Purohit
df7d0d1971
AP_HAL: add support for unformatted board id
6 years ago
Andrew Tridgell
5924816bbe
AP_HAL: removed hal.util->new_semaphore()
...
replaced with HAL_Semaphore
6 years ago
Andrew Tridgell
949324ff2b
AP_HAL: added duration to toneAlarm_set_buzzer_tone
7 years ago
Jonathan Challinger
f936b1dbc2
AP_HAL: change tonealarm interface
7 years ago
Andrew Tridgell
cb19d4dffc
AP_HAL: added toneAlarm_set_tune_string
7 years ago
Peter Barker
b9b0ef0c77
AP_HAL: add flash_bootloader to AP_HAL API
7 years ago
Peter Barker
f5eb281efd
AP_HAL: use AP_RTC
...
Also add a define as to whether set_time / get_time can be used
7 years ago
Lucas De Marchi
ff6e76ea6a
AP_HAL_Linux: add custom storage directory
7 years ago
Peter Barker
6c7c916c78
AP_HAL: eliminate AP_HAL::Print and AP_HAL::Stream
...
Just *way* too many layers involved here
7 years ago
Andrew Tridgell
4322ef7ca4
AP_HAL: prevent valgrind errors in EKF
...
ensure that EKF memory is zero on start
7 years ago
bugobliterator
9d6ab78376
AP_HAL: add support for memory allocation by region type
7 years ago
Peter Barker
18d8f9ba9d
AP_HAL: make get_custom_log_directory const
8 years ago
Andrew Tridgell
e42bb20052
AP_HAL: added dma allocation routines to hal.util
8 years ago
murata
c808ee2f49
Global: To nullptr from NULL.
...
RC_Channel: To nullptr from NULL.
AC_Fence: To nullptr from NULL.
AC_Avoidance: To nullptr from NULL.
AC_PrecLand: To nullptr from NULL.
DataFlash: To nullptr from NULL.
SITL: To nullptr from NULL.
GCS_MAVLink: To nullptr from NULL.
DataFlash: To nullptr from NULL.
AP_Compass: To nullptr from NULL.
Global: To nullptr from NULL.
Global: To nullptr from NULL.
8 years ago
Andrew Tridgell
6e065b3fe2
AP_HAL: fixed typo
9 years ago
Andrew Tridgell
8617db89dc
AP_HAL: added hal.util->set_imu_target_temp() API
9 years ago
Lucas De Marchi
9738be0ed6
AP_HAL: remove tabs and trailing whitespaces
9 years ago