Peter Barker
c456172821
AP_HAL_Linux: tidy includes
2022-05-03 09:14:58 +10:00
Iampete1
c58404beac
AP_HAL_Linux: allow stop_clock in examples
2022-04-26 10:26:29 +10:00
HefnySco
53c1c235b8
AP_HAL:RPI read cpu by revision
2022-03-24 00:51:27 -07:00
Andrew Tridgell
b6f78ede2e
HAL_Linux: support mavcan
2022-02-12 16:36:05 +11:00
Willian Galvani
403ea405dd
AP_Hal_Linux: create defaults.parm for Navigator
2022-02-01 17:35:26 +11:00
Willian Galvani
b5de26c1f2
AP_Hal_Linux: PCA9685: do not shutdown
...
Shutting down causes the pulses to be cut short, often causing
ESCs to interpret this pulse
2022-01-18 11:06:35 +11:00
HefnySco
b80393b2cd
AP_HAL_Linux: supporting RPI-Zero 2 W
2022-01-14 00:32:51 -08:00
HefnySco
88f4eb6017
AP_HAL_Linux: RPI-CM4 detection
2022-01-10 12:21:09 -08:00
Willian Galvani
1dad7b2d56
HAL_Linux: update SPI speeds for Navigator
...
As @jaxxzer found out, if SCL goes under 1MHz, the MMC sometimes
glitches out, freezing.
2022-01-03 15:05:47 -03:00
Jaaaky
08d44815f6
AP_HAL_Linux: Fix multi #include's
2021-12-21 10:38:46 +11:00
Peter Barker
d8e4669e07
AP_HAL_Linux: tidy set/get of hw RTC
2021-12-06 12:58:43 +11:00
Andrew Tridgell
018ac68061
AP_HAL_Linux: support up to 9 UARTs
2021-11-22 22:48:59 +11:00
Patrick José Pereira
6ac7c2dbea
AP_HAL_Linux: Update SPIDevice for Navigator R4
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-11-10 18:11:34 -03:00
bugobliterator
f57f106c7f
AP_HAL_Linux: add get_storage_ptr method
2021-11-10 17:21:35 +11:00
courk
b1bf22b53c
GPIO_BBB: fix partially working GPIO init
...
use cleaner way to enable all GPIO banks, including GPIO1.
2021-10-15 15:16:17 -07:00
Lucas De Marchi
24adf18685
AP_HAL_Linux: small fixes to cpu affinity
...
- Do not mention x:y form in the comment since it's not supported
- Give more detail in the help output regarding the meaning of each form
- No prints in the helper parse function, let the caller print it
2021-10-08 16:08:52 -07:00
HefnySco
9f1cbdc0a5
AP_HAL_Linux: cpu affinity
2021-10-08 13:47:56 -07:00
Iampete1
62474e6dc8
AP_HAL_Linux: AnalogSource: set_pin return true
2021-10-06 18:42:51 +11:00
Josh Henderson
9a7530ad50
AP_HAL_Linux: make panic() WEAK
2021-09-28 09:11:48 +10:00
Peter Barker
f0efc1300e
AP_HAL_Linux: move defines of GPIO LOW/HIGH into cpp file
...
Insane having these generic defines happening if you include GPIO_BBB.h
2021-09-22 21:37:00 +10:00
Peter Barker
275457fd2c
AP_HAL_Linux: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Willian Galvani
68cbb47d68
HAL_Linux: RCOutput_PCA9685: implement force_safety_on/off
2021-09-14 10:11:17 +10:00
Willian Galvani
38e8020e4b
HAL_Linux: try to stop PWMs before shutting down due to SIGTERM
2021-09-14 10:11:17 +10:00
Mohammad Hefny
5eb28be8e6
AP_HAL_Linux: define board features on Linux module
2021-09-10 08:17:37 +10:00
MHefny
280788bfdf
AP_HAL_LINUX:toggle gpio port
2021-07-24 09:16:08 -07:00
Siddharth Purohit
f2e947589d
AP_HAL_Linux: add support for hw random number generation
2021-07-07 18:57:25 +10:00
Siddharth Purohit
eed706c46b
AP_HAL_Linux: add empty qspi mgr instance
2021-06-30 19:33:17 +10:00
Siddharth Purohit
35344d1aef
AP_HAL_Linux: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS
2021-06-24 09:02:42 +10:00
Tom Pittenger
4054b5e891
AP_HAL_Linux: AP::can().log_text() needs HAL_ENABLE_LIBUAVCAN_DRIVERS
2021-06-09 18:36:18 +10:00
Andrew Tridgell
dfc4b37df1
AP_HAL_Linux: removed perf counters
2021-06-07 14:29:27 +10:00
Andy Piper
ba96f4491d
AP_HAL_Linux: allow tone alarm types
2021-05-05 17:41:24 +10:00
Andrew Tridgell
fd3bf0f639
HAL_Linux: added --defaults option to Linux HAL
...
useful for initial parameters
2021-04-13 09:36:52 +10:00
Jacob Walser
5537f5564c
AP_HAL: update imu hardware for navigator r3
2021-04-07 15:08:18 -04:00
Jacob Walser
3a433cd71e
AP_HAL: update pwm hardware for navigator r3
2021-04-07 15:08:18 -04:00
Jacob Walser
421638453f
AP_HAL: update Notify LED hardware for navigator r3
2021-04-07 15:08:18 -04:00
MHefny
6bbfdbaf6a
AP_HAL_LINUX:fix missing setting physical address
2021-04-07 10:36:31 -07:00
MHefny
30382740d2
AP_HAL_Linux:fix code style
2021-04-07 10:36:31 -07:00
MHefny
8767112a77
AP_HAL_LINUX:remove duplicates and fix _version
2021-04-07 10:36:31 -07:00
MHefny
c57764e9b4
linux: RCInput_RPI RPI-4 Support
2021-04-07 10:36:31 -07:00
Peter Barker
d0b3b926c0
AP_HAL_Linux: split out a calculate_thread_priority method
2021-03-30 10:49:06 +11:00
Iampete1
4315a69b9d
AP_HAL_Linux: add semaphore to AnalogIn::channel to make it thread safe
2021-03-30 10:44:43 +11:00
Andrew Tridgell
0601259d20
AP_HAL_Linux: removed assert calls
...
these waste flash space and do not do us any good
2021-03-25 14:03:40 +11:00
Andrew Tridgell
9db0862d61
HAL_Linux: use nullptr for vnav rcinput
...
this makes it clearer what is going on
2021-01-20 13:49:26 +11:00
Andrew Tridgell
009cb8f62b
HAL_Linux: setup RCIN for vnav
2021-01-20 10:06:45 +11:00
Andrew Tridgell
16753a51f4
HAL_Linux: use ExpandingString
2021-01-05 10:52:00 +11:00
Andy Piper
74633e55cc
AP_HAL_Linux: rename system_initialized() and add is_system_initialized()
2020-12-30 18:16:59 +11:00
Andrew Tridgell
d6c5fc36d8
HAL_Linux: only init serial(0)
...
we should not pre-init all uarts, it wastes memory if unused
2020-12-15 10:32:46 +11:00
Andrew Tridgell
348dfeff6e
HAL_Linux: use a loop for serial tick
2020-12-15 10:32:46 +11:00
Andrew Tridgell
db76eebd85
AP_HAL_Linux: convert to using hal.serial() instead of hal.uartX
2020-12-15 10:32:46 +11:00
Andrew Tridgell
78711e05b7
AP_HAL_Linux: support uartI, allowing a total of 9 uarts
...
this allows for OTG2 on the MatekH743 board, which makes SLCAN much
easier
2020-11-30 14:09:31 +11:00