Jaaaky
08d44815f6
AP_HAL_Linux: Fix multi #include's
2021-12-21 10:38:46 +11:00
Mohammad Hefny
5eb28be8e6
AP_HAL_Linux: define board features on Linux module
2021-09-10 08:17:37 +10:00
MHefny
6bbfdbaf6a
AP_HAL_LINUX:fix missing setting physical address
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
eb73a14da8
AP_HAL_Linux: add missing override keywords
2019-02-22 15:01:09 +00:00
Aaron Wang Shi
4f2d9c2c4d
AP_HAL_Linux: support PWM input for BH hat
2018-07-20 00:32:55 -07:00
Lucas De Marchi
504de3ea9e
AP_HAL_Linux: RCInput_RPI: fix whitespaces
...
Also add/change some minor coding style issues, reducing scope of
variables.
2016-11-19 14:05:22 -02:00
Lucas De Marchi
8d3361cef4
AP_HAL_Linux: RCInput_RPI: fix using Util class on constructor
...
Program received signal SIGSEGV, Segmentation fault.
0x000b8760 in Linux::UtilRPI::get_rpi_version() const ()
(gdb) bt
#0 0x000b8760 in Linux::UtilRPI::get_rpi_version() const ()
#1 0x000b57ac in Linux::RCInput_RPI::RCInput_RPI() ()
#2 0x0000acfc in _GLOBAL__sub_I__ZN9HAL_LinuxC2Ev ()
#3 0x000e1600 in __libc_csu_init ()
#4 0x76cad228 in __libc_start_main (main=0x7efff774, argc=1994186752,
argv=0x76cad228 <__libc_start_main+168>, init=0xe15b4 <__libc_csu_init>,
fini=0xe1614 <__libc_csu_fini>, rtld_fini=0x76fdf464 <_dl_fini>,
stack_end=0x7efff774) at libc-start.c:246
#5 0x0000afa4 in _start ()
2016-11-19 14:05:22 -02:00
Lucas De Marchi
312a27dd20
AP_HAL: RCInput: rename deinit() to teardown()
2016-11-02 16:28:20 -02:00
Lucas De Marchi
f36e8d9c05
AP_HAL_Linux: remove AP_HAL_Linux_Namespace header
...
This centralized namespace header encourages centralizing things on
umbrella headers that are a pain to maintain. Force each part of
AP_HAL_Linux to include what is used.
While at it, do some whitespace cleanups and minor changes to adhere to
coding style.
2016-07-29 20:25:03 -03:00
Lucas De Marchi
705393b30c
AP_HAL_Linux: replace header guard with pragma once
2016-02-18 14:52:35 -02:00
Lucas De Marchi
2d3a62eae3
AP_HAL_Linux: RCInput_RPI: revert PWM support
...
This reverts support for RCInput via PWM. This is causing trouble in
some RPI-based boards, receiving a SIGSEGV. Let's revert it for now and
retry this later.
This reverts commit 5629f38b2c
.
This reverts commit 51fd0b3d55
.
This reverts commit 79d56073f7
.
2016-01-18 20:07:42 -02:00
Aaron Wang Shi
79d56073f7
AP_HAL_Linux: support PWM input for BH hat
2016-01-15 00:16:14 -02:00
Lucas De Marchi
321803919c
Revert "AP_HAL_Linux: support PWM input for BH hat"
...
This reverts commit 8cca0beba9
.
The PWM input using the RPI DMA is causing trouble with RPI boards using
PPMSUM. Let's revert it until the solution is found. We still leave the
ifdef in RCInput for BH hat.
2016-01-07 10:27:07 -02:00
Aaron Wang Shi
8cca0beba9
AP_HAL_Linux: support PWM input for BH hat
...
Support 8 PWM channels as RCInput.
2015-12-21 15:54:31 +11:00
Lucas De Marchi
2439826c19
AP_HAL_Linux: use init() method without arguments
...
Override the init() method from parent class that doesn't have a
parameter since it's not used here.
2015-12-02 14:49:11 -02:00
Víctor Mayoral Vilches
47d43c64ef
AP_HAL_Linux: Add RCInput_RPI, merge common code
2015-11-04 13:58:24 +11:00