Commit Graph

188 Commits

Author SHA1 Message Date
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 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 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
patacongo fca1ea81db I learned how to spell PSEUDO
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5010 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-05 17:44:11 +00:00
px4dev 8a365179ea Fresh import of the PX4 firmware sources. 2012-08-04 15:12:36 -07:00
patacongo aa8c93baab Extend the NSH mount command so that it will enumerate mountpoints if no arguments are provided
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5006 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-03 23:47:32 +00:00
patacongo 606c031000 Improve capability to traverse inodes in the NuttX psuedo-filesystem; now returns statfs
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5005 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-03 22:04:14 +00:00
patacongo 07b635386d Add capability to traverse inodes in the NuttX psuedo-filesystem
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5004 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-03 19:11:11 +00:00
patacongo a9ba8355fb Fix syslog mutual exclusion and interrupt level logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4999 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-02 18:43:01 +00:00
patacongo 30e820d861 The initial SYLOG device logic was valiant but yet still not enough
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4998 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-02 17:09:25 +00:00
patacongo 6913926a96 Move RAMLOG driver to drivers/syslog; Add ability to output debug information to any character device or file
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4996 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-02 00:42:46 +00:00
patacongo 20324504d5 atexit() and on_exit() may now be configured to support multiple exit callbacks
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4995 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-01 17:47:54 +00:00
patacongo 6c75c18bae Review and update some board configurations
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4991 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-29 18:30:48 +00:00
patacongo b8fef0cc97 Add memccpy{}
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4990 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-29 14:50:02 +00:00
patacongo 1b70837411 Add memchr()
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4989 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-28 20:45:29 +00:00
patacongo 94b6f9e9cc Mostly cosmetic updates
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4980 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-26 20:38:46 +00:00
patacongo cbc32cd067 Fix logic error in configuring PGA11x devices in a daisy chain. Add logic interface with individual PGA11x chips in a daisy-chain
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4979 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-25 21:21:45 +00:00
patacongo 7e70b4bdf6 PGA11x driver belongs in analog/ not input/
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4978 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-25 18:58:45 +00:00
patacongo cf48e3c73f Add support for the TI PGA11x amplifier/multiplexer
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4977 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-25 18:41:10 +00:00
patacongo ca8620083e Add PM support for the STM32F4Discovery -- still a work in progress
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4976 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-25 13:35:36 +00:00
patacongo d7280d4382 Combine cfset[o|i]speed to cfsetspeed; combine cfget[o|i]speed for cfgetspeed
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4975 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-24 22:56:36 +00:00
patacongo 393b2646c2 Remove BOTHER
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4972 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-24 15:10:21 +00:00
patacongo 1e15a6d1cf Baud definitions (B9600 for example) are again encoded; Now supports the BOTHER settings which allows specifying the baud via c_ispeed and c_ospeed termios fields
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4970 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-23 15:37:13 +00:00
patacongo fce36677c1 Loosen up termios interfaces to allow more flexible baud settings; remove AIX-like interfaces of last check-in
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4969 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-22 18:56:50 +00:00
patacongo 81d5f42a18 Add support for extended BAUD settings
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4967 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-22 17:01:25 +00:00
patacongo dfa161e3c2 Use NuttX types in FreeModBus port; Add FreeModBus demo at apps/examples/modbus; Add new termios APIs
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4964 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-21 21:23:18 +00:00
patacongo 11774cfb20 Add completed but untested support for RS-485 on the LPC43xx
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4959 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-20 18:32:16 +00:00
patacongo 3dd3e950cb Add infrastructure to support RS-485 on the LPC43xx (logic still incomplete)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4958 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-20 16:58:39 +00:00
patacongo 0f1567878c Header file clean-up
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4948 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-17 03:58:11 +00:00
patacongo 397386eb8a Implement basic SPIFI block driver for the LPC43xx (doesn't work)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4938 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-13 16:03:13 +00:00
patacongo 4f1e53b492 PM update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4932 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-11 23:21:16 +00:00
patacongo 266f29b3a1 Add a generic GCC stdarg.h header file
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4919 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-08 14:50:43 +00:00
patacongo 7ec3df6877 Add a driver for SST 25 FLASH
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4868 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-06-25 21:21:08 +00:00
patacongo 524b08c3fc Updates to support the Mirtoo internal clocking
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4855 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-06-20 19:29:20 +00:00
patacongo 8812170a7c Fix RTC alarm function pointer
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4854 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-06-20 17:41:58 +00:00
patacongo a81c274be8 PIC32MX1/2 pin selection logic; Mirtoo LEDs, SPI2, and UART2 configuration
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4853 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-06-20 17:37:20 +00:00
patacongo 3611ea2855 STM32 power management update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4848 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-06-18 14:45:34 +00:00
patacongo 3f57b622df Add NFS rewinddir support; fixe some NFS warnings
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4844 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-06-14 21:54:50 +00:00
patacongo 1c2b2798b4 Clean up NFS user interface; Fix NFS disconnect bug
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4841 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-06-14 14:35:31 +00:00
patacongo c3cba92265 Minor change to NFS interface
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4840 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-06-14 13:08:48 +00:00
patacongo a27028feab NFS just finished a major weight reduction program
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4838 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-06-14 00:47:42 +00:00
patacongo 48de4a98fc NFS update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4828 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-06-11 18:55:58 +00:00
patacongo 7aecf6e0d4 NFS update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4824 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-06-10 18:16:01 +00:00
patacongo 2f382d0878 More IPv6 rambling
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4815 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-06-08 01:53:26 +00:00
patacongo 11d938dd21 First round of compile fixes for IPv6
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4813 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-06-07 22:00:19 +00:00
patacongo ecd38c4f9d NFS update
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4809 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-06-07 01:03:34 +00:00
patacongo 48f2d672f0 Add support for the MIO283QT2 LCD
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4802 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-06-04 18:45:48 +00:00