Commit Graph

499 Commits

Author SHA1 Message Date
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
Lorenz Meier 47bf438661 Fixed ADC shutdown issue 2012-11-14 09:41:31 +01:00
Doug Weibel 1e0a34a102 Add functions for computation of the distance and bearing to the nearest point of a line segment or arc segment. 2012-10-21 16:39:53 -06: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 44a18f5361 Change all occurrences of CONFIG_EXAMPLE_ to CONFIG_EXAMPLES_ for consistency; fleshed out a few more Kconfig files
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5211 42af7a65-404d-4744-a932-0658087f49c3
2012-10-04 17:36:07 +00:00
patacongo b0eb4f3cce Change order of includes in apps/Makefile; add clock frequencies to shenzhou, fire, and olimex-stm32 board.h files
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5210 42af7a65-404d-4744-a932-0658087f49c3
2012-10-04 15:07:06 +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 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 923da1b34b Fixes for clean compilation of NxWidgets/NxWM with Kconfig and changes to build system; Fixes to Shenzhou NxWM configuration for clean build
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5193 42af7a65-404d-4744-a932-0658087f49c3
2012-09-26 14:36:28 +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 e2b2cc3450 Fixes STM32F107 DMA issue
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5182 42af7a65-404d-4744-a932-0658087f49c3
2012-09-24 15:51:48 +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
patacongo b58026b8f0 Add missing STM32 F1 pin remapping definitions
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5180 42af7a65-404d-4744-a932-0658087f49c3
2012-09-22 22:25:21 +00:00
patacongo 45da426c19 STM32 Ethernet, Slightly differ register layout for DM9161AEP PHY
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5177 42af7a65-404d-4744-a932-0658087f49c3
2012-09-22 19:19:56 +00:00
patacongo 5f7c2b3ead Shenzhou board uses RMII PHY interface, not MII
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5176 42af7a65-404d-4744-a932-0658087f49c3
2012-09-22 16:48:44 +00:00
patacongo fc8f6c972a Make the Olimex stm32 p107 clock configuratin the standard for connectivity line devices
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5175 42af7a65-404d-4744-a932-0658087f49c3
2012-09-22 15:12:50 +00:00
patacongo e8f1a8bff9 Recent I2C changes for F4 broke F1
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5170 42af7a65-404d-4744-a932-0658087f49c3
2012-09-21 17:55:08 +00:00
patacongo 16778b66e2 Oops.. the up_i2creset function mysteriously disappeared from stm32_i2c.c
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5167 42af7a65-404d-4744-a932-0658087f49c3
2012-09-20 13:55:31 +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 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 4cbc1c8d86 Re-enable the I2C lock around ACK sending pending a possible upstream fix. 2012-09-16 17:11:58 -07: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 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
px4dev 9d0992d2a7 Make irqsave/irqrestore (much) cheaper. 2012-09-15 17:21:26 -07:00
patacongo fd63baf0fa Fix logic in STM32 SPI driver that leaves interrupts disabled; back out earlier change to irqsave()
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5158 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-15 18:09:50 +00:00
patacongo 3364b55f86 CONFIG_ARCH_INTERRUPTSTACK is an integer. If not used, it should the value 0 or be undefined. It is not a boolean
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5157 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-15 16:49:51 +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 cc0c42dd31 Add XML RPC server plus NXWM build fixes from Max Holtzberg
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5150 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-14 14:07:21 +00:00
px4dev adad44a3a9 Avoid a possible issue where an interrupt can intervene at a critical point, possibly leading to excess bytes being transferred on the bus. 2012-09-14 00:22:07 -07:00
px4dev 04b5856764 Avoid a race where up_putc can leave the driver in an inconsistent state (though how is not clear). This manifests as the system hanging after printing "nsh_romfsetc: "
Avoid attempting to repeat low-level initialization for the console when enabling DMA.
2012-09-14 00:21:24 -07:00
patacongo ae33fc3ed0 Fixes for z80 compilation with SDCC toolchain. There are still a few header file and linker issues
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5149 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-13 22:04:47 +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 de7764b1d4 AVR corrections from Richard Cochran; uIP webserver enhancements from Kate
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5126 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-11 13:19:59 +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 a183193473 More progress on the Wildfire STM32 port
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5121 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-09 21:48:25 +00:00
patacongo f57a93eaf6 Reconfigured Shenzhou to use JTAG. Misc Kconfig changes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5118 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-09 15:43:18 +00:00
patacongo b68a4b621c Remove some old logic in the arm, x86, hc, and sh linker scripts that was kicked off when CONFIG_BOOT_RUNFROMFLASH=y.
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5117 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-08 19:13:29 +00:00
patacongo 6f6a2289e8 Kconfig: QEMU fixes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5116 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-08 18:57:57 +00:00
patacongo ab8c622bed Changes to get a clean compile with the Kconfig Shenzhou board. Still some link issues
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5115 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-08 16:40:12 +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
patacongo 8269f5320b Kconfig: Standardize board LED and button configurations
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5112 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-08 03:31:46 +00:00