20498 Commits

Author SHA1 Message Date
Beat Küng
7d8553ecd8 uavcan: remove assert() for git name check 2016-12-21 11:35:10 +01:00
Beat Küng
115301d43a cmake configs: add lib/version to remaining configurations 2016-12-21 11:35:10 +01:00
Beat Küng
8d1f35bff6 board cmake: remove board_name.c from all boards
leftover after rebase
2016-12-21 11:35:10 +01:00
Beat Küng
5e9bdff205 version: remove FW_GIT & FW_BUILD_URI, use the correct methods instead
This is cleanup after rebasing
2016-12-21 11:35:10 +01:00
Beat Küng
3d0f1e4a4f logger: use better variable names for chip name description 2016-12-21 11:35:10 +01:00
Beat Küng
66a6ce880c cmake stm32f4discovery: add lib/version 2016-12-21 11:35:10 +01:00
Beat Küng
5ad2595f43 logger: add more version info & uuid
in particular:
- SW release version (in addition to the git hash)
- OS version (tag + git hash if exists)
- mcu version & revision & UUID
- toolchain version

The uuid can be disabled via parameter, it's enabled by default.
2016-12-21 11:35:10 +01:00
Beat Küng
41dc34204c version cleanup: move all version information into version.c and use a common API
The provided versioning information is the same, except for some additions,
like OS version (which still need to be implemented on NuttX).
2016-12-21 11:35:10 +01:00
Beat Küng
08dc3decb1 mavlink: avoid sending uninitialized data
_global_pos_sub->update(&_global_pos_time, &global_pos); could return
false and in that case global_pos was not set but still accessed.

This is prevented by checking if timestamp == 0.
2016-12-21 11:35:10 +01:00
Beat Küng
c662113527 board_name.c: remove the file and HW_ARCH macro, use px4_board_name() instead
boards define BOARD_NAME, so board_name() is not necessary. HW_ARCH was
just a wrapper around board_name().

This patch simplifies to having only one common method px4_board_name().
2016-12-21 11:35:10 +01:00
Mark Whitehorn
3d1f240351 exclude config from fmu-v1/v2 builds 2016-12-21 11:00:29 +01:00
Mark Whitehorn
c722e2733f update s250aq config for new TPA params 2016-12-21 11:00:29 +01:00
Mark Whitehorn
8962eaa944 add new asymmetric airframe for Spedix S250AQ 2016-12-21 11:00:29 +01:00
James Goppert
6ff85fb927 LPE land bug fix and switch to fusion bit mask. 2016-12-21 08:43:18 +01:00
Beat Küng
f263ea7f7e rc.sensors aerofc: change external mag orientation to 'Yaw 180 deg' 2016-12-21 08:42:04 +01:00
Matthias Grob
eda7848e16 mc_pos_control small refactoring while studying 2016-12-21 08:40:16 +01:00
Lorenz Meier
3f545c270d Removed unused code 2016-12-21 08:37:45 +01:00
Lorenz Meier
8a32e5a20d Mixers: Disable on unreachable boards 2016-12-21 08:37:45 +01:00
Lorenz Meier
bf7bdd4062 Crazyflie: Disable on Pixhawk boards 2016-12-21 08:37:45 +01:00
Lorenz Meier
9fd742d131 ZMR250: Disable on Pixhawk 2016-12-21 08:37:45 +01:00
Lorenz Meier
f795fb0535 Disable Aero on non-Aero boards 2016-12-21 08:37:45 +01:00
Lorenz Meier
3faa836a24 Disable Solo on Pixhawk 2016-12-21 08:37:45 +01:00
Lorenz Meier
f9a4d3b731 Disable Bebop on Pixhawk 2016-12-21 08:37:45 +01:00
Lorenz Meier
5d530da9c2 Disable QAVR5 on Pixhawk 2016-12-21 08:37:45 +01:00
Lorenz Meier
f601dc672e Disable Snapdragon PWM on Pixhawk 2016-12-21 08:37:45 +01:00
Lorenz Meier
417eda82ef ROMFS pruner: Kick out excluded files 2016-12-21 08:37:45 +01:00
Lorenz Meier
becd9457ca Call airframes script with board arg 2016-12-21 08:37:45 +01:00
Lorenz Meier
671e380fd2 Params script: Whitespace cleaning 2016-12-21 08:37:45 +01:00
Lorenz Meier
f23881d8ab Airframes tool: Support basic pruning 2016-12-21 08:37:45 +01:00
David Sidrane
f67e44215f Fixes TAP-V1 CI Failure:
Reverted MPU6000_BUS_I2C_INTERNAL1 back to MPU6000_BUS_I2C_INTERNAL
  Ony SPI has multiple device
