Commit Graph

1121 Commits

Author SHA1 Message Date
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
px4dev 9d0992d2a7 Make irqsave/irqrestore (much) cheaper. 2012-09-15 17:21:26 -07:00
patacongo 62f6889f92 ENC28J60 does not have a MAC address
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5160 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-15 22:22:40 +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 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 33aa07a726 CONFIG_ARCH_INTERRUPTSTACK is an integer. If not used, it should the value 0 or be undefined. Not 'n'
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5156 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-15 16:46:50 +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 273b6cf085 Enable the low-priority work queue; we're going to want to use it.
Adjust to changes in the naming of UART4/UART5
2012-09-14 23:00:30 -07: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 2c2ba7f0c5 Missed one file in last checking; Gran allocator alignment decoupled from granule size
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5152 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-14 18:14:40 +00:00
patacongo 857d2a770b Update all unit tests to conform to recent naming convention changes in NuttX
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5151 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-14 15:23:54 +00: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
Lorenz Meier a8fcd4a49c Merge branch 'master' of github.com:PX4/Firmware 2012-09-14 10:26:05 +02:00
Lorenz Meier 5dd6cbcb13 Logging rate changes, 2012-09-14 10:24:49 +02: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 491a83acb4 Fix for recvfrom() hang when the new CONFIG_NET_TCP_RECVDELAY is set to zero (from Max Holtzberg)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5148 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-13 20:37:24 +00:00
patacongo 0fb57027de Changes needed for clean ez80 compile with ZDS toolchain
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5147 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-13 19:33: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 77888ea156 Email address change in apps/
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5143 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-13 16:58:49 +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 024e115d09 Add mm/README.txt
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5140 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-13 00:34:43 +00:00
patacongo a444b0ebc4 Suppress network configuration in discover example if it is an NSH built-in functin
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5139 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-12 21:42:36 +00:00
patacongo 093ccf2015 Add UDP discovery configuration for the STM3240G-EVAL (from Max Holtzberg)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5138 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-12 20:14:46 +00:00
patacongo 4e8030a11a Network discover utility from Max Holtzberg
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5137 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-12 18:42:07 +00:00
patacongo dad6eee444 Misc fixes and optimizations for the granule allocator
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5136 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-12 17:55:03 +00:00
Lorenz Meier cab1fed3e9 Commented defconfig changes 2012-09-12 17:26:40 +02:00
Lorenz Meier fdd758df5c Increased stack sizes, this fixes the board not booting with a ROMFS mount message 2012-09-12 17:26:02 +02:00
patacongo 43069a49aa New file missed in last check-in
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5135 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-12 15:21:26 +00:00
patacongo eac15a4720 Fix MMC/SD support for Wildfire board; Granule allocator can now be used from intrrupt handler
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5134 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-12 15:18:56 +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 7bb74973bd Fixes for granule allocator
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5131 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-11 21:39:39 +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 3ca467c029 Add beginning of a simple granule allocator to support DMA IO buffer allocation
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5129 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-11 18:22:27 +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 648420e67a Add support for DMA memory allocator to FAT file system
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5127 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-11 13:53:44 +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
Lorenz Meier e440fc4027 Rewrote SD logging app, simpler, but effective. Pending testing 2012-09-10 23:04:31 +02:00
patacongo 835eef47bd More M3 Wildfire logic; mmap-related bug fixes from Kate
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5124 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-10 20:00:04 +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 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 47683c485c Beginning of configuration for M3 Wildfire board
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5120 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-09 19:13:30 +00:00
patacongo e2498c5e76 Minor update to Shenzhou README files
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5119 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-09 16:22:00 +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 5119467c0f Remove several unused configuration values
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5113 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-08 04:29:48 +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
patacongo ddefd95e28 More Shenzhou board logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5111 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-08 02:10:56 +00:00
patacongo 5ac18ce1ae More support for the Shenzhou board
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5110 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-07 23:34:16 +00:00
patacongo e41adbb552 More info for the Shenzhou board configuration
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5109 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-07 22:30:35 +00:00
patacongo aee93b655a Add basic directory structure for the Shenzhou STM32107 board (not much there yet)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5108 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-07 19:29:21 +00:00
patacongo 704679d7b1 Removed delay after receiving in recvfrom(). This was killing network performance
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5107 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-07 16:51:53 +00:00
patacongo b53b1fa813 If serial DMA enabled, re-initialize serial console
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5106 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-07 13:35:58 +00:00
px4dev e7b29c3eac Fix receive DMA for the console device. Now maybe MAVLink will work better. 2012-09-07 02:35:58 -07:00
patacongo e74b6c382c Repairs needed after Kconfig changes for LPC31
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5105 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-06 22:25:51 +00:00
patacongo 941daa511e Add LPC31 Kconfig
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5104 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-06 20:08:25 +00:00
patacongo dcd68236b1 Update LPC43 Kconfig
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5103 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-06 15:38:53 +00:00
patacongo 7a9e9d3833 Important FAT fix. Bad test would cause many un-necessary writes to FLASH.
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5102 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-06 14:46:08 +00:00
patacongo 8925923a5d configure.sh: Don't append the apps directory path setting if the correct setting is already in defined in the defconfig file.
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5101 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-06 01:19:05 +00:00
patacongo 97da506c0c STM32 Kconfig looks good. STM32 external ram configuration changed.
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5100 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-05 23:02:43 +00:00
patacongo 2cdd7e7425 LPC17xx Kconfig looks good
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5099 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-05 21:36:03 +00:00
patacongo d613e32e90 defconfig changes for LPC17xx Kconfig
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5098 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-05 20:27:07 +00:00
patacongo fa252aa84d Update LPC17 Kconfig
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5097 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-05 19:11:39 +00:00
patacongo ae148ef09e Add configuration for the LM3S
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5095 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-05 17:50:53 +00:00
patacongo 77c753b32a Add Kconfig settings for the LPC17xx
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5094 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-05 17:20:19 +00:00
patacongo 37c517c25c Things missing from lib/Kconfig
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5093 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-05 13:18:14 +00:00
patacongo 8870a08597 Refactor serial configuratin; AVR teensy Kconfig now builds
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5092 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-05 12:45:35 +00:00
patacongo bdd2c5b288 Oops.. sendfile() was not keeping track of the number bytes transferred or handling partial writes correctly.
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5091 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-05 01:59:54 +00:00
patacongo fb06dd2182 Add sendfile()
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5090 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-04 23:59:24 +00:00
patacongo d06103b98b Enhancements to the uIP web server from Kate
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5088 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-04 16:59:24 +00:00
patacongo 43d533da11 Kconfig changes + back out part of last check-in: The 2STOP setting must be integer 0/1, not boolean
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5086 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-04 15:28:56 +00:00
patacongo a32f081a29 Changes to Kconfig and matching defconfig files
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5085 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-04 14:43:56 +00:00
patacongo 64e2a8f85c Back out the last STM32 SDIO DMA change. It is incorrect
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5084 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-04 12:35:47 +00:00
patacongo c50e166068 Oops... bits in region mask are inverted
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5083 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-04 03:06:47 +00:00
patacongo 86beee54a7 STM32 SDIO DMA should only 16-bits wide when DMA-ing to/from FSMC SRAM
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5082 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-04 02:47:46 +00:00
patacongo d593a95d5a Add support for multiple work queues
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5081 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-04 00:54:09 +00:00
patacongo 612735d392 configure.sh now will ignore appconfig files if CONFIG_NUTTX_NEWCONFIG is defined
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5080 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-03 15:16:32 +00:00
px4dev 49addf7663 Config updates to match recent NuttX merge 2012-09-02 14:09:26 -07:00
px4dev 6576edb47e Merge with trunk NuttX
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5079 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-02 12:17:16 -07:00
patacongo 1349b00b41 Fix workqueue assertion; STM32 power management
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5079 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-02 13:37:28 +00:00
px4dev 8b0a8ddcf4 Tentative patch for work_cancel. 2012-09-02 02:39:43 -07:00
patacongo 7b149edcfc Documentation: nuttx.org no longer re-directs to nuttx.sourceforge.net
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5078 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-01 18:37:38 +00:00
patacongo 137329bfb0 mksymtab: Fix handling of final comma. Some C compilers can't handle them; Also add macro to provide the size of the symbol table
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5077 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-01 16:47:40 +00:00
patacongo f3bd549392 Ooops.. mksymtab needs to check for zero-length header file names
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5076 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-01 15:46:49 +00:00
patacongo b2db45bee3 Separate CVS parsing logic from tools/mksyscall.c; Create tools/mksymtab.c to create symbol tables from CSV files
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5075 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-01 15:33:33 +00:00
patacongo d1764ac57e Remove CONFIG_LIBC_PERROR_DEVNAME. What was I thinking?
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5074 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-01 00:26:37 +00:00
patacongo 0eb58dfb72 The content for uIP web server demo is no longer canned, but is not built dynameically (Thanks to Max Holtzberg)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5073 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-31 23:05:51 +00:00
Lorenz Meier 1cebdf6fb2 Merge branch 'master' of github.com:PX4/Firmware 2012-08-31 21:06:30 +02:00
Lorenz Meier c28c65a814 Adding led app 2012-08-31 21:06:22 +02:00
patacongo ee6cba7a01 Add lib.csv that may be used to generate C library symbol tables
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5072 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-31 18:55:43 +00:00
patacongo 035e89e554 Fix some places in library where semaphore is not released on error conditions
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5071 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-31 16:03:17 +00:00
px4dev 63485b91b2 Kick the BMA180 driver mostly into shape. Still not reading data correctly. 2012-08-30 22:33:20 -07:00
patacongo b121fbbb00 Add configurable application entry point
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5070 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-30 20:13:50 +00:00
patacongo 6ab6c46f2f Add USB host support for the STM3240G-EVAL board
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5069 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-30 18:18:47 +00:00
patacongo ea82ad4344 Remove documentation from defconfig files so that they are more maintainable
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5068 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-30 15:44:02 +00:00
px4dev d0898cb947 Something approximating a driver for the L3GD20 2012-08-29 22:55:15 -07:00
px4dev 55fe5088be enable the bma180 and l3gd20 drivers 2012-08-29 21:40:49 -07:00
patacongo 0abce6171e The USB host driver has been verified on the STM32F4Discovery
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5067 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-29 19:38:53 +00:00
patacongo 24a61a9c47 Add USB host support to the STM32F4Discovery board
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5066 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-29 17:41:43 +00:00
px4dev 952f862dad Disable a possibly-bogus assertion that is bringing us a lot of grief right now. 2012-08-28 21:13:40 -07:00
patacongo 6389a944b5 I think the STM32 UST OTG FS host driver is finally finished
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5065 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-28 23:36:58 +00:00
patacongo 9527119f73 Slightly improved delay logic for the USB host
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5064 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-28 22:28:49 +00:00
patacongo 4794a491c1 This appears to fix the NAK-issues for IN data transfers. Still an issue with OUT
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5063 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-28 20:47:09 +00:00
patacongo 8e68b6f0af Ooops... forgot to add lib_perror.c to the Make.defs file
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5062 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-28 19:43:42 +00:00
patacongo f53d3ecc71 Add perror()
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5061 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-28 19:01:14 +00:00
px4dev 30b670a6ee Merge branch 'NuttX/master'
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5060 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-28 09:43:37 -07:00
patacongo bbe3db55f2 Add some protection to the priority inheritance logic when sem_post() is called from an interrupt handler
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5060 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-28 14:40:12 +00:00
px4dev 0bc9cfd0f9 Adjust PPM input timing to deal with FrSky's fairly sloppy CPPM implementation 2012-08-27 21:19:27 -07:00
patacongo 064743fe72 Some STM32 USB OTG FS driver fixes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5059 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-27 22:27:03 +00:00
patacongo 018beb7f1b Fix some NAK race conditions in control transfers (there are more)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5058 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-27 19:23:40 +00:00
patacongo ba1adb705f Dequote Kconfig strings that may be used as components of a path
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5057 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-27 14:07:17 +00:00
Lorenz Meier 58b51743f2 Merge branch 'master' of github.com:PX4/Firmware into px4dev_new_driver_wip 2012-08-27 07:25:05 +02:00
px4dev 4636d41390 Because kconfig can't do arithmetic. 2012-08-26 18:16:31 -07:00
px4dev e352171029 Pull configurations into line with current NuttX layout. 2012-08-26 17:56:46 -07:00
px4dev 22b390a9eb Play with kconfig a bit. Not ready for use yet. 2012-08-26 17:56:11 -07:00
patacongo ce9b97b8f5 More patches/bugfixes from Kate
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5056 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-26 23:29:37 +00:00
px4dev e214981d11 Merge branch 'NuttX/master'
Conflicts:
	apps/netutils/thttpd/thttpd_cgi.c
	nuttx/Documentation/NuttX.html
	nuttx/arch/8051/src/Makefile
	nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c
	nuttx/arch/avr/Kconfig
	nuttx/arch/avr/src/atmega/atmega_lowinit.c
	nuttx/arch/mips/Kconfig
	nuttx/arch/z80/src/Makefile.sdcc
	nuttx/configs/amber/README.txt
	nuttx/configs/amber/hello/defconfig
	nuttx/configs/avr32dev1/README.txt
	nuttx/configs/avr32dev1/nsh/defconfig
	nuttx/configs/avr32dev1/ostest/defconfig
	nuttx/configs/c5471evm/README.txt
	nuttx/configs/c5471evm/httpd/defconfig
	nuttx/configs/c5471evm/nettest/defconfig
	nuttx/configs/c5471evm/nsh/defconfig
	nuttx/configs/c5471evm/ostest/defconfig
	nuttx/configs/compal_e88/nsh_highram/defconfig
	nuttx/configs/compal_e99/nsh_compalram/defconfig
	nuttx/configs/compal_e99/nsh_highram/defconfig
	nuttx/configs/demo9s12ne64/README.txt
	nuttx/configs/demo9s12ne64/ostest/defconfig
	nuttx/configs/ea3131/nsh/defconfig
	nuttx/configs/ea3131/ostest/defconfig
	nuttx/configs/ea3131/pgnsh/defconfig
	nuttx/configs/ea3131/usbserial/defconfig
	nuttx/configs/ea3131/usbstorage/defconfig
	nuttx/configs/ea3152/ostest/defconfig
	nuttx/configs/eagle100/README.txt
	nuttx/configs/eagle100/httpd/defconfig
	nuttx/configs/eagle100/nettest/defconfig
	nuttx/configs/eagle100/nsh/defconfig
	nuttx/configs/eagle100/nxflat/defconfig
	nuttx/configs/eagle100/ostest/defconfig
	nuttx/configs/eagle100/thttpd/defconfig
	nuttx/configs/ekk-lm3s9b96/README.txt
	nuttx/configs/ekk-lm3s9b96/nsh/defconfig
	nuttx/configs/ekk-lm3s9b96/ostest/defconfig
	nuttx/configs/ez80f910200kitg/ostest/defconfig
	nuttx/configs/ez80f910200zco/dhcpd/defconfig
	nuttx/configs/ez80f910200zco/httpd/defconfig
	nuttx/configs/ez80f910200zco/nettest/defconfig
	nuttx/configs/ez80f910200zco/nsh/defconfig
	nuttx/configs/ez80f910200zco/ostest/defconfig
	nuttx/configs/ez80f910200zco/poll/defconfig
	nuttx/configs/hymini-stm32v/README.txt
	nuttx/configs/hymini-stm32v/buttons/defconfig
	nuttx/configs/hymini-stm32v/nsh/defconfig
	nuttx/configs/hymini-stm32v/nsh2/defconfig
	nuttx/configs/hymini-stm32v/nx/defconfig
	nuttx/configs/hymini-stm32v/nxlines/defconfig
	nuttx/configs/hymini-stm32v/usbserial/defconfig
	nuttx/configs/hymini-stm32v/usbstorage/defconfig
	nuttx/configs/kwikstik-k40/README.txt
	nuttx/configs/kwikstik-k40/ostest/defconfig
	nuttx/configs/lincoln60/README.txt
	nuttx/configs/lincoln60/nsh/defconfig
	nuttx/configs/lincoln60/ostest/defconfig
	nuttx/configs/lm3s6432-s2e/README.txt
	nuttx/configs/lm3s6432-s2e/nsh/defconfig
	nuttx/configs/lm3s6432-s2e/ostest/defconfig
	nuttx/configs/lm3s6965-ek/README.txt
	nuttx/configs/lm3s6965-ek/nsh/defconfig
	nuttx/configs/lm3s6965-ek/nx/defconfig
	nuttx/configs/lm3s6965-ek/ostest/defconfig
	nuttx/configs/lm3s8962-ek/README.txt
	nuttx/configs/lm3s8962-ek/nsh/defconfig
	nuttx/configs/lm3s8962-ek/nx/defconfig
	nuttx/configs/lm3s8962-ek/ostest/defconfig
	nuttx/configs/lpc4330-xplorer/README.txt
	nuttx/configs/lpc4330-xplorer/nsh/defconfig
	nuttx/configs/lpc4330-xplorer/ostest/defconfig
	nuttx/configs/lpcxpresso-lpc1768/README.txt
	nuttx/configs/lpcxpresso-lpc1768/dhcpd/defconfig
	nuttx/configs/lpcxpresso-lpc1768/nsh/defconfig
	nuttx/configs/lpcxpresso-lpc1768/nx/defconfig
	nuttx/configs/lpcxpresso-lpc1768/ostest/defconfig
	nuttx/configs/lpcxpresso-lpc1768/thttpd/defconfig
	nuttx/configs/lpcxpresso-lpc1768/usbstorage/defconfig
	nuttx/configs/m68332evb/defconfig
	nuttx/configs/mbed/README.txt
	nuttx/configs/mbed/hidkbd/defconfig
	nuttx/configs/mbed/nsh/defconfig
	nuttx/configs/mcu123-lpc214x/README.txt
	nuttx/configs/mcu123-lpc214x/composite/defconfig
	nuttx/configs/mcu123-lpc214x/nsh/defconfig
	nuttx/configs/mcu123-lpc214x/ostest/defconfig
	nuttx/configs/mcu123-lpc214x/usbserial/defconfig
	nuttx/configs/mcu123-lpc214x/usbstorage/defconfig
	nuttx/configs/micropendous3/README.txt
	nuttx/configs/micropendous3/hello/defconfig
	nuttx/configs/mirtoo/README.txt
	nuttx/configs/mirtoo/nsh/defconfig
	nuttx/configs/mirtoo/nxffs/defconfig
	nuttx/configs/mirtoo/ostest/defconfig
	nuttx/configs/mx1ads/ostest/defconfig
	nuttx/configs/ne64badge/README.txt
	nuttx/configs/ne64badge/ostest/defconfig
	nuttx/configs/ntosd-dm320/nettest/defconfig
	nuttx/configs/ntosd-dm320/nsh/defconfig
	nuttx/configs/ntosd-dm320/ostest/defconfig
	nuttx/configs/ntosd-dm320/poll/defconfig
	nuttx/configs/ntosd-dm320/thttpd/defconfig
	nuttx/configs/ntosd-dm320/udp/defconfig
	nuttx/configs/ntosd-dm320/uip/defconfig
	nuttx/configs/nucleus2g/README.txt
	nuttx/configs/nucleus2g/nsh/defconfig
	nuttx/configs/nucleus2g/ostest/defconfig
	nuttx/configs/nucleus2g/usbserial/defconfig
	nuttx/configs/nucleus2g/usbstorage/defconfig
	nuttx/configs/olimex-lpc1766stk/README.txt
	nuttx/configs/olimex-lpc1766stk/ftpc/defconfig
	nuttx/configs/olimex-lpc1766stk/hidkbd/defconfig
	nuttx/configs/olimex-lpc1766stk/nettest/defconfig
	nuttx/configs/olimex-lpc1766stk/nsh/defconfig
	nuttx/configs/olimex-lpc1766stk/nx/defconfig
	nuttx/configs/olimex-lpc1766stk/ostest/defconfig
	nuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig
	nuttx/configs/olimex-lpc1766stk/thttpd/defconfig
	nuttx/configs/olimex-lpc1766stk/usbserial/defconfig
	nuttx/configs/olimex-lpc1766stk/usbstorage/defconfig
	nuttx/configs/olimex-lpc1766stk/wlan/defconfig
	nuttx/configs/olimex-lpc2378/nsh/defconfig
	nuttx/configs/olimex-lpc2378/ostest/defconfig
	nuttx/configs/olimex-stm32-p107/nsh/defconfig
	nuttx/configs/olimex-stm32-p107/ostest/defconfig
	nuttx/configs/olimex-strp711/nettest/defconfig
	nuttx/configs/olimex-strp711/nsh/defconfig
	nuttx/configs/olimex-strp711/ostest/defconfig
	nuttx/configs/pcblogic-pic32mx/README.txt
	nuttx/configs/pcblogic-pic32mx/nsh/defconfig
	nuttx/configs/pcblogic-pic32mx/ostest/defconfig
	nuttx/configs/pic32-starterkit/README.txt
	nuttx/configs/pic32-starterkit/nsh/defconfig
	nuttx/configs/pic32-starterkit/nsh2/defconfig
	nuttx/configs/pic32-starterkit/ostest/defconfig
	nuttx/configs/pic32mx7mmb/README.txt
	nuttx/configs/pic32mx7mmb/nsh/defconfig
	nuttx/configs/pic32mx7mmb/ostest/defconfig
	nuttx/configs/pjrc-8051/defconfig
	nuttx/configs/qemu-i486/nsh/defconfig
	nuttx/configs/qemu-i486/ostest/defconfig
	nuttx/configs/rgmp/arm/default/defconfig
	nuttx/configs/rgmp/arm/nsh/defconfig
	nuttx/configs/rgmp/x86/default/defconfig
	nuttx/configs/rgmp/x86/nsh/defconfig
	nuttx/configs/sam3u-ek/README.txt
	nuttx/configs/sam3u-ek/knsh/defconfig
	nuttx/configs/sam3u-ek/nsh/defconfig
	nuttx/configs/sam3u-ek/nx/defconfig
	nuttx/configs/sam3u-ek/ostest/defconfig
	nuttx/configs/sam3u-ek/touchscreen/defconfig
	nuttx/configs/sim/mount/defconfig
	nuttx/configs/sim/nettest/defconfig
	nuttx/configs/sim/nsh/defconfig
	nuttx/configs/sim/nsh2/defconfig
	nuttx/configs/sim/nx/defconfig
	nuttx/configs/sim/nx11/defconfig
	nuttx/configs/sim/nxffs/defconfig
	nuttx/configs/sim/nxwm/defconfig
	nuttx/configs/sim/ostest/defconfig
	nuttx/configs/sim/pashello/defconfig
	nuttx/configs/sim/touchscreen/defconfig
	nuttx/configs/skp16c26/ostest/defconfig
	nuttx/configs/stm3210e-eval/Kconfig
	nuttx/configs/stm3210e-eval/README.txt
	nuttx/configs/stm3210e-eval/RIDE/defconfig
	nuttx/configs/stm3210e-eval/buttons/defconfig
	nuttx/configs/stm3210e-eval/composite/defconfig
	nuttx/configs/stm3210e-eval/nsh/defconfig
	nuttx/configs/stm3210e-eval/nsh2/defconfig
	nuttx/configs/stm3210e-eval/nx/defconfig
	nuttx/configs/stm3210e-eval/nxconsole/defconfig
	nuttx/configs/stm3210e-eval/nxlines/defconfig
	nuttx/configs/stm3210e-eval/nxtext/defconfig
	nuttx/configs/stm3210e-eval/ostest/defconfig
	nuttx/configs/stm3210e-eval/pm/defconfig
	nuttx/configs/stm3210e-eval/src/up_idle.c
	nuttx/configs/stm3210e-eval/usbserial/defconfig
	nuttx/configs/stm3210e-eval/usbstorage/defconfig
	nuttx/configs/stm3220g-eval/Kconfig
	nuttx/configs/stm3220g-eval/README.txt
	nuttx/configs/stm3220g-eval/dhcpd/defconfig
	nuttx/configs/stm3220g-eval/include/board.h
	nuttx/configs/stm3220g-eval/nettest/defconfig
	nuttx/configs/stm3220g-eval/nsh/defconfig
	nuttx/configs/stm3220g-eval/nsh2/defconfig
	nuttx/configs/stm3220g-eval/nxwm/defconfig
	nuttx/configs/stm3220g-eval/ostest/defconfig
	nuttx/configs/stm3220g-eval/src/Makefile
	nuttx/configs/stm3220g-eval/src/stm3220g-internal.h
	nuttx/configs/stm3220g-eval/src/up_boot.c
	nuttx/configs/stm3220g-eval/src/up_nsh.c
	nuttx/configs/stm3220g-eval/telnetd/defconfig
	nuttx/configs/stm3240g-eval/Kconfig
	nuttx/configs/stm3240g-eval/README.txt
	nuttx/configs/stm3240g-eval/dhcpd/defconfig
	nuttx/configs/stm3240g-eval/include/board.h
	nuttx/configs/stm3240g-eval/nettest/defconfig
	nuttx/configs/stm3240g-eval/nsh/defconfig
	nuttx/configs/stm3240g-eval/nsh2/defconfig
	nuttx/configs/stm3240g-eval/nxconsole/defconfig
	nuttx/configs/stm3240g-eval/nxwm/defconfig
	nuttx/configs/stm3240g-eval/ostest/defconfig
	nuttx/configs/stm3240g-eval/telnetd/defconfig
	nuttx/configs/stm32f4discovery/README.txt
	nuttx/configs/stm32f4discovery/include/board.h
	nuttx/configs/stm32f4discovery/nsh/defconfig
	nuttx/configs/stm32f4discovery/nxlines/defconfig
	nuttx/configs/stm32f4discovery/ostest/defconfig
	nuttx/configs/stm32f4discovery/pm/defconfig
	nuttx/configs/sure-pic32mx/README.txt
	nuttx/configs/sure-pic32mx/nsh/defconfig
	nuttx/configs/sure-pic32mx/ostest/defconfig
	nuttx/configs/sure-pic32mx/usbnsh/defconfig
	nuttx/configs/teensy/README.txt
	nuttx/configs/teensy/hello/defconfig
	nuttx/configs/teensy/nsh/defconfig
	nuttx/configs/teensy/src/up_spi.c
	nuttx/configs/teensy/usbstorage/defconfig
	nuttx/configs/twr-k60n512/README.txt
	nuttx/configs/twr-k60n512/nsh/defconfig
	nuttx/configs/twr-k60n512/ostest/defconfig
	nuttx/configs/ubw32/README.txt
	nuttx/configs/ubw32/nsh/defconfig
	nuttx/configs/ubw32/ostest/defconfig
	nuttx/configs/us7032evb1/nsh/defconfig
	nuttx/configs/us7032evb1/ostest/defconfig
	nuttx/configs/vsn/README.txt
	nuttx/configs/vsn/nsh/defconfig
	nuttx/configs/xtrs/nsh/defconfig
	nuttx/configs/xtrs/ostest/defconfig
	nuttx/configs/xtrs/pashello/defconfig
	nuttx/configs/z16f2800100zcog/ostest/defconfig
	nuttx/configs/z16f2800100zcog/pashello/defconfig
	nuttx/configs/z80sim/nsh/defconfig
	nuttx/configs/z80sim/ostest/defconfig
	nuttx/configs/z80sim/pashello/defconfig
	nuttx/configs/z8encore000zco/ostest/defconfig
	nuttx/configs/z8f64200100kit/ostest/defconfig
