Commit Graph

285 Commits

Author SHA1 Message Date
patacongo
f99a779f4f Fix bugs in lazy FPU register saving
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4427 42af7a65-404d-4744-a932-0658087f49c3
2012-02-25 19:32:16 +00:00
patacongo
c7eae76899 Add a test to verify that FPU registers are properly saved and restored on context switches.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4421 42af7a65-404d-4744-a932-0658087f49c3
2012-02-24 21:34:55 +00:00
patacongo
ca1c8f6bfa select() fix to handl POLLHUP; STM32 FPU saving in context switches seems to be functional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4420 42af7a65-404d-4744-a932-0658087f49c3
2012-02-24 18:24:35 +00:00
patacongo
25faa9dbf8 Enable STM32 F4 hardware floating point with the Atollic toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4418 42af7a65-404d-4744-a932-0658087f49c3
2012-02-23 21:29:42 +00:00
patacongo
4eab17ad06 Add support for the Atollic 'Lite' toolchain in all STM32 F4 configurations
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4417 42af7a65-404d-4744-a932-0658087f49c3
2012-02-23 18:42:36 +00:00
patacongo
e23ce28ce7 (1) Fix a critical memory leak in the TCP read-ahead buffering logic; Add an option to suppress SDIO multi-block transfers in order to work around a buggy SDIO driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4415 42af7a65-404d-4744-a932-0658087f49c3
2012-02-23 02:07:38 +00:00
patacongo
95476a03ea Incoporate new ARMv7-M exception handling logic contributed by Mike Smith
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4413 42af7a65-404d-4744-a932-0658087f49c3
2012-02-22 18:14:18 +00:00
patacongo
8c1b31e600 STM32 SDIO DMA: Ignore DMA FIFO errors; these seem to be bogus. SD multiple block transfers result in CRC errors; avoid them by using smaller FTP buffer sizes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4410 42af7a65-404d-4744-a932-0658087f49c3
2012-02-21 22:00:28 +00:00
patacongo
c59efdb312 Fix SDIO DMA (finally)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4409 42af7a65-404d-4744-a932-0658087f49c3
2012-02-21 19:16:41 +00:00
patacongo
fbe0426ecd Various STM32 SDIO and DMA fixes (SDIO DMA still does not work)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4406 42af7a65-404d-4744-a932-0658087f49c3
2012-02-20 20:02:53 +00:00
patacongo
53cace8c23 STM32 SDIO driver now build with DMA enabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4404 42af7a65-404d-4744-a932-0658087f49c3
2012-02-19 16:31:12 +00:00
patacongo
3dc0b679af CAN ISO-11783 support contributed by Gary Teravskis
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4400 42af7a65-404d-4744-a932-0658087f49c3
2012-02-18 14:02:34 +00:00
patacongo
593de902f9 Add interface to enabled/disable debug output
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4386 42af7a65-404d-4744-a932-0658087f49c3
2012-02-12 23:54:26 +00:00
patacongo
8d2b3c028b Fix a small RAM log bug (the RAM log still does not work)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4385 42af7a65-404d-4744-a932-0658087f49c3
2012-02-12 20:27:49 +00:00
patacongo
0627a0b4f7 Fix some typos and compilation errors introduced in the last checkin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4384 42af7a65-404d-4744-a932-0658087f49c3
2012-02-12 02:53:01 +00:00
patacongo
6b083b7c3e Some changes to the Telnet/FTPD configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4376 42af7a65-404d-4744-a932-0658087f49c3
2012-02-08 00:05:36 +00:00
patacongo
9989a04264 FTP server is marginally functional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4372 42af7a65-404d-4744-a932-0658087f49c3
2012-02-05 19:32:42 +00:00
patacongo
d25de45f28 FTPD daemon and example now build without errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4371 42af7a65-404d-4744-a932-0658087f49c3
2012-02-05 17:36:13 +00:00
patacongo
ec75bc6a6a Add build environment for the FTP daemon
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4370 42af7a65-404d-4744-a932-0658087f49c3
2012-02-04 22:49:42 +00:00
patacongo
bd61246580 Add stm3240g-eval nsh2 configuration: SDIO and no UART
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4363 42af7a65-404d-4744-a932-0658087f49c3
2012-02-02 23:14:54 +00:00
patacongo
1f33bf9489 Tried to get the Composite driver working on the LPC2148 (and failed)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4362 42af7a65-404d-4744-a932-0658087f49c3
2012-02-02 19:42:55 +00:00
patacongo
b0a0e93cbd NSH now uses the new Telnet daemon and built-in tasks started by NSH can be used over Telnet
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4361 42af7a65-404d-4744-a932-0658087f49c3
2012-02-02 16:04:09 +00:00
patacongo
9f1466ef3c Add a configuration for testing the Telnet daemon
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4360 42af7a65-404d-4744-a932-0658087f49c3
2012-02-02 04:41:53 +00:00
patacongo
85c43195e1 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
d98c5bc1df 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
eed783884e Massive name change USB STRG -> USB MSC
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4334 42af7a65-404d-4744-a932-0658087f49c3
2012-01-25 20:17:59 +00:00
patacongo
400c96002c STM32 F4 I2C updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4330 42af7a65-404d-4744-a932-0658087f49c3
2012-01-25 00:09:58 +00:00
patacongo
3be4d1cf4d Enable the I2C tool in the STM3240G-EVAL NSH configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4328 42af7a65-404d-4744-a932-0658087f49c3
2012-01-24 14:34:24 +00:00
patacongo
066ab944c4 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
fe2501d654 Leverage some bit timing logic from LPC17xx to the STM32 CAN driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4317 42af7a65-404d-4744-a932-0658087f49c3
2012-01-20 03:37:29 +00:00
patacongo
4d218e9dca Fix STM32 F4 APB2 clock input frequencies
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4303 42af7a65-404d-4744-a932-0658087f49c3
2012-01-16 17:20:09 +00:00
patacongo
5381a857eb Increase range of pulse count in PWM driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4302 42af7a65-404d-4744-a932-0658087f49c3
2012-01-16 15:43:01 +00:00
patacongo
44954116fd For STM32 PWM output on TIM1/8, need to set master output enable (MOE)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4296 42af7a65-404d-4744-a932-0658087f49c3
2012-01-11 16:01:18 +00:00
patacongo
ad49decfe0 CAN request order priority
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4292 42af7a65-404d-4744-a932-0658087f49c3
2012-01-11 01:01:44 +00:00
patacongo
67870d2481 Implement the new CAN txready method for STM32
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4291 42af7a65-404d-4744-a932-0658087f49c3
2012-01-11 00:13:45 +00:00
patacongo
aaa6c8fbd4 Fix LPC17 CAN driver; TX must be interrupt driven
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4290 42af7a65-404d-4744-a932-0658087f49c3
2012-01-10 22:29:39 +00:00
patacongo
2df5e7550a 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
76e382e073 Finish PWM pulse count configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4287 42af7a65-404d-4744-a932-0658087f49c3
2012-01-09 21:34:58 +00:00
patacongo
dada7a5200 Add basic support for pulse count in the PWM interface
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4285 42af7a65-404d-4744-a932-0658087f49c3
2012-01-09 18:23:30 +00:00
patacongo
4b0cf97de2 Make STM32 F4 TIM pin naming consistent with F1
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4272 42af7a65-404d-4744-a932-0658087f49c3
2012-01-06 21:25:27 +00:00
patacongo
5c005c857c File that should have been added in the last check-in
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4264 42af7a65-404d-4744-a932-0658087f49c3
2012-01-05 17:21:14 +00:00
patacongo
a65e501c48 Add APIs to support user access to the STM3240G-EVAL LEDs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4263 42af7a65-404d-4744-a932-0658087f49c3
2012-01-05 16:58:18 +00:00
patacongo
23a3df2885 Clarify some aspects of ADC configuration for the STM32
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4262 42af7a65-404d-4744-a932-0658087f49c3
2012-01-04 23:46:00 +00:00
patacongo
ef4a60ab9e Fixes for STM32 ADC driver on the F4; LC17xx LED initial state
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4257 42af7a65-404d-4744-a932-0658087f49c3
2012-01-03 23:25:49 +00:00
patacongo
272c35b00e 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: svn://svn.code.sf.net/p/nuttx/code/trunk@4253 42af7a65-404d-4744-a932-0658087f49c3
2012-01-03 01:03:56 +00:00
patacongo
96d2702826 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
948953fe93 Add Sure PIC32 NSH configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4216 42af7a65-404d-4744-a932-0658087f49c3
2011-12-22 22:13:44 +00:00
patacongo
4fb2f8f148 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
9ff5eb279d 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
7480e0c3cb 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
c0db417435 STM32 CAN driver now compiles
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4210 42af7a65-404d-4744-a932-0658087f49c3
2011-12-21 23:31:03 +00:00
patacongo
7762e7fc16 Add the beginning of an STM32 CAN driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4209 42af7a65-404d-4744-a932-0658087f49c3
2011-12-21 15:50:06 +00:00
patacongo
a2badca703 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
eac75b3adc Finishes the PWM driver for the STM32
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4206 42af7a65-404d-4744-a932-0658087f49c3
2011-12-20 18:28:50 +00:00
patacongo
e292c452c1 PWM driver works
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4205 42af7a65-404d-4744-a932-0658087f49c3
2011-12-20 17:31:06 +00:00
patacongo
6cf205e36e 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
b6e7387586 ADC driver update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4203 42af7a65-404d-4744-a932-0658087f49c3
2011-12-20 00:30:12 +00:00
patacongo
85272b9b41 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
b4889c86d8 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
18a285adb5 Add framework for lower half STM32 PWM driver; updates to the STM32 ADC driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4192 42af7a65-404d-4744-a932-0658087f49c3
2011-12-16 19:29:41 +00:00
patacongo
e048a2de54 Fix compile problen with CONFIG_NET_ARP_IPIN
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4188 42af7a65-404d-4744-a932-0658087f49c3
2011-12-15 22:21:32 +00:00
patacongo
8a47ceb327 Update to STM32 DAC and ADC drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4185 42af7a65-404d-4744-a932-0658087f49c3
2011-12-15 13:33:15 +00:00
patacongo
055870af2d 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
ef334018ea Enable the RTC in the STM3240G-EVAL NSH configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4179 42af7a65-404d-4744-a932-0658087f49c3
2011-12-14 22:01:29 +00:00
patacongo
b2938c5555 STM32 RTC driver now compiles and links without error (still untested)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4177 42af7a65-404d-4744-a932-0658087f49c3
2011-12-14 19:59:06 +00:00
patacongo
a985576ec4 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
26954eeb45 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
e25261a8a3 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
5f099281e7 STM32 Ethernet needs a MAC address
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4167 42af7a65-404d-4744-a932-0658087f49c3
2011-12-12 23:38:39 +00:00
patacongo
7643846530 STM32 F4 Ethernet driver is fully functional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4166 42af7a65-404d-4744-a932-0658087f49c3
2011-12-12 21:55:10 +00:00
patacongo
104083a124 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
905017ac35 Completes coding of the STM32 F4 Ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4161 42af7a65-404d-4744-a932-0658087f49c3
2011-12-11 18:25:08 +00:00
patacongo
b8c11a63f4 Add STM32 Ethernet packet reception logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4160 42af7a65-404d-4744-a932-0658087f49c3
2011-12-11 15:04:39 +00:00
patacongo
e32af3d544 Add PHY setup for STM3240G-EVAL Ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4151 42af7a65-404d-4744-a932-0658087f49c3
2011-12-09 17:03:16 +00:00
patacongo
de65832c7c Add Ethernet pin/clock configuration logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4148 42af7a65-404d-4744-a932-0658087f49c3
2011-12-08 22:14:48 +00:00
patacongo
d25ac40a99 Finish STM32 Ethernet header file; Add ethernet driver skeleton
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4147 42af7a65-404d-4744-a932-0658087f49c3
2011-12-08 18:02:38 +00:00
patacongo
18d0dcad3f Add support for the Cortex-M4 floating pointing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4144 42af7a65-404d-4744-a932-0658087f49c3
2011-12-07 18:58:21 +00:00
patacongo
f139582f40 Calibrated STM3240G-EVAL delay loop
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4140 42af7a65-404d-4744-a932-0658087f49c3
2011-12-06 21:19:37 +00:00
patacongo
b78386f280 Add an NSH configuration for the STM3240G-EVAL
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4139 42af7a65-404d-4744-a932-0658087f49c3
2011-12-06 20:49:12 +00:00
patacongo
da13734f82 Basic bring-up of the STM3240G-EVAL board is complete
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4138 42af7a65-404d-4744-a932-0658087f49c3
2011-12-06 19:31:28 +00:00
patacongo
a2e0b18dc1 Fix STM32F40 build problem. Moved ARM.exidx to FLASH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4137 42af7a65-404d-4744-a932-0658087f49c3
2011-12-06 16:27:37 +00:00
patacongo
e6e6a94c19 Finish code for basic STM3240 port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4124 42af7a65-404d-4744-a932-0658087f49c3
2011-11-24 01:34:10 +00:00
patacongo
b761b5d0e8 Add clock configuration logic for the STM32F40
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4123 42af7a65-404d-4744-a932-0658087f49c3
2011-11-23 18:18:26 +00:00
patacongo
b5f05cbbc5 More changes for STM3240 build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4121 42af7a65-404d-4744-a932-0658087f49c3
2011-11-22 20:07:42 +00:00
patacongo
bdd202a838 Add framework for the STM3240G-EVAL board (not much logic yet)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4118 42af7a65-404d-4744-a932-0658087f49c3
2011-11-22 14:16:38 +00:00