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
2021-05-05 17:41:24 +10:00
Andy Piper
a07b238c7d
AP_HAL: add PRIORITY_RCOUT
...
don't allow UART copies
add @SYS/uarts.txt
2021-02-20 14:37:11 +11:00
Andy Piper
0eff201016
AP_HAL: add mem_info()
...
Co-authored-by: Andrew Tridgell <andrew@tridgell.net>
2021-02-03 23:35:44 +11:00
Andrew Tridgell
1680e6e7d6
AP_HAL: expose load_persistent_params() in hal.util
2021-01-21 13:09:21 +11:00
Andrew Tridgell
96cbde0ee6
AP_HAL: use ExpandingString class
2021-01-05 10:52:00 +11:00
Andy Piper
d2e01005ee
AP_HAL: add support for @SYS/dma.txt for DMA contention
2020-12-02 18:17:23 +11:00
Andrew Tridgell
2596875ceb
AP_HAL: removed fs_init()
...
this must go via AP_Filesystem
2020-10-27 10:45:03 +11:00
Pierre Kancir
1c80b04544
AP_HAL: add virtual set_cmdline_parameters()
2020-10-13 10:31:21 +11:00
Peter Barker
141d7fed48
AP_HAL: create and use INTERNAL_ERROR macro so we get line numbers
2020-04-30 13:21:36 +10:00
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
2020-04-29 07:36:55 +10:00
Andrew Tridgell
164022ca12
AP_HAL: added thread_info() API
2020-04-29 07:36:55 +10:00
Peter Barker
73e43d8da5
AP_HAL: send statustext at regular intervals after watchdog reset
2020-03-31 14:30:11 +11:00
bugobliterator
afea703aaf
AP_HAL: ensure libc realloc is available for all platforms except ChibiOS
2020-03-24 10:32:14 +11:00
bugobliterator
c615bd9874
AP_HAL: implement standard realloc method
2020-03-24 10:32:14 +11:00
Peter Barker
a59c3670c8
AP_HAL_ChibiOS: stash lr_thd in watchdog hardfault handler
2020-03-19 16:03:58 +11:00
Peter Barker
1344827c07
AP_HAL: add empty overridable trap method
2020-01-29 10:27:01 +11:00
Andrew Tridgell
9a778418a5
AP_HAL: use enum for flash_bootloader() result
2019-10-25 21:36:55 +11:00
Andrew Tridgell
9741ac0b64
AP_HAL: added I2C ISR count to PersistentData
2019-08-26 09:13:39 +10:00
Andrew Tridgell
c5c96c76ee
AP_HAL: added logging of hardware fault information in watchdog
...
this may help trackdown software bugs that trigger hard faults
2019-07-19 16:02:41 +10:00
Andrew Tridgell
0ca71ba725
AP_HAL: added get_last_armed_change() Util function
2019-06-21 11:40:53 +10:00
Andrew Tridgell
e64c5ef354
AP_HAL: added SPI and I2C counters
2019-05-17 08:56:06 +10:00
Andrew Tridgell
c786674442
AP_HAL: record mavlink msg IDs and semaphore line
2019-05-15 15:33:48 +10:00
Andrew Tridgell
45d5e7f6d2
AP_HAL: added persistance for internal errors
2019-05-15 15:33:48 +10:00
Andrew Tridgell
4b298aa80e
AP_HAL: add scheduler state to persistent_data
2019-05-15 15:33:48 +10:00
Andrew Tridgell
11c123e4da
AP_HAL: added persistent_data structure
...
this is a much simpler way to save data for a watchdog reset
2019-05-15 15:33:48 +10:00
Andrew Tridgell
c63459c237
AP_HAL: added save/restore of attitude in backup registers
2019-04-22 16:53:35 +10:00
Andrew Tridgell
bd84c0a8df
AP_HAL: added save/restore of home to backup registers
2019-04-22 16:53:35 +10:00
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
2019-04-22 16:53:35 +10:00
Andrew Tridgell
8d2f094257
AP_HAL: added was_watchdog_safety_off()
...
used to restore safety state on watchdog reset
2019-04-22 16:53:35 +10:00
Andrew Tridgell
7f96d4ad12
AP_HAL: added was_watchdog_reset()
2019-04-22 16:53:35 +10:00
Peter Barker
8efda2b792
AP_HAL: GCS_MAVLink takes care of mavlink capabilities
2019-02-19 13:14:52 +11:00
Michael du Breuil
44079dcc46
AP_HAL: Add scripting heap
2018-12-31 19:25:23 -07:00
Andrew Tridgell
d8cf1997d2
AP_HAL: added fs_init() to Util API
2018-12-31 08:00:14 +11:00
Siddharth Purohit
df7d0d1971
AP_HAL: add support for unformatted board id
2018-11-29 16:36:29 +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
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
Andrew Tridgell
cb19d4dffc
AP_HAL: added toneAlarm_set_tune_string
2018-07-20 14:37:16 +10:00
Peter Barker
b9b0ef0c77
AP_HAL: add flash_bootloader to AP_HAL API
2018-06-28 11:35:13 +10:00
Peter Barker
f5eb281efd
AP_HAL: use AP_RTC
...
Also add a define as to whether set_time / get_time can be used
2018-06-15 08:01:22 +10:00
Lucas De Marchi
ff6e76ea6a
AP_HAL_Linux: add custom storage directory
2018-05-24 08:00:33 -07:00
Peter Barker
6c7c916c78
AP_HAL: eliminate AP_HAL::Print and AP_HAL::Stream
...
Just *way* too many layers involved here
2018-03-23 08:12:38 +11:00
Andrew Tridgell
4322ef7ca4
AP_HAL: prevent valgrind errors in EKF
...
ensure that EKF memory is zero on start
2018-01-17 11:22:05 +11:00
bugobliterator
9d6ab78376
AP_HAL: add support for memory allocation by region type
2018-01-15 11:46:02 +11:00
Peter Barker
18d8f9ba9d
AP_HAL: make get_custom_log_directory const
2017-04-19 00:11:49 -07:00
Andrew Tridgell
e42bb20052
AP_HAL: added dma allocation routines to hal.util
2016-11-25 17:49:58 +11:00
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.
2016-11-02 16:04:47 -02:00
Andrew Tridgell
6e065b3fe2
AP_HAL: fixed typo
2016-07-01 15:35:07 +10:00
Andrew Tridgell
8617db89dc
AP_HAL: added hal.util->set_imu_target_temp() API
2016-07-01 15:29:52 +10:00
Lucas De Marchi
9738be0ed6
AP_HAL: remove tabs and trailing whitespaces
2016-06-21 13:09:00 -03:00