2016-12-21 08:34:22 +01:00
David Sidrane
e5b10e808b Pickup 2 Upstream NuttX PX4 contributions
1) Ensure if CONFIG_SERIAL_DMA is set that cdcacm uart_ops is initalized
     with correct functions in correct slots.
     This was detected only with PX4 build flags
  2) C&P error from F7 would prevent CONFIG_STM32_SERIALBRK_BSDCOMPAT ifdefed
     code from being included.
2016-12-21 08:34:22 +01:00
Lorenz Meier
5ce9a35e95 Update rotation for FMUv5 ICM sensors 2016-12-21 08:34:22 +01:00
David Sidrane
b250ec2730 Adding more Prudut IDs for ICM20689 2016-12-21 08:34:22 +01:00
Lorenz Meier
f9ed66fe8b Board config for FMUv5: I2C bus naming consistency 2016-12-21 08:34:22 +01:00
Lorenz Meier
c220956961 MPU6K driver: More device names 2016-12-21 08:34:22 +01:00
Lorenz Meier
83e833c997 FMUv5 defconfig: Better defaults 2016-12-21 08:34:22 +01:00
Lorenz Meier
a7d31133ac Sensors startup: Whitespace fix 2016-12-21 08:34:22 +01:00
Lorenz Meier
27201ba2a1 MPU6K: Support different device names 2016-12-21 08:34:22 +01:00
Lorenz Meier
3caff7cdca HMC5883: Support additional I2C buses 2016-12-21 08:34:22 +01:00
Lorenz Meier
ace1f91355 I2C4: Fix GPIO setup 2016-12-21 08:34:22 +01:00
Lorenz Meier
3bbf5da85a FMUv5: Set default GPS port 2016-12-21 08:34:22 +01:00
Lorenz Meier
fcc85f79d5 MPU6K: Make stop routine safe to call from any location in the startup code 2016-12-21 08:34:22 +01:00
David Sidrane
489ee58773 px4fmu-v5 starts ICM 20602 and ICM 20689 2016-12-21 08:34:22 +01:00
David Sidrane
749fd2f155 Added ICM 20689 2016-12-21 08:34:22 +01:00
David Sidrane
6ebd24a678 Added ICM20602 2016-12-21 08:34:22 +01:00
David Sidrane
05701a2830 Reorged px4fmu-v5 code up 32K now that bootloader is completed. 2016-12-21 08:34:22 +01:00
David Sidrane
120064b55d WIP:Startup for FMUV5
Incomplete changes to startup script for FMUv5.
   See "Place holder Need" in ROMFS/px4fmu_common/init.d/rc.sensors
2016-12-21 08:34:22 +01:00
David Sidrane
93996a6d6e TAP uses BOARD_HAS_SHARED_PWM_TIMERS
Fixes https://github.com/PX4/Firmware/issues/5710
2016-12-21 08:34:22 +01:00
David Sidrane
0baab8263b Fix the LED PWM support for non shared timers
This is the fixes https://github.com/PX4/Firmware/issues/5710
  by adding 2 concepts.

  1) Allowing a board to define BOARD_HAS_SHARED_PWM_TIMERS
     in this case the io_timeris will be initalized as the
     led_pwm_timers  - there is an assumptionm that the
     number of io_timers == the number of led_pwm timers

  2) Allowing a board to define BOARD_LED_PWM_RATE
     To set an alternate frequency

  Future expansion will require:
  1) The ability to have a config with both the I2C RGB LED and
     PWM RGB LED drivers loaded.
  2) The higher level driver to create  multiple instances of the
     /dev/rgbld, to support internal and  external User facing
     RGB LED as supported in FMUv5
2016-12-21 08:34:22 +01:00
David Sidrane
4712ed1889 Complete px4fmu-v5 Led configuration 2016-12-21 08:34:22 +01:00