Peter Barker
b76e2316bb
AP_HAL: do not gate AP_CRASHDUMP_ENABLED on bootloader
...
Also rename from HAL_CRASHDUMP_ENABLE
Removes code based on define rather than creating empty functions. Makes it clearer what's going on in the callers.
3 years ago
Andy Piper
ea1af70f2b
AP_HAL: add support for @SYS/timers.txt
...
move prescaler calculation here and add unit test
add ability to find closest matching frequency in prescaler calculation
account for bit widths in prescaler tests
3 years ago
Peter Barker
3a1340236a
AP_HAL: add HAL_UART_STATS_ENABLED to disable stats gathering
3 years ago
Peter Barker
f50d48f005
AP_HAL: tidy set/get of hw RTC
3 years ago
bugobliterator
0c69ebc50e
AP_HAL: update last_crash_dump api
3 years ago
Andrew Tridgell
34ba3e4782
AP_HAL: make set_soft_armed() virtual
3 years ago
Buzz
ecfdd80bc7
AP_HAL: new HAL layer for esp32
...
see libraries/AP_HAL_ESP32/README.md for more.
Author: Charles Villard <charlesvillard10@gmail.com>
Author: Buzz <davidbuzz@gmail.com>
3 years ago
bugobliterator
f9f47cbeeb
AP_HAL: add method to fetch last crash dump
3 years ago
Andrew Tridgell
8157c24977
AP_HAL: added stack logging
3 years ago
bugobliterator
e4f4b3ce1f
AP_HAL: add true random number generator
3 years ago
Andrew Tridgell
067a6547bc
AP_HAL: fixed printf format errors
4 years ago
bugobliterator
4b8b0f834d
AP_HAL: add support for usb passthrough with baud changes
4 years ago
Michael Oborne
d622aad592
AP_HAL_ChibiOS: add get_usb_baud - support for usb baudrate
4 years ago
Siddharth Purohit
2b93b17fae
AP_HAL: add support for hw random number generation
4 years ago
Andrew Tridgell
7c5c805381
AP_HAL: removed perf counters
4 years ago
bugobliterator
ae80e2dd4d
AP_HAL: move ToneAlarm Types to AP_Notify instead
4 years ago
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