Commit Graph

566 Commits

Author SHA1 Message Date
patacongo
fe6136766a Move lib/stdio/lib_fgets.c to apps/system/readline; simplify fgets(); use readline instead of fgets in NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4356 42af7a65-404d-4744-a932-0658087f49c3
2012-02-01 19:07:57 +00:00
patacongo
dac988656d Add tcsetattr and tcgetattr
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4355 42af7a65-404d-4744-a932-0658087f49c3
2012-02-01 16:17:12 +00:00
patacongo
66d9fc6bca 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: svn://svn.code.sf.net/p/nuttx/code/trunk@4354 42af7a65-404d-4744-a932-0658087f49c3
2012-01-31 23:39:12 +00:00
patacongo
0ded9de019 Numerous cosmetic changes while debugging a telnet driver issue
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4353 42af7a65-404d-4744-a932-0658087f49c3
2012-01-31 20:32:49 +00:00
patacongo
35750bdbcf Fix a error the telnet driver read method. Don't return if only protocol stuff is read
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4352 42af7a65-404d-4744-a932-0658087f49c3
2012-01-31 17:38:45 +00:00
patacongo
48748888ea Various fixes for the telnet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4351 42af7a65-404d-4744-a932-0658087f49c3
2012-01-31 15:41:07 +00:00
patacongo
1e0243297a 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: svn://svn.code.sf.net/p/nuttx/code/trunk@4349 42af7a65-404d-4744-a932-0658087f49c3
2012-01-30 23:13:29 +00:00
patacongo
70433b7fd5 A few more telnet updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4348 42af7a65-404d-4744-a932-0658087f49c3
2012-01-30 22:20:42 +00:00
patacongo
2223c0eac0 Add new psock layer; telnet session is now wrapped in a character device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4347 42af7a65-404d-4744-a932-0658087f49c3
2012-01-30 21:29:59 +00:00
patacongo
8a7c495ff1 Candidate fix for the libboard.a dependency problem (from Mike Smith)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4346 42af7a65-404d-4744-a932-0658087f49c3
2012-01-29 20:07:16 +00:00
patacongo
b821c9752c Correct a typo in STM32 I2C3 support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4345 42af7a65-404d-4744-a932-0658087f49c3
2012-01-29 14:15:20 +00:00
patacongo
7f96ec9c25 Most USB Composite device debug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4344 42af7a65-404d-4744-a932-0658087f49c3
2012-01-27 21:03:20 +00:00
patacongo
3085821527 First round of changes from debug of USB composite device (still has problems)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4342 42af7a65-404d-4744-a932-0658087f49c3
2012-01-27 16:25:57 +00:00
patacongo
524724efd8 Add a text for the new composite USB device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4341 42af7a65-404d-4744-a932-0658087f49c3
2012-01-26 23:14:27 +00:00
patacongo
37b87116bf More name changes: USBSER->PL2303 CDCSER->CDCACM
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4337 42af7a65-404d-4744-a932-0658087f49c3
2012-01-25 23:04:17 +00:00
patacongo
29ecefa25a Massive name change USB STRG -> USB MSC
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4335 42af7a65-404d-4744-a932-0658087f49c3
2012-01-25 20:50:57 +00:00
patacongo
c2266ac99a If we are using a USB serial console, then NSH must wait for the USB device to be connected
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4327 42af7a65-404d-4744-a932-0658087f49c3
2012-01-24 00:00:31 +00:00
patacongo
a3301a7079 Add support for extended (29-bit) CAN IDs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4319 42af7a65-404d-4744-a932-0658087f49c3
2012-01-20 21:52:35 +00:00
patacongo
ac307ce7fb Prep for 6.14 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4301 42af7a65-404d-4744-a932-0658087f49c3
2012-01-15 16:11:32 +00:00
patacongo
02da8cea4b Add definitions for another Sure Elec. PIC32 board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4299 42af7a65-404d-4744-a932-0658087f49c3
2012-01-12 00:24:54 +00:00
patacongo
f26fded727 Correct GPIO dump output
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4288 42af7a65-404d-4744-a932-0658087f49c3
2012-01-10 16:25:52 +00:00
patacongo
be3a9faf25 Add pulse count support to apps/examples/pwm
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4286 42af7a65-404d-4744-a932-0658087f49c3
2012-01-09 18:56:05 +00:00
patacongo
b10bc205e1 Improve LPC17xx CAN interrupt handling; Additions to LPC17xx SPI driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4255 42af7a65-404d-4744-a932-0658087f49c3
2012-01-03 13:47:40 +00:00
patacongo
a1e3f34808 Add support for STM32 Potentiometer via ADC3
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4252 42af7a65-404d-4744-a932-0658087f49c3
2012-01-02 18:22:19 +00:00
patacongo
6b6d7a6a54 The STM32 F4 CAN driver has been verified in loopback mode
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4251 42af7a65-404d-4744-a932-0658087f49c3
2012-01-02 16:33:05 +00:00
patacongo
e8ff8b1658 Fix some LPC17xx GPIO/button interrupt logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4246 42af7a65-404d-4744-a932-0658087f49c3
2011-12-31 23:09:33 +00:00
patacongo
e34381fa4a STM32 GPIO fix; Fixes for PIC32 USB term example
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4241 42af7a65-404d-4744-a932-0658087f49c3
2011-12-30 14:54:43 +00:00
patacongo
0e25792d16 Prep for 6.13 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4231 42af7a65-404d-4744-a932-0658087f49c3
2011-12-26 20:07:04 +00:00
patacongo
25440e70b2 Fix an PIC32 error in scheduling of signal handlers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4229 42af7a65-404d-4744-a932-0658087f49c3
2011-12-26 16:24:43 +00:00
patacongo
7e93d78fc7 Calibrated all PIC32 delay loops
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4217 42af7a65-404d-4744-a932-0658087f49c3
2011-12-22 22:24:00 +00:00
patacongo
9c0f5e8bf7 Update to the STM32 ADC and CAN drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4215 42af7a65-404d-4744-a932-0658087f49c3
2011-12-22 21:55:54 +00:00
patacongo
61be0bba52 Add loopback support to STM32 CAN driver; Add apps/examples/can loopback test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4213 42af7a65-404d-4744-a932-0658087f49c3
2011-12-22 15:59:50 +00:00
patacongo
62c8ae0d17 STM32 ADC driver update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4211 42af7a65-404d-4744-a932-0658087f49c3
2011-12-22 00:31:47 +00:00
patacongo
7997b8271d Update M25P driver per feedback from Mohammed Elwakeel
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4207 42af7a65-404d-4744-a932-0658087f49c3
2011-12-20 21:16:39 +00:00
patacongo
cc58534d4b First round of PWM driver debug changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4204 42af7a65-404d-4744-a932-0658087f49c3
2011-12-20 14:41:32 +00:00
patacongo
e10f0165f1 Add a test for PWM drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4202 42af7a65-404d-4744-a932-0658087f49c3
2011-12-19 23:06:41 +00:00
patacongo
2f8d665e01 Completes coding of the PWM module
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4200 42af7a65-404d-4744-a932-0658087f49c3
2011-12-19 19:24:09 +00:00
patacongo
001d21f591 STM32 ADC update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4194 42af7a65-404d-4744-a932-0658087f49c3
2011-12-17 00:21:10 +00:00
patacongo
184d65352f Fix the data format used in apps/examples/adc
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4193 42af7a65-404d-4744-a932-0658087f49c3
2011-12-16 19:56:47 +00:00
patacongo
ce28cd29df Updated STM32 ADC driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4189 42af7a65-404d-4744-a932-0658087f49c3
2011-12-16 00:32:11 +00:00
patacongo
f31ebb053b Add a framework for an ADC test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4180 42af7a65-404d-4744-a932-0658087f49c3
2011-12-14 23:37:38 +00:00
patacongo
24fea8daaa Improve nettest feedback
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4172 42af7a65-404d-4744-a932-0658087f49c3
2011-12-13 20:15:30 +00:00
patacongo
aeb95a78a1 Fix more STM32 ethernet bugs; Fix some build issues with examples/nettest
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4171 42af7a65-404d-4744-a932-0658087f49c3
2011-12-13 19:58:24 +00:00
patacongo
0ff40145d7 Fix error in nettest build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4170 42af7a65-404d-4744-a932-0658087f49c3
2011-12-13 18:14:14 +00:00
patacongo
6ecf93b469 Add a network test configuration for the STM3240G-EVAL
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4169 42af7a65-404d-4744-a932-0658087f49c3
2011-12-13 17:56:14 +00:00
patacongo
1329f14683 STM32 Ethernet bugfixes; STM3240G-EVAL DHCPD configuration; fixes for IP address order bugs in DHCPD
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4168 42af7a65-404d-4744-a932-0658087f49c3
2011-12-13 17:25:23 +00:00
patacongo
077b3188f9 STM32 Ethernet... initial bring-up changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4165 42af7a65-404d-4744-a932-0658087f49c3
2011-12-12 15:59:33 +00:00
patacongo
a8628e9397 Prep for 6.12 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4141 42af7a65-404d-4744-a932-0658087f49c3
2011-12-07 01:15:08 +00:00
patacongo
4afe89f4a0 Fix PIC32 error in last check-in
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4125 42af7a65-404d-4744-a932-0658087f49c3
2011-11-25 12:37:54 +00:00
patacongo
7de904d58a Add STM3240 alternate pin functions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4103 42af7a65-404d-4744-a932-0658087f49c3
2011-11-19 18:06:02 +00:00