Commit Graph

3089 Commits

Author SHA1 Message Date
Lorenz Meier e137d00424 HOTFIX: Fixed HoTT compile error, fixed MAVLink crash 2013-01-31 17:31:58 +01:00
patacongo 94360f3474 With the last fixes to the STM32 OTG FS driver, the old poll hack no longer seems necessary
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5588 42af7a65-404d-4744-a932-0658087f49c3
2013-01-30 23:22:51 +00:00
patacongo b433eca18d The STM32 F2/4 OTG FS device driver seems to be functional
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5587 42af7a65-404d-4744-a932-0658087f49c3
2013-01-30 22:25:25 +00:00
px4dev e7bbe685b4 Add back some (currently unused) files lost in an earlier NuttX merge 2013-01-30 14:23:29 -08:00
patacongo 4a3b0823cb LM4F update from JP
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5586 42af7a65-404d-4744-a932-0658087f49c3
2013-01-30 18:48:13 +00:00
Julian Oes c19870d565 Merge remote-tracking branch 'upstream/master' into attitude_filter_improvement 2013-01-30 10:36:05 -08:00
patacongo e44fbfdc5a Add LM3S/4F family definitions
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5585 42af7a65-404d-4744-a932-0658087f49c3
2013-01-30 16:44:26 +00:00
patacongo 37d3293690 Remove the g_iocon[] arrary
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5584 42af7a65-404d-4744-a932-0658087f49c3
2013-01-30 14:42:10 +00:00
patacongo 2ee8d52159 LPC1788 updated from Rommel Marcelo
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5583 42af7a65-404d-4744-a932-0658087f49c3
2013-01-30 13:24:45 +00:00
patacongo 7f22c14077 Add support for a login script (in addition to the init script); Add logic so that a USB console session can connect and reconnect to the USB serial device
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5582 42af7a65-404d-4744-a932-0658087f49c3
2013-01-29 22:11:04 +00:00
patacongo 6ebd56f299 The USB monitor now works with configs/stm32f4discovery/usbnsh
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5581 42af7a65-404d-4744-a932-0658087f49c3
2013-01-29 18:32:04 +00:00
patacongo fb94bc1258 The USB monitor now works with the stm32f4discover/nsh configuration (but not with the usbnsh configuration)
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5580 42af7a65-404d-4744-a932-0658087f49c3
2013-01-29 17:42:58 +00:00
patacongo 2946cb47a8 USB monitor daemon updates
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5579 42af7a65-404d-4744-a932-0658087f49c3
2013-01-29 13:30:10 +00:00
px4dev 9197df46dd Merge branch 'master' into px4io-i2c 2013-01-28 21:58:55 -08:00
patacongo 79ccfa4ae6 Add syslog.h; rename lib_rawprintf() to syslog()
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5578 42af7a65-404d-4744-a932-0658087f49c3
2013-01-28 21:55:16 +00:00
patacongo 433dae7422 Beginning of apps/system/usbmonitor (incomplete); more LM4F changes from JP
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5577 42af7a65-404d-4744-a932-0658087f49c3
2013-01-28 18:45:09 +00:00
patacongo 12af0cacd6 Misc SYSLOG and STM32 serial fixes
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5576 42af7a65-404d-4744-a932-0658087f49c3
2013-01-28 17:43:55 +00:00
patacongo cc99071a68 Serial driver needed even when no console; Fix user LED settings in all STM32 configurations
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5575 42af7a65-404d-4744-a932-0658087f49c3
2013-01-28 15:03:17 +00:00
patacongo 02b171cb25 Updates for stm32f4discovery/usbnsh configuration
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5574 42af7a65-404d-4744-a932-0658087f49c3
2013-01-28 01:44:45 +00:00
patacongo d3e4a31ac5 configs/stm32f4discovery/nsh converted to use kconfig-frontends
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5573 42af7a65-404d-4744-a932-0658087f49c3
2013-01-27 20:05:29 +00:00
patacongo b4db7635d8 Add configs/stm32f4discovery/usbnsh
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5572 42af7a65-404d-4744-a932-0658087f49c3
2013-01-27 19:17:56 +00:00
patacongo e96d8f046b Add a start hook that can be setup to call a function in the context of a new thread before the new threads main() has been called.
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5571 42af7a65-404d-4744-a932-0658087f49c3
2013-01-27 15:52:58 +00:00
Lorenz Meier 2f7a7ccf0a Merge pull request #120 from PX4/statemachine_docs
State machine documentation
2013-01-27 03:45:10 -08:00
Lorenz Meier 6fca6e00f1 Updated state machine docs after first review round 2013-01-27 12:44:06 +01:00
Lorenz Meier 815f643819 Merge pull request #67 from sjwilks/hott
Implementation of the Graupner HoTT telemetry protocol
2013-01-27 03:43:19 -08:00
px4dev 338f769202 Merge branch 'master' into px4io-i2c 2013-01-26 21:17:39 -08:00
px4dev 43ead720a7 Now that we're mostly done with I2C, the old serial interface can be cleaned out. 2013-01-26 21:17:10 -08:00
px4dev 636e0cc56a It looks like retrying reads from the ms5611 is not safe either. 2013-01-26 20:23:19 -08:00
px4dev 6d0363faff Disarm IO at driver startup time. 2013-01-26 19:43:23 -08:00
px4dev 981477c785 Re-order register page variables to match the order registers are defined in the protocol header. 2013-01-26 19:24:18 -08:00
px4dev 666d3a401b Rename ::start to ::start_cycle to avoid confusion with the other start function.
Only enable I2C retries on operations that have no side-effects.
2013-01-26 18:55:26 -08:00
px4dev 621063ac08 Increase the number of I2C retries. 2013-01-26 17:10:04 -08:00
px4dev 33c12d13ad Defer I2C bus resets for the first couple of retries to avoid transient slave errors causing massive retry spam. 2013-01-26 17:07:58 -08:00
px4dev 7864176b5a A couple of logic fixes from Tridge. 2013-01-26 16:37:35 -08:00
Andrew Tridgell c0a46c4b93 px4io: fixed logical vs bitwise typo 2013-01-26 16:20:34 -08:00
Andrew Tridgell 5ee52138c4 px4io: ensure RC_OK status flag is set on good input 2013-01-26 16:20:02 -08:00
px4dev 52ff9b7d43 Use multi-part transactions rather than separate transfers to avoid racing between the ioctl and thread-side interfaces. 2013-01-26 16:16:19 -08:00
px4dev fd28217e59 Implement the retry counter for message-vector based transfers. 2013-01-26 16:15:23 -08:00
px4dev 6bd662cfb2 In the case of a repeated start, we won't get a STOPF/AF status, but we still need to complete the old transaction before handling ADDR. 2013-01-26 16:11:31 -08:00
patacongo 47b94bafa5 Move socket data from TCB to task group structure.
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5570 42af7a65-404d-4744-a932-0658087f49c3
2013-01-26 23:49:02 +00:00
px4dev e0f83af96f Reset the collection state machine on all I2C errors, increase the retry count. 2013-01-26 15:13:30 -08:00
px4dev 2a18d6466c Add a bus saturation test for px4io. 2013-01-26 14:36:31 -08:00
px4dev 6ba4cd04fe Handle the completion of an in-progress transaction (STOPF/AF bits) before accepting the start of a new transaction (ADDR). 2013-01-26 14:26:02 -08:00
px4dev 11796e27f2 Simplify and tidy the handling of page buffer selection on the readout path. 2013-01-26 14:25:22 -08:00
patacongo b82c36961a Move stream data from TCB to task group structure.
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5569 42af7a65-404d-4744-a932-0658087f49c3
2013-01-26 22:25:21 +00:00
px4dev 4ab490bd50 Only update the servo output values when we are armed. 2013-01-26 13:16:24 -08:00
px4dev 4ea8a64b39 Correct the length calculation for register write transfers so that we send all of the requested registers. 2013-01-26 13:15:57 -08:00
px4dev 72fcc8aad3 Tidy up the write path. 2013-01-26 13:15:27 -08:00
px4dev 899fbcc7cf Fix cut and paste so that we send direct PWM and read back servo values from the right pages. 2013-01-26 13:14:52 -08:00
px4dev 3a8bbe837e Allow readback of the direct PWM outputs (this mirrors the PWM servo outputs) 2013-01-26 13:14:15 -08:00