2012-08-26 16:26:39 -07:00
patacongo 61fccacd85 waitpid(): Move some logic inside of a critical section
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5054 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-26 22:00:38 +00:00
patacongo fe493d8bb8 Fix some list handling associated with priority inheritance
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5053 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-26 21:35:14 +00:00
px4dev 60311a3778 We aren't using counting semaphores with multiple holders, and enabling this setting causes bad things to happen in some cases, so turn it off again. 2012-08-26 03:30:20 -07:00
px4dev 3df82e51b8 Defconfig tweak that might? be required. 2012-08-25 19:30:20 -07:00
Lorenz Meier 8eeba595ee Improved param load / store text feedback, ported sensors app to new driver model, ready for merge and test 2012-08-25 19:16:12 +02:00
patacongo d6b8fcdcf0 Prep for 6.21 release
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5052 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-25 16:40:31 +00:00
patacongo 20c7cf9db9 Update STM32 USB OTG FS host driver -- the driver is now marginally functional
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5051 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-24 22:16:09 +00:00
Lorenz Meier a1b99a3f03 Kicked out mix_and_link, deleted old MPU driver, disabled (still needed for reference) old HMC and MS5611 drivers. Removed driver init from up_nsh.c. Reworked fixedwing_control to be closer to up-to-date api, still more clean up needed. Fixed a bug that limited the motor thrust for multirotor control 2012-08-24 11:40:42 +02:00
px4dev bcee27c6cc Turn off the stock AT24xx EEPROM driver; we are going to use our own. 2012-08-23 23:03:13 -07:00
patacongo 2ac3898301 Lots of defconfig changes for compatibility with the configuration tool
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5050 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-23 22:46:36 +00:00
patacongo 1dff49d24f STM32 OTG FS host driver: Fix some bad NAK handling
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5049 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-23 21:13:24 +00:00
patacongo 73220bb854 Fixes several STM32 USB OTG FS host MSC write transfers
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5048 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-23 19:50:04 +00:00
Lorenz Meier b378f7ecd9 Merge branch 'px4dev_new_param' of github.com:PX4/Firmware into px4dev_new_param 2012-08-23 07:44:38 +02:00
Lorenz Meier 72d9db9875 Merge branch 'master' of github.com:PX4/Firmware into px4dev_new_param 2012-08-23 07:44:24 +02:00
px4dev 92594ba76a Hack bus reset support into the old-style hmc5883 driver. 2012-08-22 22:26:09 -07:00
px4dev 0f74d08960 I2C configuration options to support up_i2creset 2012-08-22 22:25:45 -07:00
px4dev a3b78163c3 Add locking to the I2C bus reset API to prevent pre-emption and conflict when resetting at the same time that another transaction attempts to use the bus. 2012-08-22 22:24:22 -07:00
px4dev 6669c7faa9 Add an interface to the STM32 I2C driver that provides a way to reset the driver and the bus.
This can be used to unwedge the bus when transactions are failing due to a device being out of sync.
2012-08-22 22:13:17 -07:00
px4dev e0a9024b64 Add some simple interrupt latency tracking. 2012-08-22 16:56:52 -07:00
patacongo f1d8a9efab STM32 USB OTG FS host driver -- updates for NAK and data toggle fixes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5047 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-22 21:04:17 +00:00
patacongo b2fb8996ac STM32 USB OTG FS host driver update (almost done)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5046 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-22 18:13:04 +00:00
patacongo 9ab1bb8a53 PM update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5045 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-22 12:27:05 +00:00
patacongo 451e17f183 Several more bug fixes for STM32 OTG FS host driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5044 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-21 20:14:42 +00:00
Lorenz Meier 3a9f34b233 Merge branch 'master' of github.com:PX4/Firmware into px4dev_new_param 2012-08-21 20:18:31 +02:00
patacongo 42d23b06d9 Several bug fixes for STM32 OTG FS host driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5043 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-21 18:13:35 +00:00
px4dev 228fbb975a New-style driver for the HMC5883 on I2C. 2012-08-21 01:09:03 -07:00
patacongo 5a4b8d9930 Early STM32 USB OTF FS host debug changes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5042 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-20 21:22:03 +00:00
patacongo f58b0085d7 Changes for good auto-configuration of Micropendous3 board
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5041 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-20 16:14:57 +00:00
patacongo 27bd0bbee4 Changes for clean STM32 USB host driver build
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5040 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-20 16:06:39 +00:00
patacongo 4f56a72bea STM32 USB host driver is code compelte (but untested)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5039 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-20 13:55:19 +00:00
patacongo 6211f4726e CONFIG_DRAM_END configuration change from Richard Cochran
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5038 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-20 12:44:15 +00:00
patacongo c3f866cc2c Progress on STM32 OTG FS host driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5037 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-20 00:57:14 +00:00
Lorenz Meier e28af802ce Merge branch 'master' into px4dev_new_param 2012-08-19 17:08:48 +02:00
Lorenz Meier 9b239bc001 fixed typo, removed deamon example from default build 2012-08-19 16:43:51 +02:00
Lorenz Meier 86ed36579a Updated ROMFS scrips, created new ardrone_interface to jointly use multirotor_att_control on all multirotors, including AR.Drone frames 2012-08-19 16:32:54 +02:00
Lorenz Meier dae0b922f1 Added deamon example, reworked / merged multirotor attitude control. Ready for AR.Drone interface changes and integration tests 2012-08-19 15:52:59 +02:00
Lorenz Meier 85bc4f683a Cleaned up position control (WIP), moved PID structs (should become classes) to systemlib, added deamon app example 2012-08-19 11:29:07 +02:00
px4dev a86974e3e3 Hand over control of the onboard EEPROM to the NuttX I2C EEPROM driver and NXFFS. 2012-08-19 01:31:27 -07:00
px4dev 7b4b3f7bf7 Kill off the old EEPROM driver's support for the on-board parameter EEPROM. 2012-08-19 01:31:26 -07:00
px4dev cd8a085e00 Support for a __param section in which we can put parameter things. 2012-08-19 01:31:26 -07:00
Lorenz Meier dcf71d5f69 Merge branch 'master' of github.com:PX4/Firmware 2012-08-19 08:38:14 +02:00
Lorenz Meier 23ae096911 Added simple, but complete code example 2012-08-19 08:38:01 +02:00
px4dev 8477754411 Share the PX4IO protocol header, such as it is, between the two apps.
Stop using systemlib in the PX4IO firmware; it has expectations that can't reasonably be met.
2012-08-18 22:56:04 -07:00
patacongo ba31404b97 Move duplicate LCD orieations settings from configs/*/Kconfig to drivers/lcd/Kconfig
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5036 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-18 22:57:17 +00:00
patacongo 756715d077 STM32 USB host driver update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5035 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-18 21:22:16 +00:00
px4dev 12b3a39e39 Drop these; they should not have been added. 2012-08-17 21:30:48 -07:00
patacongo f5e6e25c7e More STM32 USB host logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5034 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-17 22:51:14 +00:00
patacongo a2162de80d Remove 'sudo' from Makefiles
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5033 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-17 14:54:09 +00:00
patacongo e207f076c9 Auto-configuration updates from Richard Cochran
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5032 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-17 14:07:48 +00:00
patacongo a740bc8335 Evolving STM32 USB host support
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5031 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-16 22:48:26 +00:00
Lorenz Meier 73286f3262 Minor tweaks and command parsing debugging 2012-08-16 20:57:38 +02:00
patacongo 3f9f7e6d3c mkconfig now calculates DRAM_END if not provided
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5030 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-16 15:00:34 +00:00
patacongo 5a8984c800 A little more STM32 USB host logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5029 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-15 22:13:50 +00:00
patacongo dd681d7fff Some repartitioning of STM32 functionality to better support a USB host driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5028 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-15 17:58:54 +00:00
px4dev 74980af6c9 Merge branch 'NuttX/master' from git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5027 7fd9a85b-ad96-42d3-883c-3090e2eb8679 2012-08-14 09:07:59 -07:00
patacongo 3cc812dbad Fixes to apps/*/Make.defs files needed for auto-configuration build
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5027 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-14 15:45:53 +00:00
patacongo aa09e05432 Revise recent changes to serial driver error handling: Errors other than EINTR may be returned when the driver is used very early in initialization. STM32 SPI driver will now survive repeated initializations
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5026 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-14 14:42:50 +00:00
px4dev 735f8ffa3d Config tweaks to enable the new-style ms5611 driver. 2012-08-14 00:07:19 -07:00
px4dev 91d1524837 Avoid reinitializing a SPI bus once it's been set up the first time. 2012-08-13 23:56:52 -07:00
px4dev 3c5bb3f57c New-style driver for the MPU6000. 2012-08-13 23:51:24 -07:00
patacongo a72ff3b651 Make the lib/ subdirectory build more like other directories
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5025 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-13 22:27:06 +00:00
Lorenz Meier a9d8a324bc Indendation fixes 2012-08-13 22:12:38 +02:00
Lorenz Meier 1d029b01fe First initial revision of ACC driver and gyro 2012-08-13 22:10:03 +02:00
patacongo d5c4c4da8d Fix bad AVR C++ include paths; remove stray typo from ctypes.h
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5024 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-13 14:02:06 +00:00
patacongo 18669722d8 Define NULL to be (0) for C++
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5023 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-12 17:49:35 +00:00
patacongo 2b184e2630 drivers/serial/serial.c open, read, write, and poll methods will not return a short transfer or an EINTR error if a signal is received while waiting (only)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5022 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-12 17:37:04 +00:00
px4dev 24688ae7f9 Merge branch 'NuttX/master' 2012-08-11 12:03:04 -07:00
px4dev 6c4aadedf4 Switch back from max performance to size as the default optimization level. Individual modules can still override this if they need to. 2012-08-11 11:45:59 -07:00
patacongo 0512367a9c Back out the last STM32 DMA priority change. It is not necessary; just dropping the SD frequency was sufficient
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5021 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-10 23:16:01 +00:00
patacongo 850df30e06 Drop STM32 F2/4 SDIO clock from 24 to 16 MHz. Seems to fix SD accesses on STM3240G-EVAL
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5020 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-10 22:42:46 +00:00
patacongo 7189150b33 STM32 SDIO DMA setup was losing DMA priority
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5019 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-10 22:01:12 +00:00