Commit Graph

209 Commits

Author SHA1 Message Date
px4dev 5cc76018ff Merge commit '920608bf3671662f94b4939ffdaf6fde2b08edff' 2013-01-06 02:01:41 -08:00
px4dev 91ca80e634 Fix the handling of FIONREAD/FIONWRITE; thanks Tridge. 2013-01-04 21:28:26 -08:00
Andrew Tridgell 73b787a8dd serial: fixed up FIONREAD and FIONWRITE
the device ioctl returns -ENOTTY when it hasn't handled the command
2013-01-03 20:42:36 +11:00
px4dev 3916230d8f Add FIONWRITE to allow applications to sniff the amount of writable space on a descriptor. Implement this for serial devices only. 2013-01-03 19:35:44 +11:00
px4dev e787fa5bce Add FIONWRITE to allow applications to sniff the amount of writable space on a descriptor. Implement this for serial devices only. 2013-01-03 00:33:22 -08:00
px4dev 1f2ad5029a Improved termios support for the STM32 UART driver. Also add a little more termios processing to the generic serial layer. Implement FIONREAD. 2012-11-24 00:01:24 -08:00
px4dev 9b509310e6 Fix logic bug in ONLCR processing. 2012-11-02 00:10:10 -07:00
px4dev 0ccaa1330b Merge branch 'master' of file:///Users/Shared/NuttX
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5231 42af7a65-404d-4744-a932-0658087f49c3
2012-10-13 00:08:02 -07:00
patacongo 4d23437df0 Several bugfixes, mostly from Darcy Gong
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5217 42af7a65-404d-4744-a932-0658087f49c3
2012-10-06 14:50:37 +00:00
patacongo eb041b927a Fix some W25 driver errors
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5212 42af7a65-404d-4744-a932-0658087f49c3
2012-10-04 18:42:28 +00:00
patacongo 96a334a758 Implementation of /dev/random using the STM32 Random Number Generator (RNG)
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5207 42af7a65-404d-4744-a932-0658087f49c3
2012-09-29 20:34:25 +00:00
patacongo 343817a6fd Turn off LCD reading on Shenzhou board (needs some TLC before it will be usable)
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5202 42af7a65-404d-4744-a932-0658087f49c3
2012-09-28 19:24:46 +00:00
patacongo 8e47dd37d6 Fix ID tagging in ADS7843/XPT2046 touchscreen driver
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5201 42af7a65-404d-4744-a932-0658087f49c3
2012-09-27 20:55:15 +00:00
patacongo f664e163e5 Fix STM32 SPI3 remap logic
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5200 42af7a65-404d-4744-a932-0658087f49c3
2012-09-27 20:15:24 +00:00
patacongo 7dc357a4e6 STM32 fixes for DM9161 PHY; Enhancements for ADS7843e touchscreen controller
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5199 42af7a65-404d-4744-a932-0658087f49c3
2012-09-27 19:26:18 +00:00
patacongo c3bc22f07c Definitions for ARMv7-M AIRCR register, Fixes for ADS7843 and SSD1289 driver, Missing build logic for examples/watchdog
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5198 42af7a65-404d-4744-a932-0658087f49c3
2012-09-27 15:29:53 +00:00
px4dev 62a4aa96b6 Merge branch 'master' of file:///Users/Shared/NuttX
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5197 42af7a65-404d-4744-a932-0658087f49c3
2012-09-27 00:18:03 -07:00
patacongo 9a0be89531 Correct some bad parameter checking
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5197 42af7a65-404d-4744-a932-0658087f49c3
2012-09-27 03:13:50 +00:00
patacongo ebdc6a36e8 Fixes mostly related to touchscreen on Shenzhou board (still does not work)
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5196 42af7a65-404d-4744-a932-0658087f49c3
2012-09-27 01:26:47 +00:00
patacongo d7561fc092 Shenzhou board has an SSD1289 LCD, not ILI93xx
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5194 42af7a65-404d-4744-a932-0658087f49c3
2012-09-26 19:41:54 +00:00
patacongo fd3df782b1 Add more LCD-related Kconfig logic; Create a Kconfig file for NxWidgets
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5189 42af7a65-404d-4744-a932-0658087f49c3
2012-09-25 21:15:02 +00:00
patacongo cafa22293a Corrections for SD card on Shenzhou board
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5183 42af7a65-404d-4744-a932-0658087f49c3
2012-09-24 18:57:38 +00:00
patacongo 8da267c518 Shenzhou PHY address should be 0; make sure the F2/F4 bits are not set when using STM32 ethernet driver with F1
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5181 42af7a65-404d-4744-a932-0658087f49c3
2012-09-23 15:22:27 +00:00
px4dev 42f040ab66 Merge from upstream NuttX
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5166 42af7a65-404d-4744-a932-0658087f49c3
2012-09-19 23:29:14 -07:00
patacongo 2b7f90d569 The ENC28J60 driver is now functional
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5165 42af7a65-404d-4744-a932-0658087f49c3
2012-09-19 14:22:18 +00:00
patacongo b50f2a7834 Fix another ENC28J60 chip select bug
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5163 42af7a65-404d-4744-a932-0658087f49c3
2012-09-18 23:06:22 +00:00
patacongo 7d318ee113 Cosmetic updates to the ENC28J60 driver
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5161 42af7a65-404d-4744-a932-0658087f49c3
2012-09-18 18:32:31 +00:00
patacongo 294e1a2df9 Fix ording of bytes in ENC28J60 MAC address; Web server refactoring from Kate
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5159 42af7a65-404d-4744-a932-0658087f49c3
2012-09-18 12:34:43 +00:00
patacongo c3c602f93e Fix ENC28J60 Tx transmit (still a receive problem); Add HTTP 408 logic from Kate
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5158 42af7a65-404d-4744-a932-0658087f49c3
2012-09-17 23:02:58 +00:00
patacongo 2981943392 Resync new repository with old repo r5166
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5154 42af7a65-404d-4744-a932-0658087f49c3
2012-09-17 18:35:37 +00:00
patacongo 57623d42eb Resync new repository with old repo r5166
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5153 42af7a65-404d-4744-a932-0658087f49c3
2012-09-17 18:18:44 +00:00
px4dev 2b82c733a9 Merge branch 'NuttX/master'
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5163 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-16 16:42:10 -07:00
patacongo 1947d55686 Add W25 FLASH support to fire-stm32v2 and shenzhou boards; a fiew enc28j60 updates
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5162 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-16 21:05:40 +00:00
patacongo c09094ccfc Add W25 FLASH driver; Use attribute definitions in nuttx/compiler.h
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5161 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-16 15:46:54 +00:00
patacongo 3deb02acb8 ENC28J60: All work is now performed on worker thread, not the in interrupt handler
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5159 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-15 20:51:42 +00:00
patacongo 4070ce05fe Fix a ARMv7-M interrupt disable/optimization bug
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5155 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-15 16:02:58 +00:00
px4dev a3f21d9140 Merge branch 'NuttX/master' 2012-09-14 21:33:19 -07:00
patacongo cfa24e37d6 Some ENC28J60-related fixes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5154 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-14 21:48:07 +00:00
patacongo 7c82cf6924 Fix ENC28J60 chip enable issue
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5153 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-14 20:16:06 +00:00
patacongo 2aa4af7139 Remove executable property from source and make files
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5146 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-13 18:46:10 +00:00
patacongo 84cfa6fceb Email address change in nuttx/
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5145 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-13 18:32:24 +00:00
patacongo f6ca2227e3 USB device drivers: Add hooks to to use common, external DMA buffer allocation implementation..
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5142 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-13 14:14:18 +00:00
patacongo 1b7dad5a76 Misc STM32 wildfire and ENC28J60 driver updates
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5133 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-12 14:07:13 +00:00
patacongo 675f37494a Misc ENC28J60 fixes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5132 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-12 00:12:18 +00:00
patacongo 594b34a356 Update to granule allocator; Update to ENC28j60 driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5130 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-11 20:33:58 +00:00
patacongo 64c8e5c7c3 Updates/fixes related to ENC28J60, Kconfigs, and fire-stm32v2
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5128 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-11 16:50:16 +00:00
patacongo c7a2544230 The M3 Wildfire port is code complete and ready for test
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5125 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-10 22:26:37 +00:00
patacongo 2d556705e5 More logic for the MX3 Wildfire board
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5123 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-10 16:48:45 +00:00
patacongo 2b424e0424 Some error handling bugs noted by Ronen Vainish
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5122 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-09 22:24:52 +00:00
patacongo 58686d844f Shenzhou board is first to use ONLY Kconfig for configuration
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5114 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-08 13:56:21 +00:00