Commit Graph

3199 Commits

Author SHA1 Message Date
patacongo 049c934465 drivers/serial.c: Fix some race conditions. Some bad things code happen if we lost a USB connection at certain times.
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5596 42af7a65-404d-4744-a932-0658087f49c3
2013-02-02 00:29:55 +00:00
patacongo c058d84795 Last minute 6.25 change
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5595 42af7a65-404d-4744-a932-0658087f49c3
2013-02-01 22:51:34 +00:00
patacongo 85417c1a51 Prep for 6.25 release
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5594 42af7a65-404d-4744-a932-0658087f49c3
2013-02-01 22:37:52 +00:00
patacongo a6d4497461 Additional patches from Petteri Aimonen for FAT, STM32 SPI, and AT25
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5593 42af7a65-404d-4744-a932-0658087f49c3
2013-02-01 15:32:39 +00:00
patacongo 04a4ef84f0 NxWidgets updates from Petteri Aimonen; buildroot GDB build fix from Ken Bannister
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5592 42af7a65-404d-4744-a932-0658087f49c3
2013-02-01 14:53:38 +00:00
Lorenz Meier 7ccc57f3c0 Fixed test outputs, decoupled tests from NuttX low-level output via message() macro 2013-02-01 13:02:20 +01:00
Marco Bauer 10361d997a Options for bus and blinkmaddress added. 2013-02-01 11:42:45 +01:00
patacongo 966e801032 Misc clean; mark assertions as non-returning; allow toolchain prefix to be overriden from make command line
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5591 42af7a65-404d-4744-a932-0658087f49c3
2013-01-31 23:29:34 +00:00
patacongo 28a0241ccd Missing calls to class SUSPEND/RESUME methods in all USB drivers
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5590 42af7a65-404d-4744-a932-0658087f49c3
2013-01-31 19:20:26 +00:00
patacongo 9de6f4d501 Fix readline return value; Add support for removable serial devices
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5589 42af7a65-404d-4744-a932-0658087f49c3
2013-01-31 16:52:20 +00:00
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