Gustavo Jose de Sousa
b65f63ffc1
waf: keep non-variant options definitions together
...
Keep definition of options that are stored in the "non-variant" configuration
together.
2016-07-29 16:25:33 -03:00
Gustavo Jose de Sousa
5597cc40e9
waf: update submodule for autoconfigure fix
...
There was a bug on Waf's autoconfigure feature: if one of the files from the
cached list was deleted, the reconfiguration check would raise an exception
instead of forcing a reconfiguration. This update cherry-picks the commits
fixing that. A rebase can be done when there is a new release.
2016-07-29 16:24:41 -03:00
Lucas De Marchi
b044fac4b6
AP_HAL_Linux: rename variable to follow I2CDevice convention
2016-07-29 15:01:15 -03:00
Lucas De Marchi
57ec968b44
AP_HAL: remove SPIDriver
...
SPIDevice now controls all accesses to SPI bus.
2016-07-29 15:01:15 -03:00
Lucas De Marchi
dc91dfb446
AP_HAL_Empty: remove SPIDriver
...
SPIDevice now controls all accesses to SPI bus.
2016-07-29 15:01:15 -03:00
Lucas De Marchi
7b140da6d1
AP_HAL_Linux: remove SPIDriver
...
SPIDevice now controls all accesses to SPI bus.
2016-07-29 15:01:15 -03:00
Lucas De Marchi
5ab1c6ff51
AP_ADC: remove ADS7844
...
It's not used by any board.
2016-07-29 15:01:15 -03:00
Lucas De Marchi
ef81e71afa
AP_ADC: remove example tailored to a single ADC
...
This is the only user of ADS7844 - we don't have it actually used in our
boards. Remove the example since we can later add a more generic one or
at least one that reuses a driver from our boards.
2016-07-29 15:01:15 -03:00
Lucas De Marchi
3a5e8a17c7
AP_HAL: remove enum id for Ublox and RASPIO
2016-07-29 15:01:15 -03:00
Lucas De Marchi
945556bbc3
AP_HAL_Linux: remove id for SPIDevice_Ublox and RASPIO
2016-07-29 15:01:15 -03:00
Lucas De Marchi
065592e7df
AP_HAL_Linux: SPIUARTDriver: add some cosmetic changes
...
Mainly changes to follow the coding style and reduce the complexity a
little bit.
2016-07-29 15:01:15 -03:00
Lucas De Marchi
e3c0476b8a
AP_HAL_Linux: SPIUARTDriver: initialize device once
2016-07-29 15:01:14 -03:00
Lucas De Marchi
418cc817a3
AP_HAL_Linux: SPIUARTDriver: fix conversion to SPIDevice
...
We need to use the fullduplex method to transfer both tx and rx at the
same time.
2016-07-29 15:01:14 -03:00
Lucas De Marchi
cbbd6f9d78
AP_HAL_Linux: SPIDevice: implement fullduplex transfer
2016-07-29 15:01:14 -03:00
Lucas De Marchi
9fda608d4a
AP_HAL_Empty: SPIDevice: implement fullduplex transfer
2016-07-29 15:01:14 -03:00
Lucas De Marchi
01452bf922
AP_HAL: SPIDevice: add fullduplex method
...
This method is needed when we want to transfer both tx and rx at the
same time, as opposed to common cases for sensors in which they are like
in the I2C interface: half-duplex.
2016-07-29 15:01:14 -03:00
Luiz Ywata
7ded01cf24
AP_HAL_Linux: SPIUARTDriver: use SPIDevice interface
2016-07-29 15:01:14 -03:00
Luiz Ywata
c8bb5e6469
AP_HAL_Linux: RCInput_Raspilot use SPIDevice interface
2016-07-29 15:01:14 -03:00
Luiz Ywata
e8d3229492
AP_HAL_Linux: RPIOUARTDriver: use SPIDevice interface
2016-07-29 15:01:14 -03:00
Luiz Ywata
bfd840c5ca
AP_HAL_Linux: RCOutput_Raspilot: use SPIDevice interface
2016-07-29 15:01:14 -03:00
Lucas De Marchi
86ac9bc367
AP_HAL_Linux: AnalogIn_Raspilot: use SPIDevice interface
2016-07-29 14:47:04 -03:00
Lucas De Marchi
81345cc112
AP_HAL: Remove enum for Dataflash
2016-07-29 14:47:04 -03:00
Lucas De Marchi
8681d23cbd
AP_HAL_Linux: remove unused Dataflash
...
This is selectable by a define and is never changed. Just remove
everything referencing it: we can come up with a better solution if it
is actually used later.
2016-07-29 14:47:04 -03:00
Gustavo Jose de Sousa
f936291a52
waf: set variant of BuildContext classes in configure
...
Otherwise, a call like `waf configure --board <foo> <command1>` will make
`<command1>` run on wrong variant if there was a different variant configured
previously, or an empty variant if the project is "distcleaned".
2016-07-29 13:06:35 -03:00
Peter Barker
9749b91d46
SITL: initialise sigaction structs - valgrind fix
2016-07-29 10:38:03 -03:00
Jonathan Challinger
2c41459fe9
Copter: loosen accelerometer consistency check in z-axis
2016-07-29 14:08:14 +09:00
murata
b1f204e2a6
Copter: use constrain_float for target_roll assignment
2016-07-29 13:35:27 +09:00
Jonathan Challinger
d1ecc63bf1
AP_NavEKF2: change priority of statustext messages
2016-07-29 13:19:51 +09:00
Andrew Tridgell
9666b1478a
mavlink: submodule update
...
fixed issue with zero length MAVLink2 packets, found by Jeff Walker
2016-07-29 12:03:22 +10:00
mirkix
5f5c200625
ArduPlane: Fix filename in header
2016-07-28 18:24:24 -03:00
Lucas De Marchi
1841313f73
AP_HAL_VRBRAIN: remove I2CDriver
...
I2CDevice now serves for the same purpose.
2016-07-28 18:08:57 -03:00
Lucas De Marchi
d418338e22
AP_HAL_SITL: remove I2CDriver
...
I2CDevice now serves for the same purpose.
2016-07-28 18:08:57 -03:00
Lucas De Marchi
13848f0f3f
AP_HAL_QURT: remove I2CDriver
...
I2CDevice now serves for the same purpose.
2016-07-28 18:08:57 -03:00
Lucas De Marchi
2ef78051c1
AP_HAL_PX4: remove I2CDriver
...
I2CDevice now serves for the same purpose.
2016-07-28 18:08:56 -03:00
Lucas De Marchi
73bb371918
AP_HAL_Linux: remove I2CDriver
...
I2CDevice now serves for the same purpose.
2016-07-28 18:08:56 -03:00
Lucas De Marchi
3eb0a48d59
AP_HAL_Empty: remove I2CDriver
...
I2CDevice now serves for the same purpose.
2016-07-28 18:08:56 -03:00
Lucas De Marchi
b21ad36676
AP_HAL: remove I2CDriver
2016-07-28 18:08:56 -03:00
Lucas De Marchi
8f11bf7373
AP_ADC: ADS1115: fix typo
2016-07-28 18:05:45 -03:00
Lucas De Marchi
c27ebd10c2
ArduPlane: Remove i2c lockup count
...
This was returned only for a single bus and on all supported platforms
this is hardcoded to 0.
2016-07-28 18:03:09 -03:00
Lucas De Marchi
c0b49f6aeb
ArduCopter: Remove i2c lockup count
...
This was returned only for a single bus and on all supported platforms
this is hardcoded to 0.
2016-07-28 18:03:09 -03:00
Lucas De Marchi
3223a1a542
APMrover2: Remove i2c lockup count
...
This was returned only for a single bus and on all supported platforms
this is hardcoded to 0.
2016-07-28 18:03:09 -03:00
Lucas De Marchi
d854b55b9f
AntennaTracker: Remove i2c lockup count
...
This was returned only for a single bus and on all supported platforms
this is hardcoded to 0.
2016-07-28 18:03:09 -03:00
Lucas De Marchi
4595a2b7d8
AP_Compass: Remove i2c lockup count
...
This was returned only for a single bus and on all supported platforms
this is hardcoded to 0.
2016-07-28 18:03:09 -03:00
Lucas De Marchi
84f45f09a3
AP_HAL_Linux: convert CameraSensor_Mt9v117 to I2CDevice
2016-07-28 18:03:09 -03:00
Gustavo Jose de Sousa
cb1c7b66cb
waf: add post build callbacks in separate function
...
That makes it easier see what callbacks are or not being added and the order
they are executed. While at it, don't add build summary callback when in a
check command.
2016-07-28 17:50:19 -03:00
Gustavo Jose de Sousa
d1c5691501
waf: build_summary: let the user register the post build callback
...
That allows more control from the user's point of view.
2016-07-28 17:50:19 -03:00
Pierre Kancir
ff8c772776
sim_vehicle.py: correct url
2016-07-28 16:44:18 -03:00
Pierre Kancir
40a594e137
sim_vehicle.py : style correction
2016-07-28 16:44:18 -03:00
Lucas De Marchi
9acffc8868
AP_HAL_Linux: use Empty version if not implemented
...
There's little point in having the Linux::AnalogIn just to implement and
empty interface. All implementations inside AP_HAL_Linux are already
inheriting directly from AP_HAL, so just remove it.
2016-07-28 16:42:38 -03:00
Lucas De Marchi
47d2f8dc6d
AP_HAL_Linux: AnalogIn_ADS1115: return 5V on board_voltage
...
board voltage is not available - don't return 0V since that prevents
arming.
2016-07-28 16:42:38 -03:00