Commit Graph

24 Commits

Author SHA1 Message Date
Beat Küng f7e3e46a92 config command: fix device commands like 'config /dev/accel0 block' 2016-11-06 14:48:20 +01:00
Julian Oes 8ff237c69f Remove size optimization for individual modules
It makes more sense to set the optimization flags on a platform basis
instead of individually for each module. This allows for different
optimization options for SITL, NuttX, Snapdragon, etc.
2016-09-30 08:11:51 +02:00
Beat Küng 8a12dee125 cmake: remove all module.mk files & cmake conversion script (#4918)
It seems these files are leftovers.
2016-06-28 09:26:36 +02:00
James Goppert 967e4dd127 Modified cmake to use STACK_MAX and STACK_MAIN 2016-04-14 13:36:36 -04:00
Julian Oes b9cc0b74e2 drivers: re-use calibration topic
E.g. instead of defining a gyro_scale struct in drv_gyro.h, use the
gyro_calibration message.
2016-03-24 13:08:30 +01:00
James Goppert 1d6b31d196 Switch to cmake build system. 2015-09-07 20:37:45 -04:00
Daniel Agar 5c2b1d7813 format src/systemcmds/config 2015-09-05 12:21:10 -04:00
Mark Charlebois 9758112e31 Use px4_config.h instead of nuttx/config.h
Modified code to use OS independent header file for config settings.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 10:55:41 -07:00
Lorenz Meier ed98dc1fdf Config app: Use indexed sensor names 2015-02-03 08:55:16 +01:00
hauptmech 0b784c20c8 Save and check device id for acc and gyro calibration parameters.
Fix config utility to work with all devices of each type.
Accel, gyro and mag devices correctly set their device_id devtype.
Combo devices (mpu6000 lsm303d) now correctly return their devtype.
config util shows device id for all sensor types.
Add, save during calibration and check during preflight ID parameters for accelerometer and gyro
2015-01-31 15:53:34 +01:00
hauptmech 21d3dcb190 Fix config utility to work with all devices of each type, not just the primary one. 2015-01-28 10:20:19 +01:00
hauptmech e18e5ca5b5 Add SENS_MAG_ID parameter
Record devid to SENS_MAG_ID during mag calibration
Verify devid matches SENS_MAG_ID during preflight_check
2015-01-17 18:41:43 +01:00
Lorenz Meier b7d1f3f100 Make error reporting consistent 2014-05-24 11:01:28 +02:00
Lorenz Meier b0d06d2109 config cmd: Eleminate warnings 2014-05-24 00:13:49 +02:00
Lorenz Meier 267b78f072 Fix of errors triggered by more pedantic compile options 2014-04-21 21:31:30 +02:00
Lorenz Meier ac326beaaa Improved config tool to also do device IOCTLs 2014-01-14 16:04:26 +01:00
Julian Oes aecb62a2dd Fixed small typo 2013-10-31 09:57:30 +01:00
Julian Oes 7db420b9b2 Get units right in config 2013-08-21 14:20:42 +02:00
Julian Oes f5c92314f1 Improved LSM303D driver, plus some fixes to the HMC5883 2013-08-20 20:02:06 +02:00
Julian Oes d2d59aa392 Handle the config command line arguments a bit more intuitive 2013-08-20 19:59:52 +02:00
Lorenz Meier e943488e9f Show values when selftest fails 2013-08-20 10:07:37 +02:00
Lorenz Meier dccdc977d5 Made accel / gyro self tests aware of offsets and scales, added support to config command to call these 2013-08-09 17:56:32 +02:00
Lorenz Meier db527ee881 Removed unused code 2013-07-29 11:00:36 +02:00
Lorenz Meier 95dde5f1be Implemented config command, fixed a number range set / get issues for some sensor drivers, fixed gyro calibration 2013-07-26 18:24:37 +02:00