Andrew Tridgell
f1c6538f34
AP_HAL_Linux: use NEW_NOTHROW for new(std::nothrow)
2024-06-04 09:20:21 +10:00
Oleksiy Protas
364e6f06f3
AP_HAL_Linux: delay signal handlers setup
...
Allow default signals before full initialization in Linux, this makes sure we don't get an unkillable process if it hangs on initialization
Exit flag marked volatile to counteract possible compiler optimization due to the handler code running in a different context
2024-04-05 11:36:29 +11:00
Peter Barker
7e51811a24
AP_HAL_Linux: cope with HAL_WITH_DSP being false
2024-01-03 11:45:31 +11:00
Thomas Watson
e460a19b17
AP_HAL_Linux: deprecate and warn on legacy --uartX option use
2023-12-19 06:53:15 +11:00
Thomas Watson
f34034584f
AP_HAL_Linux: eliminate internal legacy UART ordering/references
...
Leave the legacy command line arguments to avoid breaking users.
2023-12-19 06:53:15 +11:00
Thomas Watson
764b469e47
AP_HAL_Linux: pass UARTs to AP_HAL in SERIALn order
2023-12-19 06:53:15 +11:00
Ka Ru
ce177a3637
AP_HAL_Linux: add can-zero board
2023-12-05 07:41:06 -06:00
Thomas Watson
8fe95dca81
AP_HAL_Linux: introduce get_HAL_mutable() to complement get_HAL()
...
Returns a mutable reference to the same HAL for certain purposes where
the HAL needs to be mutated to avoid UB problems with casting away const
and to make the fact that mutation is happening obvious.
2023-11-28 08:24:25 +11:00
Peter Barker
9ee6be8a55
AP_HAL_Linux: fix help ouput from Options to Examples
2023-06-17 17:51:34 +10:00
Neil Bertram
dcafaf3ab2
AP_HAL_Linux: Improve the self-documentation and configuration of serial ports for the Linux HAL
2023-06-17 14:46:27 +10:00
Andy Piper
b5d7d06886
AP_HAL_Linux: QSPI -> WSPI
2023-04-28 08:31:15 +10:00
Willian Galvani
4558742e39
HAL_Linux: add RC in driver for Navigator
2022-09-28 18:38:33 -03:00
Willian Galvani
5ed2785dfa
AP_HAL_Linux: create GPIO_Navigator
2022-09-06 09:34:07 +10:00
Andrew Tridgell
018ac68061
AP_HAL_Linux: support up to 9 UARTs
2021-11-22 22:48:59 +11: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
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
Siddharth Purohit
eed706c46b
AP_HAL_Linux: add empty qspi mgr instance
2021-06-30 19:33:17 +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
3a433cd71e
AP_HAL: update pwm hardware for navigator r3
2021-04-07 15:08:18 -04: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
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
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
Jacob Walser
35c2d13e2f
HAL_Linux_Class: specify per board external clock frequency for RCOutput_PCA9685 drivers
2020-11-21 00:25:19 -08:00
Siddharth Purohit
7de444ec53
HAL_Linux: add uavcan agnostic CANSocket Iface Driver
2020-08-19 17:31:09 +10:00
Isaac Ault
e74acba4ec
AP_HAL_Linux: Allow for parameters to be passed with -G, -H
...
All other work has been previously implemented, however when fetching
params these values were ignored.
2020-08-10 10:03:12 +10:00
Patrick José Pereira
e65cc35fb0
AP_HAL_Linux: Use template to generate raspberry pins
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-03-15 22:35:50 -07:00
Peter Barker
c917cd4dbb
AP_HAL_Linux: make a static-const hal references references to external symbol
2020-03-03 10:12:14 +11:00
Andy Piper
127a0e9b41
AP_HAL_Linux: add in empty dsp driver
2020-02-22 11:15:37 +11:00
Patrick José Pereira
0c0d97debe
AP_HAL_Linux: Add storage-directory argument in usage
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-01-18 17:03:20 +11:00
Patrick José Pereira
6230524636
AP_HAL_Linux: Add navigator board
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-01-16 08:01:54 +11:00
Andrew Tridgell
019f441b2f
HAL_Linux: added uartH
2019-07-12 17:01:21 +10:00
Andrew Tridgell
48aacb9462
HAL_Linux: removed use of RCInput_SBUS and RCInput_115200
2019-05-02 17:58:51 +10:00
Andrew Tridgell
1c322d296f
HAL_Linux: switch Disco to using AP_RCProtocol library for RCIN
...
this is the first step to using AP_RCProtocol for most (or all) RC
input on Linux boards. It also fixes a major bug on Disco where the
old SBUS decoder didn't use strict enough timing checks to filter out
bad frames when video capture is running. That led to erratic flight
mode changes and sometimes loss of control.
2019-05-02 17:58:51 +10:00
Lucas De Marchi
5520b397c2
AP_HAL_Linux: allow disco to use RCInput_UDP
...
This allows to use any device to send RCInput to Disco via network.
Particularly this is useful when paired to additional changes on
SkyController 2 so it can be used to control Ardupilot.
This was tested with https://github.com/lucasdemarchi/dema-rc running
on SkyController 2.
2019-05-02 16:14:17 +10:00
Andrew Tridgell
6bae0960df
HAL_Linux: added empty flash driver
2019-04-11 13:22:53 +10:00
Andrew Tridgell
9ae6734469
HAL_Linux: support uartG
2018-06-29 08:17:38 +10:00
Lucas De Marchi
49d08ba72a
Global: remove minlure
...
Minlure is a port of ArduPilot to Minnow Board connected to daughter
board. Very few of those were produced and nobody is flying with it.
It served its purpose and all the the improvements to ArduPilot remain
regardless of it not being supported anymore. Now it's just adding
maintenance work with no clear benefit, so pull the plug.
2018-06-26 07:32:08 -07:00
Lucas De Marchi
ff6e76ea6a
AP_HAL_Linux: add custom storage directory
2018-05-24 08:00:33 -07:00
Francisco Ferreira
5e821428a1
AP_HAL_Linux: remove Qualcomm board support
2018-05-17 09:57:20 +10:00
Lucas De Marchi
b1b4b66e65
AP_HAL_Linux: minlure: fix uart path
...
In some point in past it may have been ttyS2, but right now on kernel
4.16+ the UART is on ttyS5. We could do like is done for I2C and search
on sysfs, but it requires additional changes.
2018-05-04 11:47:04 -07:00
Lucas De Marchi
320db1d79b
AP_HAL_Linux: remove unused i2c devpaths
2018-05-04 11:47:04 -07:00
chobits
15b8ae99fe
AP_HAL_Linux: fixed AP_MODULE_SUPPORTED on static build
2018-03-02 10:13:19 +11:00
mirkix
c5eb52bf8d
AP_HAL_Linux: fix comment
2018-01-23 13:32:12 -08:00
mirkix
700171a0fc
AP_HAL_Linux: add second RCIN port for Blue
2018-01-17 15:25:51 -08:00
mirkix
9b6a826b49
AP_HAL_linux: add new board PocketPilot
2017-12-27 16:01:55 +00:00