Commit Graph

14 Commits

Author SHA1 Message Date
Mykhailo Kuznietsov acda439a40 AP_EFI: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Michael du Breuil e41cc42e10 AP_EFI: Rate limit the megasquirt driver
This fixes it up so that the driver actually works on things like
AP_Periph that poll at a high rate. This was never a problem with the
main firmware as EFI was run at a lower rate, but on AP_Periph this was
much to fast. This lead to spamming fresh requests and keeping the
buffer completly stuffed with requests. To compound it, the EFI device
would start over when there was a fresh request, and eventually our
buffer writes become corrupted leading to bad checksums, and a complete
failure of the comms. This prevents that situation from happening.
2023-10-03 11:32:07 +11:00
Peter Barker 25ec1730b4 AP_EFI: poll MS at 10Hz not 5Hz 2023-04-15 09:39:39 +10:00
Peter Barker fb1b2e870e AP_EFI: MS: avoid requesting data too often
Similar to 4585c9fdc1
2023-04-15 09:39:39 +10:00
Peter Barker 1cd3e7327d AP_EFI: add defines for Lutan and MegaSquirt 2023-03-21 09:01:13 +11:00
Peter Barker 3bc42b888f AP_EFI: use uint16_t to store offset
prevents infinite loop if there are exactly 255 bytes ready to read
2023-03-15 13:34:17 -07:00
Andrew Tridgell fd52ff923d AP_EFI: removed array from cylinder_status
this array was never used and just makes doing drivers harder. Removed
to reduce complexity
2022-10-02 08:15:06 +11:00
Peter Barker f9b33317b6 AP_EFI: include cleanups 2022-03-01 11:21:33 +11:00
Andrew Tridgell 48abb57a8a AP_EFI: added support for Lutan EFI system 2022-01-17 15:16:24 +11:00
Andrew Tridgell 5cb0d5c188 AP_EFI: use degF_to_Kelvin for megasquirt 2022-01-17 15:16:24 +11:00
VMsunghwan 599650554c AP_EFI : Update Calculation
calcualtion -> calculation
2022-01-17 11:25:56 +09:00
Andrew Tridgell cc6d799e7a AP_EFI: change to use HAL_EFI_ENABLED 2021-06-09 18:07:00 +10:00
Peter Barker 71f6262294 AP_EFI: use new UARTDriver discard_input method 2020-05-26 09:20:32 +10:00
Sriram Sami f8cf388236 AP_EFI: Add AP_EFI Library 2019-11-17 20:10:54 +11:00