Michael du Breuil
75b241622f
AP_HAL_Empty: Remove set_stop_pin from AnalogSource
6 years ago
Andrew Tridgell
4e560a4ae5
HAL_Empty: added uartH
6 years ago
Andrew Tridgell
92e509a418
HAL_Empty: added empty flash driver
6 years ago
Michael du Breuil
57d3a4fb5f
AP_HAL_Empty: Remove unneeded private member
6 years ago
Peter Barker
d4601862bc
AP_HAL_Empty: add override keyword where required
6 years ago
Siddharth Purohit
78ce5a3f70
HAL_Empty: fix ambiguity of UARTDriver with the one defined in ChibiOS
6 years ago
Siddharth Purohit
2341719929
AP_HAL_Empty: do not use ch as its used by ChibiOS globally
6 years ago
Peter Barker
d868aab26a
AP_HAL_Empty: remove pointless attach_interrupt override
7 years ago
Peter Barker
9b9ec4db40
AP_HAL_Empty: attach_interrupt now takes a functor
...
AP_HAL_Empty: add type-safety for interrupt types
7 years ago
Michael du Breuil
f4b1d530c1
AP_HAL_Empty: Remove GPIO::analogPinToDigitalPin()
7 years ago
Andrew Tridgell
4ff57bd512
HAL_Empty: support uartG
7 years ago
Michael du Breuil
dbd852bbb6
AP_HAL_Empty: Remove timer process suspension interface
7 years ago
Michael du Breuil
45a13c868b
AP_HAL_Empty: Remove RC overrides
7 years ago
Michael du Breuil
b192c1c094
AP_HAL_Empty: Remove set_overrides() method
7 years ago
Peter Barker
ae56cbc302
AP_HAL_Empty: move delay callback handling to base HAL Scheduler class
7 years ago
Andrew Tridgell
5e19183e90
HAL_Empty: fixed I2C get_device() interface
7 years ago
Lucas De Marchi
5ea1784838
global: remove AP_HAL::in_timerprocess()
...
This is not used and in the only places it would make sense would be
internally to the scheduler so remove it.
8 years ago
Julien Beraud
c08587fb09
AP_HAL_Empty: adapt to new api
...
Removed gyro_cb in HAL interface
Added 2 new methods
8 years ago
murata
c808ee2f49
Global: To nullptr from NULL.
...
RC_Channel: To nullptr from NULL.
AC_Fence: To nullptr from NULL.
AC_Avoidance: To nullptr from NULL.
AC_PrecLand: To nullptr from NULL.
DataFlash: To nullptr from NULL.
SITL: To nullptr from NULL.
GCS_MAVLink: To nullptr from NULL.
DataFlash: To nullptr from NULL.
AP_Compass: To nullptr from NULL.
Global: To nullptr from NULL.
Global: To nullptr from NULL.
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Andrew Tridgell
1d6e4673da
HAL_Empty: add cork() and push() for RCOutput
8 years ago
Lucas De Marchi
e1ab44f4a3
Global: remove get_fd() from Device API
...
This was there for compatibility with I2CDriver and SPIDriver. We don't
use them anymore so we can remove the compat method.
9 years ago
Murilo Belluzzo
077e03678f
Global: Adapt Stream class to be used with Ringbuffer
9 years ago
Lucas De Marchi
7669d54265
AP_HAL_Empty: update Device interface
9 years ago
Lucas De Marchi
dc91dfb446
AP_HAL_Empty: remove SPIDriver
...
SPIDevice now controls all accesses to SPI bus.
9 years ago
Lucas De Marchi
9fda608d4a
AP_HAL_Empty: SPIDevice: implement fullduplex transfer
9 years ago
Lucas De Marchi
3eb0a48d59
AP_HAL_Empty: remove I2CDriver
...
I2CDevice now serves for the same purpose.
9 years ago
Lucas De Marchi
5ef1568137
AP_HAL_Empty: fix sitl
...
Sitl or anyone using AP_HAL_Empty implementation doesn't have any
I2CDevice, so it's pointless to return an empty one.
9 years ago
Ricardo de Almeida Gonzaga
00b1915034
AP_HAL_Empty: Fix typos
9 years ago
Andrew Tridgell
a78e23d6fb
HAL_Empty: added uartF
9 years ago
Lucas De Marchi
2bed317c6c
AP_HAL_Empty: replace header guard with pragma once
9 years ago
Lucas De Marchi
cb40444bf8
AP_HAL_Empty: implement SPIDevice
9 years ago
Lucas De Marchi
a117c22c34
AP_HAL_Empty: add I2CDevice
9 years ago
Lucas De Marchi
2b61eaf9f2
Global: remove {begin,end}_atomic from scheduler
...
These are never used and largely not implemented.
9 years ago
Lucas De Marchi
9aa49cda93
Global: remove system_initializing() from scheduler
...
This is not used anymore.
9 years ago
Lucas De Marchi
9d5fb97819
Global: rename enum SPIDevice to SPIDeviceType
...
Free the SPIDevice name so to have a consistent name for I2C/SPI device
classes.
9 years ago
Andrew Tridgell
a73039d515
HAL_Empty: use 5V voltage for HAL_EMPTY
...
this makes bringup easier for new boards (allows arming checks to
pass)
9 years ago
Andrew Tridgell
9fe25f9c71
HAL_Empty: fixed I2CDriver for use in Linux subtypes
9 years ago
Lucas De Marchi
e825eb12f5
AP_HAL_Empty: follow coding style
...
- Add some spaces
- Use pragma once
- Remove ; from method implementation
- Remove unneeded return
9 years ago
Lucas De Marchi
b3a751a199
AP_HAL_Empty: sort include headers
9 years ago
Julien BERAUD
d14f4104ea
AP_HAL_Empty: add support for OpticalFlow
...
Void driver
9 years ago
Lucas De Marchi
4f012b2b32
AP_HAL_Empty: sort namespace classes
9 years ago
Lucas De Marchi
2ffb08b9ca
AP_HAL_Empty: remove prefix from classes
...
Like was done for AP_HAL_Linux in 2ac96b9
("AP_HAL_Linux: remove prefix
from AP_HAL_Linux classes"), remove the "Empty" prefix from class names
since we are already inside the Empty namespace.
9 years ago
Lucas De Marchi
00f17466a8
AP_HAL_Empty: use init() method without arguments
...
Override the init() method from parent class that doesn't have a
parameter since it's not used here.
9 years ago
Caio Marcelo de Oliveira Filho
ee542aac8b
AP_HAL_Empty: Remove unused extern declaration for HALs
...
These are "left-overs" from how things worked before commit
"AP_HAL: make code not depend on concrete HAL
implementations". The real declaration now lives inside get_HAL() function.
Use the opportunitiy to change the files to use "#pragma once".
9 years ago
Caio Marcelo de Oliveira Filho
420dfc7ce2
AP_HAL_Empty: remove unused functions
9 years ago
Lucas De Marchi
1b07dabeb7
Replace prog_char and prog_char_t with char
...
prog_char and prog_char_t are now the same as char on supported
platforms. So, just change all places that use them and prefer char
instead.
AVR-specific places were not changed.
9 years ago
Lucas De Marchi
20c6ffc5e3
Replace use of UARTDriver::printf_P() with UARTDriver::printf()
...
This also starts to show warnings on places that were already using
wrong printf format strings.
9 years ago
Lucas De Marchi
7ceffb1e2b
Replace use of vprintf_P() with vprintf()
9 years ago
Lucas De Marchi
9eaf7c5660
AP_HAL: add format attribute to panic()
9 years ago