Commit Graph

102 Commits

Author SHA1 Message Date
patacongo 47fa99c4a8 Add tcsetattr and tcgetattr
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4355 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-02-01 16:17:12 +00:00
patacongo 35a1f247c4 Add on_exit(); Re-order some logic in the task shutdown sequence. Sometimes some complex logic needs to execute when closing file descriptors and this needs to happen early while the task is still healthy
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4354 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-31 23:39:12 +00:00
patacongo 5d7909fa42 Can't use 'class' as a field name! Backward conditional compilation in usbmsc.c
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4350 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-31 14:15:36 +00:00
patacongo 019b83fc54 Get rid of psock.h (bad idea); Add logic to clone the socket structure when wrapping the telnet connection as a character driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4349 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-30 23:13:29 +00:00
patacongo 1e4d04d53b A few more telnet updates
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4348 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-30 22:20:42 +00:00
patacongo 622ac27bfa Add new psock layer; telnet session is now wrapped in a character device
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4347 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-30 21:29:59 +00:00
patacongo a11ad68eed Candidate fix for the libboard.a dependency problem (from Mike Smith)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4346 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-29 20:07:16 +00:00
patacongo 6c72068d14 Correct a typo in STM32 I2C3 support
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4345 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-29 14:15:20 +00:00
patacongo b8e32a94f3 First round of changes from debug of USB composite device (still has problems)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4342 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-27 16:25:57 +00:00
patacongo 85a7bbb39f Massive name change USB STRG -> USB MSC
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4334 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-25 20:17:59 +00:00
patacongo 11170ae05b Add logic to set MAX17040 frequency
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4326 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-23 19:59:09 +00:00
patacongo 80ce244ce1 Create a generic battery driver infrastructure
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4322 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-22 18:03:13 +00:00
patacongo 0068180bf8 Create directory structures to support power-related devices
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4321 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-22 16:42:49 +00:00
patacongo b179df901e Add support for extended (29-bit) CAN IDs
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4319 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-20 21:52:35 +00:00
patacongo a9e951e726 Add configuratin to select TSEG1 and TSEG2 values
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4313 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-19 17:43:14 +00:00
patacongo 9b5078804f Fix offset to STM32 F1 AFIO EXTICR register
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4309 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-18 17:48:46 +00:00
patacongo 88094197cb Add support for building 32-bit simulation on a 64-bit target
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4307 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-17 17:42:31 +00:00
patacongo 31c714f387 Finish coding of PIC32MX Ethernet driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4306 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-17 14:40:12 +00:00
patacongo 0e80050d16 Fix STM32 F4 APB2 clock input frequencies
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4303 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-16 17:20:09 +00:00
patacongo 4ce72e03b6 Increase range of pulse count in PWM driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4302 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-16 15:43:01 +00:00
patacongo c55b63c7e3 Prep for 6.14 release
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4301 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-15 16:11:32 +00:00
patacongo 247096fede STM32 fixes for F4 32-bit timers
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4300 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-13 02:49:10 +00:00
patacongo 64e7f6b00c On a failure to recognize a FAT file system, the mount logic should return -EINVAL, not -ENODEV
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4297 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-11 16:31:45 +00:00
patacongo d0d0a0fbbf Add support for the STM32F4-Discovery (from Mike Smith)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4294 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-11 13:01:26 +00:00
patacongo a734f89a13 Correct GPIO dump output
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4288 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-10 16:25:52 +00:00
patacongo 94e1048f0b Add basic support for pulse count in the PWM interface
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4285 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-09 18:23:30 +00:00
patacongo abb776a834 Add support for STM32 UART4-5 and USART6
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4281 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-08 15:09:05 +00:00
patacongo d90e91b4d6 LPC17xx CAN PCLK divisor is not a configuration parameter
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4268 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-06 14:07:47 +00:00
patacongo 7de5004f47 Add logic to control CAN bit rate via the .config file
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4266 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-05 20:39:56 +00:00
patacongo d880b5c4b5 Add APIs to support user access to the STM3240G-EVAL LEDs
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4263 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-05 16:58:18 +00:00
patacongo 43392986a0 Add suport for the Stellaris LM3S6432S2E and the TI RDK-S2E
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4260 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-04 22:27:35 +00:00
patacongo 695341cc6d Fix buffer full test in generic CAN driver (plus fixes to comments)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4259 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-04 20:49:47 +00:00
patacongo 8da8798071 LPC17xx CAN driver now supports all 3 transmit buffers and loopback mode; LCP1766-STK NSH configuration will support the CAN loopback test
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4253 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-03 01:03:56 +00:00
patacongo 4f07eda719 Add support for STM32 Potentiometer via ADC3
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4252 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-02 18:22:19 +00:00
patacongo 3d3bc75c12 The STM32 F4 CAN driver has been verified in loopback mode
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4251 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-02 16:33:05 +00:00
patacongo a2c4245f0a Add FAT long filename support to the Olimex LPC1766-STK NSH and FTPC configuration
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4248 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-01 18:30:56 +00:00
patacongo 6a3f04eeab Fix an integer overflow bug in LPC17xx GPIO interrupt configuration
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4247 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-01-01 15:57:03 +00:00
patacongo 9a1c94e294 Fix some LPC17xx GPIO/button interrupt logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4246 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-31 23:09:33 +00:00
patacongo 8dc1600b39 Update README, LPC1766-STK button improvements, new Make targets, new Getting Started document
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4244 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-31 16:53:05 +00:00
patacongo a0c4a99222 Add (untested) support for the buttons on the Olimex LPC1766-STK board
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4243 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-31 01:16:48 +00:00
patacongo 2901574aff STM32 GPIO fix; Fixes for PIC32 USB term example
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4241 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-30 14:54:43 +00:00
patacongo e136368c1f Correct last set of changes to configuration logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4237 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-29 12:52:15 +00:00
patacongo 269fd5a9cc Updates for PIC32MX USB driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4233 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-27 20:07:17 +00:00
patacongo f01e35e651 Prep for 6.13 release
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4231 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-26 20:07:04 +00:00
patacongo 49a51cb0f1 Fix a MIPS delay slot error in the software interrupt logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4228 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-26 01:05:36 +00:00
patacongo 8953e3a370 Calibrated all PIC32 delay loops
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4217 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-22 22:24:00 +00:00
patacongo 4f061fee64 Add Sure PIC32 NSH configuration
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4216 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-22 22:13:44 +00:00
patacongo bfc578860c Add loopback support to STM32 CAN driver; Add apps/examples/can loopback test
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4213 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-22 15:59:50 +00:00
patacongo 073df6d28c Add the beginning of an STM32 CAN driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4209 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-21 15:50:06 +00:00
patacongo 468bf27b12 Update M25P driver per feedback from Mohammed Elwakeel
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4207 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-20 21:16:39 +00:00
patacongo b7edb56d6f Add a test for PWM drivers
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4202 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-19 23:06:41 +00:00
patacongo add995c32e Completes coding of the PWM module
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4200 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2011-12-19 19:24:09 +00:00