Andrew Tridgell
9ea03e085d
AP_HAL: added readptr() and advance() to ObjectBuffer
...
this gives a more efficient way of accessing an ObjectBuffer, which
reduces interrupt latency in SoftSigReader
6 years ago
Andrew Tridgell
6c6dabc33c
AP_HAL: set default batt monitoring for bebop and disco
6 years ago
Peter Barker
f8b1203399
AP_HAL: provide method returning approximate link bandwidth
6 years ago
Kevin Lopez Alvarez
ab7c7afd1d
AP_HAL: add ChibiOS FMUv4pro
6 years ago
Peter Barker
f90dd0c156
AP_HAL: add simple tests for null-termination
6 years ago
Peter Barker
33e3d6e254
AP_HAL: Util: make vsnprintf and snprintf always null-terminate
...
The C++ standard indicates these functions always return a
null-terminated string. We should rename these functions if we're not
going to conform to the standards.
From https://en.cppreference.com/w/cpp/io/c/vfprintf :
"Writes the results to a character string buffer. At most buf_size-1
characters are written. The resulting character string will be
terminated with a null character"
We are still not standards-compliant in the case a length of 0 is passed
in, returning 0 where we should return the space that would be required
to store the formatted string.
6 years ago
Andrew Tridgell
5924816bbe
AP_HAL: removed hal.util->new_semaphore()
...
replaced with HAL_Semaphore
6 years ago
Andrew Tridgell
ed71790945
AP_HAL: fixed PX4 LED polarity
6 years ago
Michael du Breuil
73901274b0
AP_HAL: Define a scripting base priority
6 years ago
Michael du Breuil
6544f16339
AP_HAL: Make BBBlue use AP_BoardLED2
6 years ago
Michael du Breuil
6f7ced73d6
AP_HAL: Remove bad GPIO LED pins on NavIO2
6 years ago
Siddharth Purohit
9a2eea9769
AP_HAL: disable float print methods for non FPU controllers
6 years ago
Siddharth Purohit
5e4f76886a
AP_HAL: add chibios hal header to use uC specific defines
6 years ago
Siddharth Purohit
c546bec999
AP_HAL: do not use ch for channel, its used as a global var under ChibiOS
6 years ago
Andrew Tridgell
eec3a2ab31
AP_HAL: added FOREACH_I2C_MASK() macro
7 years ago
Andrew Tridgell
b4ecc347d7
AP_HAL: always define HAL_WITH_UAVCAN on px4
7 years ago
Peter Barker
15ae453205
AP_HAL: fix RCInput example
7 years ago
Peter Barker
fcacdb42bb
AP_HAL: define base-class attach_interrupt to return false
7 years ago
Andrew Tridgell
55dfefb2d6
AP_HAL: added HAL_Semaphore_Recursive
7 years ago
Peter Barker
74263f8412
AP_HAL: add attach_interrupt that takes a functor, not a AP_HAL::Proc
...
AP_HAL: add type-safety for interrupt types
AP_HAL: remove interrupt-low and interrupt-high, and interrupt-none
It is possible that the radio needs very tight timings - do not force
the use of the functor interface
AP_HAL: add detach_interrupt method
7 years ago
Peter Barker
c846a13d12
AP_HAL: functor: add != override
7 years ago
Andrew Tridgell
0a73c3492d
AP_HAL: support HAL_Semaphore type
7 years ago
Hwurzburg
5f72c9040e
AP_OSD: Adding flight distance and summary panels for OSD
7 years ago
Francisco Ferreira
0645a5b11a
AP_HAL: introduce a CANProtocol interface and remove HAL CAN thread management
7 years ago
Andrew Tridgell
1fe6c7b497
AP_HAL: added chanmask to serial_setup_output()
7 years ago
Lucas De Marchi
099eefee87
AP_HAL: Chibios: HAL_GPIO_PIN_SAFETY_IN implies HAL_HAVE_SAFETY_SWITCH
7 years ago
Lucas De Marchi
7f984f2700
AP_HAL: linux: disable safety switch
...
Linux boards don't really handle the safety switch.
7 years ago
Lucas De Marchi
2336d2214b
AP_HAL: sitl: disable safety switch
...
sitl doesn't really handle the safety switch and it's actually disabled
by AP_FEATURE_SAFETY_BUTTON.
7 years ago
Andrew Tridgell
949324ff2b
AP_HAL: added duration to toneAlarm_set_buzzer_tone
7 years ago
Jonathan Challinger
f936b1dbc2
AP_HAL: change tonealarm interface
7 years ago
Andrew Tridgell
cb19d4dffc
AP_HAL: added toneAlarm_set_tune_string
7 years ago
Andrew Tridgell
0fc6ca22f7
AP_HAL: setup HAL_I2C_INTERNAL_MASK for ChibiOS
7 years ago
Andrew Tridgell
464dc9102f
AP_HAL: added device types for SITL
...
and fixed a stack init bug for make_bus_id
7 years ago
Michael du Breuil
3419b045e1
AP_HAL: Remove GPIO::analogPinToDigitalPin()
7 years ago
Andrew Tridgell
d35abe67ae
AP_HAL: added optional healthy check on storage object
...
used to check parameter storage is functional
7 years ago
Andrew Tridgell
4939f30ec4
AP_HAL: make linux internal i2c be 0xffff
...
based on feedback from Lucas
7 years ago
Andrew Tridgell
b19219d636
HAL_Linux: allow for 16 I2C buses on Linux
7 years ago
Andrew Tridgell
281a1b6569
AP_HAL: added I2C bus mask functions and macros
7 years ago
Andrew Tridgell
e14e0b8a14
AP_HAL: added thread_create() API
...
this is deliberately a minimalistic API, for ease of implementation in
each HAL
7 years ago
Andrew Tridgell
eb2c9dfe74
AP_HAL: define CHIBIOS_SHORT_BOARD_NAME if not defined
7 years ago
Andrew Tridgell
d1fcf2bab6
AP_HAL: added uartG
...
one more uart ...
7 years ago
Peter Barker
b9b0ef0c77
AP_HAL: add flash_bootloader to AP_HAL API
7 years ago
Michael du Breuil
2577e5ff25
AP_HAL: Don't always define GPIO pins, they may be connected to real
...
hardware
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
Michael du Breuil
a92c4aa9fd
AP_HAL: Update comment on UARTDriver::begin to reflect automatic
...
clearing
7 years ago
Kelly-Foster
ba9faafc98
AP_HAL: added MatekF405-wing subtype
...
Added define for HAL_BOARD_SUBTYPE_CHIBIOS_MATEKF405WING
7 years ago
Hyungsub
6e2076a3f1
AP_HAL: Remove resource leak in srxl.cpp
...
I correct this issues and then open a pull request.
7 years ago
Peter Barker
584c5d5806
AP_HAL: Socket: add set_cloexec
7 years ago
Peter Barker
f5eb281efd
AP_HAL: use AP_RTC
...
Also add a define as to whether set_time / get_time can be used
7 years ago
Michael du Breuil
1183ed61fb
AP_HAL: Remove timer process suspension interface
7 years ago