mirkix
938865da41
AP_HAL_Linux: add override to virtual method
6 years ago
Andrew Tridgell
6251353090
HAL_Linux: removed old px4io protocol header
6 years ago
Peter Barker
eb73a14da8
AP_HAL_Linux: add missing override keywords
6 years ago
Peter Barker
d89f740460
AP_HAL_Linux: AP_Common no longer gives board information; use AP_HAL_Boards
6 years ago
Tom Pittenger
95820c905d
AP_HAL_Linux: unify singleton naming to _singleton and get_singleton()
6 years ago
Aaron Wang Shi
8350943e78
AP_HAL_Linux: reduce RCInput_RPI CPU consumption to 1/4
6 years ago
Andrew Tridgell
15853adb04
build: removed remaining make.inc files
6 years ago
Randy Mackay
790a00d8a6
AP_HAL_Linux: remove debug print when SPI device not found
6 years ago
Andrew Tridgell
63705f858b
HAL_Linux: use mavlink_packetise()
6 years ago
Andrew Tridgell
48475051d9
HAL_Linux: implement get_system_id() on Linux
...
this is needed for UAVCAN dynamic node allocation
6 years ago
Andrew Tridgell
02519afdf4
HAL_Linux: fixed an error found with valgrind
...
sa_flags wasn't initialised
6 years ago
Andrew Tridgell
63556b9804
HAL_Linux: removed hal.util->new_semaphore()
...
replaced with HAL_Semaphore
6 years ago
Michael du Breuil
f506a96b7f
AP_HAL_Linux: Handle scripting priority
6 years ago
Lucas De Marchi
0990fc4400
AP_HAL_Linux: send warning to stderr
6 years ago
Peter Barker
220a3d19bf
AP_HAL_Linux: do not attempt to run examples realtime unless root
6 years ago
Peter Barker
43c07259f3
AP_HAL_Linux: break out init_realtime
6 years ago
Lucas De Marchi
ad8ab97725
AP_HAL_Linux: SPIDevice: compile out debug stuff
...
This should at most be behind a flag. If the device is being used by
other process/drivers, it's a problem with that specific user/distro:
don't penalize everybody else. Besides, changing the mode is not atomic
and nothing guarantees the other side doesn't get scheduled and change
it back before we get to run.
7 years ago
Lucas De Marchi
2c6dd64c67
AP_HAL_Linux: create one thread per spi bus rather than device
...
Do not create one thread per chardev (i.e. bus + kernel's chip select).
Since the shared resources are actually the bus controller and the bus
lines, it makes sense to have 1 thread per bus, otherwise it will just
get locked again on the mutex in the kernel side.
7 years ago
Lucas De Marchi
cf4fb09881
AP_HAL_Linux: Remove hole from SPIBus
...
Also handle a few coding style bikesheds.
7 years ago
Lucas De Marchi
4152b555fd
AP_HAL_Linux: replace kernel_cs with subdev
...
They are the same thing. Using both names however is confusing.
7 years ago
Francisco Ferreira
5b383bae16
AP_HAL_Linux: force Thread stack to have minimum size
...
Check that Thread stack size is the minimum allowed
Also add 256k to HAL-independent request stack size
7 years ago
Peter Barker
42c711a5b2
AP_HAL_Linux: remove pointless attach_interrupt override
7 years ago
Andrew Tridgell
b347027e13
HAL_Linux: added Semaphore_Recursive
7 years ago
Peter Barker
8d5a9ead48
AP_HAL_Linux: attach_interrupt now takes a functor
...
AP_HAL_Linux: add type-safety for interrupt types
7 years ago
Andrew Tridgell
f1e10b0a8f
HAL_Linux: make uart writes thread safe
7 years ago
Andrew Tridgell
f005e60066
HAL_Linux: added support for HAL_Semaphore type
7 years ago
Lucas De Marchi
5068f2e8fd
AP_HAL_Linux: fix log after tonealarm thread removal
...
../../libraries/AP_HAL_Linux/Scheduler.cpp: In member function ‘void Linux::Scheduler::_debug_stack()’:
../../libraries/AP_HAL_Linux/Scheduler.cpp:127:47: warning: format ‘%zu’ expects a matching ‘size_t’ argument [-Wformat=]
_uart_thread.get_stack_usage());
^
7 years ago
Francisco Ferreira
1d7f3e48a4
AP_HAL_Linux: remove CAN thread management
...
Also fix comment
7 years ago
Andrew Tridgell
03b7c08be6
HAL_Linux: added duration to toneAlarm_set_buzzer_tone
...
required for disco
7 years ago
Jonathan Challinger
ddf0333a24
AP_HAL_Linux: reflect changes to tonealarm interface
7 years ago
Aaron Wang Shi
1304d37699
AP_HAL_Linux: fix bhat GPS SPI conflict
7 years ago
Aaron Wang Shi
4f2d9c2c4d
AP_HAL_Linux: support PWM input for BH hat
7 years ago
Michael du Breuil
2e135f4fc4
AP_HAL_Linux: Remove unused ADC include
7 years ago
Michael du Breuil
0aaa029f9b
AP_HAL_Linux: GPIO_RPi: Fix UB when reading a pin
...
You can't shift by more then the word width
7 years ago
Michael du Breuil
1f7ee55211
AP_HAL_Linux: Remove GPIO::analogPinToDigitalPin()
7 years ago
Andrew Tridgell
1d1af5fd68
HAL_Linux: don't clear buffers on no baud change
7 years ago
Lucas De Marchi
d2446e1219
AP_HAL_Linux: use Thread abstraction to create thread
...
The open coded version has the same problem fixed by Thread abstraction:
the order of the calls matters and it's easy to call in the wrong order.
Here pthread_attr_setschedparam() and pthread_attr_setschedpolicy()
should be swapped, like in 62c2f737d5
(AP_HAL_Linux: fix setting RT priorities.)
7 years ago
Lucas De Marchi
e11d268818
AP_HAL_Linux: Thread: allow loose running thread
7 years ago
Jack
4b24a61023
AP_HAL_Linux: fix spelling of generated in panics
7 years ago
Andrew Tridgell
070e3cf37b
HAL_Linux: implement I2C bus masks
7 years ago
Andrew Tridgell
492978c0fa
HAL_Linux: removed restriction on delay in threads
...
threads other than the main thread should be able to sleep, but not
call the delay callback
7 years ago
Andrew Tridgell
9918ae3209
HAL_Linux: implement thread_create()
7 years ago
Andrew Tridgell
9ae6734469
HAL_Linux: support uartG
7 years ago
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.
7 years ago
Lucas De Marchi
d31e85e738
AP_HAL_Linux: fix copy and paste error on gpio table
7 years ago
Michael du Breuil
7043738f3b
AP_HAL_Linux: Clear UART buffers when opening a port
7 years ago
Hyungsub
97b93920b3
AP_HAL_Linux: fix memory leaks
...
Fixes #8642
7 years ago
Peter Barker
c9dbdd7a5c
AP_HAL_Linux: clarify method name, use common methods for setting time
7 years ago
Eugene Shamaev
7dd8308a8c
AP_HAL_Linux: reducing indenting by linearizing the logic
7 years ago
mirkix
b32b57ad75
AP_HAL_Linux: change SPI Bus for PocketPilot final design
7 years ago