Commit Graph

3266 Commits

Author SHA1 Message Date
px4dev 2ebcd0fdcc Switch to optimising some things for size rather than speed. 2013-02-23 22:00:58 -08:00
px4dev b80575fcff Break up the firmware build into a 'make export' phase for NuttX on a per-board basis, and then a separate per-config phase that allows us to avoid re-building NuttX all the time, and ship more than one firmware config for a given board.
This is a first cut; it builds one firmware for each of FMU and IO.
2013-02-23 22:00:58 -08:00
px4dev 085d08ce6c It seems to be safe to build these for any config. 2013-02-23 22:00:58 -08:00
px4dev c45bf1ab81 Fix a couple of things that break 'make export'. 2013-02-23 22:00:58 -08:00
Lorenz Meier 5aa5645fb0 Disabled MAVLink debug app 2013-02-23 12:02:58 +01:00
Lorenz Meier 0561fab4e3 Merge branch 'master' of github.com:PX4/Firmware into px4io-i2c 2013-02-23 12:02:13 +01:00
Lorenz Meier a704acc2a2 Out of memory warning, flash and RAM optimizations 2013-02-23 12:02:00 +01:00
px4dev 8e66268c35 Hotfix: Add support for 9-channel Spektrum/DSM setups.
Tested by Felipe Reis <felipereis87@gmail.com>
2013-02-22 19:13:04 -08:00
Thomas Gubler 2c2c65d446 corrected some wrong units (used in airspeed calculation) 2013-02-22 22:53:38 +01:00
Simon Wilks a69b09d2bf Merge remote-tracking branch 'upstream/master' into px4io-i2c 2013-02-21 22:04:29 +01:00
Lorenz Meier c3aad047a5 Merge pull request #203 from PX4/debug_example
Added additional debug / uORB example
2013-02-20 22:47:36 -08:00
Lorenz Meier be40845177 Switched to debug statement which is more efficient regarding stack usage, only printing at debug level 2 or higher. 2013-02-20 12:19:03 +01:00
Lorenz Meier 16b0fa7fd4 Merge branch 'master' of github.com:PX4/Firmware into px4io-i2c 2013-02-20 09:47:14 +01:00
Lorenz Meier 4cde275466 Switched I2C to interrupt driven mode 2013-02-20 09:47:08 +01:00
Lorenz Meier 69d9265bc3 Adjusted stack size for commander app 2013-02-20 09:44:15 +01:00
Andrew Tridgell e896944adc ms5611: try to measure the performance cost of I2C timeouts 2013-02-19 14:45:45 +11:00
Andrew Tridgell 4a15eef602 px4io: fixed signals for lower latency PWM output
poll() is not interrupted by signals, whereas usleep() is
2013-02-19 12:31:51 +11:00
Lorenz Meier 663ca58063 Merge branch 'master' of github.com:PX4/Firmware 2013-02-18 16:46:05 +01:00
Lorenz Meier 104d5aa365 More sensible error handling in calibration 2013-02-18 16:45:59 +01:00
Andrew Tridgell 3c6d6f0ef1 px4fmu: disable a bunch of code when built for APM
this leaves us enough flash to fit APM
2013-02-18 14:17:06 +11:00
Andrew Tridgell a68300941f px4fmu: enable BINFS
needed for APM startup
2013-02-18 14:16:29 +11:00
Andrew Tridgell 317515fb6a px4io: added INAIR_RESTART enable/disable flags
the autopilot code needs to know that in-air restart may happen, so it
should be something that is enabled, rather than on by default.
2013-02-18 14:16:09 +11:00
Andrew Tridgell 1670b8afe1 nshlib: added cmp command to nsh
this is useful for startup scripts testing for auto-upgrade of add-on 
board firmware
2013-02-18 10:19:38 +11:00
Andrew Tridgell 9b7ee0c91b appconfig: disable mathlib and associated examples on APM
these are far too large (777 kbyte) and we can't fit them with the
ArduCopter flight code
2013-02-18 08:41:28 +11:00
Andrew Tridgell b53d34a3f0 px4fmu: add support for write() interface for PWM output
this matches the PX4IO interface
2013-02-18 08:32:49 +11:00
Andrew Tridgell d6c108d870 px4fmu: added publication of input_rc ORB values
this allows for PPM input with no IO board
2013-02-18 08:32:25 +11:00
Andrew Tridgell 9f15f38e57 Merged, removed unneeded line 2013-02-17 18:29:18 +01:00
Lorenz Meier 3b9488cc8b Merge branch 'master' of github.com:PX4/Firmware into px4io-i2c-nuttx 2013-02-17 18:14:48 +01:00
Lorenz Meier 520a2b4174 Merge pull request #198 from PX4/nuttx-merge-5596
Nuttx merge 5596
2013-02-17 09:14:12 -08:00
Lorenz Meier 219279ac82 Merge branch 'px4io-i2c' into px4io-i2c-nuttx 2013-02-17 18:13:09 +01:00
Lorenz Meier 985838d971 Merged master 2013-02-17 18:12:48 +01:00
Lorenz Meier 2745c3276f Merge branch 'master' of github.com:PX4/Firmware 2013-02-17 18:11:46 +01:00
Lorenz Meier 3d3a68a7fb Removed confusing non-error message, updated start scripts to match wiki and most recent SW revs 2013-02-17 18:11:33 +01:00
Lorenz Meier 56bf9855a8 Finished and tested in-air restore of arming state, as long as both boards reset at the same time armings state is now retained 2013-02-17 17:47:26 +01:00
Lorenz Meier 5085a28240 Merge branch 'px4io-i2c' into px4io-i2c-nuttx 2013-02-17 16:38:42 +01:00
Lorenz Meier f689f0abb0 Fixed excessive debug buffer size 2013-02-17 16:38:19 +01:00
Lorenz Meier d677512981 Merge branch 'px4io-i2c' of github.com:PX4/Firmware into px4io-i2c-nuttx 2013-02-17 16:33:59 +01:00
Lorenz Meier 038037d676 Allow to in-air restore the FMU and IO arming state if only one of the two fails 2013-02-17 16:06:33 +01:00
Lorenz Meier 5d92e0195f Re-enabled signals 2013-02-17 15:32:46 +01:00
Lorenz Meier 8f8e30052b Merged 2013-02-17 15:29:31 +01:00
Lorenz Meier 6bd18e46bb Disable signals again, it is too early (needs NuttX merge) 2013-02-17 15:25:59 +01:00
Lorenz Meier 0ffcb1b401 Merge branch 'master' into px4io-i2c 2013-02-17 13:08:21 +01:00
Lorenz Meier 9fb024b1f2 Removed old GPS app 2013-02-17 13:07:40 +01:00
Andrew Tridgell 04bea8678e Merged debuglevel command from Tridge 2013-02-17 13:03:36 +01:00
Andrew Tridgell a33f314a25 More output 2013-02-17 12:53:12 +01:00
Lorenz Meier 4216982d54 Made timeouts configurable, untested 2013-02-16 21:28:43 +01:00
Andrew Tridgell caade93ae4 px4io: enable signals
signals will be used to wakeup the mixer on a new set of pwm values
2013-02-16 21:22:31 +01:00
Lorenz Meier 730916cd17 Merge branch 'master' into px4io-i2c 2013-02-16 18:35:46 +01:00
Lorenz Meier 2d1009a897 Fixed log conversion file 2013-02-16 18:35:36 +01:00
Lorenz Meier 598622a00f Slightly adjusted battery voltage measurement after calibration against B&K Precision lab supply with beefy wiring. Needs more cross-validation. 2013-02-16 18:16:29 +01:00