Commit Graph

872 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
patacongo 029bbeb3db Add terminating NULL to argv[] list
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5055 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-26 22:28:21 +00: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
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
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
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
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
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
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
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
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
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
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
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