Commit Graph

2555 Commits

Author SHA1 Message Date
patacongo
f7ad9408a0 Update documentation to describe customization of NSH; Add the framework for a LPC43xx USB0 driver (not functional)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5015 42af7a65-404d-4744-a932-0658087f49c3
2012-08-07 20:18:56 +00:00
patacongo
c9a2c8a7aa STM32 PM update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5002 42af7a65-404d-4744-a932-0658087f49c3
2012-08-03 15:01:51 +00:00
patacongo
3b6ae1baaf LPC43 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5001 42af7a65-404d-4744-a932-0658087f49c3
2012-08-03 14:57:30 +00:00
patacongo
421e422444 Add stm32_clockenable() to support recovery from deep sleep low-power usage modes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5000 42af7a65-404d-4744-a932-0658087f49c3
2012-08-02 21:48:54 +00:00
patacongo
5b6be140ba The initial SYLOG device logic was valiant but yet still not enough
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4998 42af7a65-404d-4744-a932-0658087f49c3
2012-08-02 17:09:25 +00:00
patacongo
ae4142fe7b Correct an addressing error in the LPC32 SPIFI MTD driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4997 42af7a65-404d-4744-a932-0658087f49c3
2012-08-02 01:45:56 +00:00
patacongo
39f2ca6c1f Move RAMLOG driver to drivers/syslog; Add ability to output debug information to any character device or file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4996 42af7a65-404d-4744-a932-0658087f49c3
2012-08-02 00:42:46 +00:00
patacongo
56580875ab atexit() and on_exit() may now be configured to support multiple exit callbacks
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4995 42af7a65-404d-4744-a932-0658087f49c3
2012-08-01 17:47:54 +00:00
patacongo
50dd2866eb LPC17xx serial now supports minimal termios ioctls; serial driver ioctl methods should not set errno variable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4994 42af7a65-404d-4744-a932-0658087f49c3
2012-07-31 23:45:21 +00:00
patacongo
113b421e60 Add support for testing multiple ADC, PWM, and QE devices
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4993 42af7a65-404d-4744-a932-0658087f49c3
2012-07-30 16:51:43 +00:00
patacongo
e08e917d5a Add memccpy{}
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4990 42af7a65-404d-4744-a932-0658087f49c3
2012-07-29 14:50:02 +00:00
patacongo
25d6657dff STM32F4Discovery configuration clean-up
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4985 42af7a65-404d-4744-a932-0658087f49c3
2012-07-27 21:08:56 +00:00
patacongo
295900dd88 Add support for PIC32MX1/2 ANSEL register; Mirtoo NXFFS configuration now uses the Pinquino toolchain by default:
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4984 42af7a65-404d-4744-a932-0658087f49c3
2012-07-27 17:25:35 +00:00
patacongo
596484ea54 PM update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4982 42af7a65-404d-4744-a932-0658087f49c3
2012-07-27 00:14:38 +00:00
patacongo
c1a3d46a69 Add PM support for the STM32F4Discovery -- still a work in progress
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4976 42af7a65-404d-4744-a932-0658087f49c3
2012-07-25 13:35:36 +00:00
patacongo
1c7794b97d Combine cfset[o|i]speed to cfsetspeed; combine cfget[o|i]speed for cfgetspeed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4975 42af7a65-404d-4744-a932-0658087f49c3
2012-07-24 22:56:36 +00:00
patacongo
0ccd2cdb66 Ooops.. c_speed is now read-only
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4974 42af7a65-404d-4744-a932-0658087f49c3
2012-07-24 17:16:25 +00:00
patacongo
fa593262f4 SDIO fixes for the STM32 F2 from Gary Teravskis and Scott Rondestvedt
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4973 42af7a65-404d-4744-a932-0658087f49c3
2012-07-24 15:49:01 +00:00
patacongo
272a475b52 Remove BOTHER
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4972 42af7a65-404d-4744-a932-0658087f49c3
2012-07-24 15:10:21 +00:00
patacongo
9dee8a084d LP43xx SPIFI MTD driver update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4971 42af7a65-404d-4744-a932-0658087f49c3
2012-07-23 20:08:56 +00:00
patacongo
58864cc6e9 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: svn://svn.code.sf.net/p/nuttx/code/trunk@4970 42af7a65-404d-4744-a932-0658087f49c3
2012-07-23 15:37:13 +00:00
patacongo
89473befdf Add completed but untested support for RS-485 on the LPC43xx
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4959 42af7a65-404d-4744-a932-0658087f49c3
2012-07-20 18:32:16 +00:00
patacongo
9faa2e9ece Add infrastructure to support RS-485 on the LPC43xx (logic still incomplete)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4958 42af7a65-404d-4744-a932-0658087f49c3
2012-07-20 16:58:39 +00:00
patacongo
0ba37ba68d Add missing file needed for stm32f100xx port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4957 42af7a65-404d-4744-a932-0658087f49c3
2012-07-20 01:42:40 +00:00
patacongo
a9468eb7e1 Add support for STM32F100x value line. Contributed by Mike Smith. Still missing a file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4955 42af7a65-404d-4744-a932-0658087f49c3
2012-07-19 18:02:32 +00:00
patacongo
5c40d31c23 Make name of RTC ALARM interrupt common on STM32 F1,2,4
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4954 42af7a65-404d-4744-a932-0658087f49c3
2012-07-19 14:33:14 +00:00
patacongo
acc6883263 Add STM32 PM sleep support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4953 42af7a65-404d-4744-a932-0658087f49c3
2012-07-18 22:54:33 +00:00
patacongo
31dc0f21f6 Update driver to work with and external SPIFI library (vs. ROM)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4952 42af7a65-404d-4744-a932-0658087f49c3
2012-07-18 21:04:15 +00:00
patacongo
56f50d59fc Create an MTD driver for SPIFI
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4951 42af7a65-404d-4744-a932-0658087f49c3
2012-07-18 18:38:49 +00:00
patacongo
3e483d3809 Add logic to initialize the LPC43xx SPIFI device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4949 42af7a65-404d-4744-a932-0658087f49c3
2012-07-17 20:02:57 +00:00
patacongo
25522d0cc8 STM32: Add logic to attach the RTC alarm EXTI interrupt
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4947 42af7a65-404d-4744-a932-0658087f49c3
2012-07-17 00:22:48 +00:00
patacongo
f6b7147cd6 Fix LPC43xx clocking bugs; LPC43xx now runs at 204MHz
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4946 42af7a65-404d-4744-a932-0658087f49c3
2012-07-16 21:25:29 +00:00
patacongo
3bd865b3d0 Fix an error in LPC43xx clock configuratin that can cause fail to boot
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4945 42af7a65-404d-4744-a932-0658087f49c3
2012-07-16 19:16:57 +00:00
patacongo
56e3553818 PM update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4932 42af7a65-404d-4744-a932-0658087f49c3
2012-07-11 23:21:16 +00:00
patacongo
b740e28538 LPC43 Need to use fractional dividers to get the low-level UART BAUD correct
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4931 42af7a65-404d-4744-a932-0658087f49c3
2012-07-11 20:58:47 +00:00
patacongo
c1cd96fda7 Add an NSH configuration for the LPC43xx
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4930 42af7a65-404d-4744-a932-0658087f49c3
2012-07-11 18:52:59 +00:00
patacongo
9d361ea107 LP43xx... disable debug traps on hardfaults
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4929 42af7a65-404d-4744-a932-0658087f49c3
2012-07-11 15:56:12 +00:00
patacongo
5478f7bad0 Kconfig update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4927 42af7a65-404d-4744-a932-0658087f49c3
2012-07-10 22:27:51 +00:00
patacongo
89b080564b Fix another LPC43xx pin configuration problem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4926 42af7a65-404d-4744-a932-0658087f49c3
2012-07-10 20:51:39 +00:00
patacongo
8f9590282f Several fixes to LPC43 pin and GPIO configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4925 42af7a65-404d-4744-a932-0658087f49c3
2012-07-10 18:33:14 +00:00
patacongo
f5875cfb09 LPC43xx fix: Logic was disabling XTAL, not enabling it
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4924 42af7a65-404d-4744-a932-0658087f49c3
2012-07-10 16:10:38 +00:00
patacongo
41110b3ffc Add support to the LPC4330-Xplorer port for the Code Red toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4920 42af7a65-404d-4744-a932-0658087f49c3
2012-07-08 22:28:39 +00:00
patacongo
a4cc2f6f5b Add a generic GCC stdarg.h header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4919 42af7a65-404d-4744-a932-0658087f49c3
2012-07-08 14:50:43 +00:00
patacongo
4a0b61ab76 Finishes LPC43xx uart bard configuration; LPC43 is ready to begin testing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4918 42af7a65-404d-4744-a932-0658087f49c3
2012-07-07 17:36:31 +00:00
patacongo
531316bcea Straighten out LPC32 UART clocking (still some baud calculation issues)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4917 42af7a65-404d-4744-a932-0658087f49c3
2012-07-07 15:29:13 +00:00
patacongo
70ccb11ade Fix typo in STM32 header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4915 42af7a65-404d-4744-a932-0658087f49c3
2012-07-06 22:21:58 +00:00
patacongo
1d050fa992 Add LPC43 pin configuration logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4914 42af7a65-404d-4744-a932-0658087f49c3
2012-07-06 18:39:04 +00:00
patacongo
7dd6f23388 Add LPC43 GPIO interrupt configurtion logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4913 42af7a65-404d-4744-a932-0658087f49c3
2012-07-06 17:04:08 +00:00
patacongo
c5b16f21c6 Add LPC43 GPIO configurtion logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4912 42af7a65-404d-4744-a932-0658087f49c3
2012-07-06 14:50:43 +00:00
patacongo
e1524dfb75 Change all values in all limits.h for all architectures to signed decimal; the hex values were not sign extending appropriate in most uses
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4911 42af7a65-404d-4744-a932-0658087f49c3
2012-07-05 23:45:57 +00:00
patacongo
19edf4c963 Add LPC43 clock initialization logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4910 42af7a65-404d-4744-a932-0658087f49c3
2012-07-05 22:38:12 +00:00
patacongo
a644488776 More LPC43 files in various states of work
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4909 42af7a65-404d-4744-a932-0658087f49c3
2012-07-05 14:58:16 +00:00
patacongo
d3bd7367a6 STM32 PM update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4908 42af7a65-404d-4744-a932-0658087f49c3
2012-07-04 23:19:59 +00:00
patacongo
8c9d2a06c4 Fix a optimization related problem in the LM3S
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4907 42af7a65-404d-4744-a932-0658087f49c3
2012-07-04 22:11:31 +00:00
patacongo
92e24d894a More LPC43xx logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4906 42af7a65-404d-4744-a932-0658087f49c3
2012-07-04 22:03:00 +00:00
patacongo
d36bf9f183 Add LPC43 interrrupt control logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4905 42af7a65-404d-4744-a932-0658087f49c3
2012-07-04 19:34:11 +00:00
patacongo
cd39e0b2b2 Progress of LPC43xx build environment
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4904 42af7a65-404d-4744-a932-0658087f49c3
2012-07-04 17:59:16 +00:00
patacongo
80754392c4 Clean up LPC43 USART vs UART naming
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4903 42af7a65-404d-4744-a932-0658087f49c3
2012-07-04 14:19:49 +00:00
patacongo
966d08230f Add LPC32xx CAN header file; Add configuration for the NXP LP4330-Xplorer board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4901 42af7a65-404d-4744-a932-0658087f49c3
2012-07-03 22:42:27 +00:00
patacongo
1ddadac7b1 Add LPC43 LCD and SCT header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4900 42af7a65-404d-4744-a932-0658087f49c3
2012-07-03 19:27:24 +00:00
patacongo
c11cd0bb7e LM3S9B96 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4899 42af7a65-404d-4744-a932-0658087f49c3
2012-07-02 23:32:08 +00:00
patacongo
da7e2cb93a Add LPC43 Event Monitor, EEPROM, FLASH header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4898 42af7a65-404d-4744-a932-0658087f49c3
2012-07-02 22:15:20 +00:00
patacongo
27a374c973 Add LPC43 EMC, Ethernet, and alarm timer header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4897 42af7a65-404d-4744-a932-0658087f49c3
2012-07-02 19:21:59 +00:00
patacongo
3102dcbb37 Add LPC43 SD/MMC header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4896 42af7a65-404d-4744-a932-0658087f49c3
2012-07-02 00:38:48 +00:00
patacongo
e2319c0851 Add LPC43 USB0 and timer header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4895 42af7a65-404d-4744-a932-0658087f49c3
2012-07-01 19:39:30 +00:00
patacongo
5412cfc240 Add LPC43 ADC, DAC, RTC, SPI, I2S, I2C, and QEI header files from LPC17
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4894 42af7a65-404d-4744-a932-0658087f49c3
2012-07-01 16:47:50 +00:00
patacongo
f75f894fae Add LPC43 UART, USART, SSP, and SPI header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4893 42af7a65-404d-4744-a932-0658087f49c3
2012-07-01 14:51:06 +00:00
patacongo
f564902ecc Add LPC43 RIT, WWDT, and MCPWM header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4892 42af7a65-404d-4744-a932-0658087f49c3
2012-07-01 00:13:51 +00:00
patacongo
7ff5f93446 Add LPC43xx GPDMA header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4891 42af7a65-404d-4744-a932-0658087f49c3
2012-06-30 22:44:27 +00:00
patacongo
fbe1a24701 Add LPC43xx SGPIO header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4890 42af7a65-404d-4744-a932-0658087f49c3
2012-06-30 20:40:03 +00:00
patacongo
990ac2c603 Add LPC43xx pin configuration header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4889 42af7a65-404d-4744-a932-0658087f49c3
2012-06-30 16:29:49 +00:00
patacongo
5812e6eeb4 PM Update; add configs//ekk-lm3s9b96
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4888 42af7a65-404d-4744-a932-0658087f49c3
2012-06-30 00:53:54 +00:00
patacongo
6802d479d7 Add LPC43xx GIMA and GPIO header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4887 42af7a65-404d-4744-a932-0658087f49c3
2012-06-29 23:30:22 +00:00
patacongo
afb8c91dca Add LPC43xx pin configuration header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4885 42af7a65-404d-4744-a932-0658087f49c3
2012-06-29 18:20:39 +00:00
patacongo
65bd132eb0 Add LPC43xx RGU header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4884 42af7a65-404d-4744-a932-0658087f49c3
2012-06-29 01:14:21 +00:00
patacongo
edb385708d Add LPC43xx CGU and CCU header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4883 42af7a65-404d-4744-a932-0658087f49c3
2012-06-28 22:21:44 +00:00
patacongo
c09ef76257 Add LPC43xx CREG and PMC header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4882 42af7a65-404d-4744-a932-0658087f49c3
2012-06-28 17:51:23 +00:00
patacongo
1902313e5c Adding LPC43xx header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4881 42af7a65-404d-4744-a932-0658087f49c3
2012-06-28 15:53:52 +00:00
patacongo
d08d2a8e9b ST3210E-EVAL: Add power management configuration; move all linker scripts to common files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4879 42af7a65-404d-4744-a932-0658087f49c3
2012-06-28 00:48:00 +00:00
patacongo
505625b150 Add LPC32xx memory map and interrupt numbers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4877 42af7a65-404d-4744-a932-0658087f49c3
2012-06-27 21:35:36 +00:00
patacongo
ee2c9cef88 Beginning of NXP LPC4330 port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4876 42af7a65-404d-4744-a932-0658087f49c3
2012-06-27 19:17:30 +00:00
patacongo
0be5c5893b Simplify STM32 PM infrastructure
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4870 42af7a65-404d-4744-a932-0658087f49c3
2012-06-26 12:39:23 +00:00
patacongo
0c7871edd1 Fix a critical PIC32 GPIO configuration bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4867 42af7a65-404d-4744-a932-0658087f49c3
2012-06-25 15:24:52 +00:00
patacongo
e5716d687e Enable LEDs on Mirtoo board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4863 42af7a65-404d-4744-a932-0658087f49c3
2012-06-22 18:35:25 +00:00
patacongo
38c6090832 Mirtoo update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4860 42af7a65-404d-4744-a932-0658087f49c3
2012-06-21 20:44:55 +00:00
patacongo
7bdeed5352 Minor updates to PIC32 configuration and to documentation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4858 42af7a65-404d-4744-a932-0658087f49c3
2012-06-21 00:05:20 +00:00
patacongo
8a98f7c42b More updates for PIC32 MX1/2 device configuration bits
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4857 42af7a65-404d-4744-a932-0658087f49c3
2012-06-20 22:29:32 +00:00
patacongo
455757f7a4 Updates to support the Mirtoo internal clocking
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4855 42af7a65-404d-4744-a932-0658087f49c3
2012-06-20 19:29:20 +00:00
patacongo
54990731ae PIC32MX1/2 pin selection logic; Mirtoo LEDs, SPI2, and UART2 configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4853 42af7a65-404d-4744-a932-0658087f49c3
2012-06-20 17:37:20 +00:00
patacongo
586d40dd2e Add a configuration to support the Mirtoo module
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4852 42af7a65-404d-4744-a932-0658087f49c3
2012-06-20 00:04:56 +00:00
patacongo
f2b2eacb64 Add support for PIC32 MX1 and MX2 families
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4851 42af7a65-404d-4744-a932-0658087f49c3
2012-06-19 19:09:14 +00:00
patacongo
5396b0f6bc STM32 power management update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4848 42af7a65-404d-4744-a932-0658087f49c3
2012-06-18 14:45:34 +00:00
patacongo
cb4999caa8 Fix a bad interrupt state in the PIC32 IDLE loop when the work queue is enabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4805 42af7a65-404d-4744-a932-0658087f49c3
2012-06-06 01:44:57 +00:00
patacongo
1a2fce33e3 Add an ADC-based touchscreen driver for the PIC32MX7 MMB board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4804 42af7a65-404d-4744-a932-0658087f49c3
2012-06-05 19:45:01 +00:00
patacongo
0b43f10d73 The PIC32MX7 MMB's mio832qt2 LCD is functional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4803 42af7a65-404d-4744-a932-0658087f49c3
2012-06-04 20:36:18 +00:00
patacongo
1db2607409 Add support for the MIO283QT2 LCD
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4802 42af7a65-404d-4744-a932-0658087f49c3
2012-06-04 18:45:48 +00:00
patacongo
7b5b9fe825 SD card now works on the PIC32MX7 MMB board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4799 42af7a65-404d-4744-a932-0658087f49c3
2012-06-03 16:09:59 +00:00
patacongo
9fb5af00c7 Add SD card support to the PIC32MX7 MMB board; Add regiser level debug instrumentatin for the PIC32 SPI driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4797 42af7a65-404d-4744-a932-0658087f49c3
2012-06-02 17:57:39 +00:00
patacongo
56dc80a2c9 Fix PHY address search; NFS update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4796 42af7a65-404d-4744-a932-0658087f49c3
2012-06-01 23:12:17 +00:00
patacongo
ec9c610a2a Fix device configuration... now Mikroelektronika PIC32MX7 MMB board works.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4794 42af7a65-404d-4744-a932-0658087f49c3
2012-06-01 19:07:17 +00:00
patacongo
dfabfae2b0 Fix last check-in.. duplicate definitions for ARMvm-7 ICTR register
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4793 42af7a65-404d-4744-a932-0658087f49c3
2012-06-01 14:14:00 +00:00
patacongo
8807fea8b0 Interrupt priority fix + new LM3S header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4792 42af7a65-404d-4744-a932-0658087f49c3
2012-06-01 13:22:27 +00:00
patacongo
bea43b32c0 Fix return values from sleep(), usleep(), and sigtimedwait(). Fix STM32 F2 I2C bug-for-bug compatibility
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4786 42af7a65-404d-4744-a932-0658087f49c3
2012-05-30 15:36:46 +00:00
patacongo
51f8a38366 Need to enable USB reset interrupt
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4784 42af7a65-404d-4744-a932-0658087f49c3
2012-05-29 22:20:52 +00:00
patacongo
804446a4d2 More STM3220G-EVAL fixes; Add NxWM configuration for the STM3220G-EVAL
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4780 42af7a65-404d-4744-a932-0658087f49c3
2012-05-28 22:17:36 +00:00
patacongo
02ba647d21 Bring STM3220G-EVAL board configurations to same level as STM3240G-EVAL
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4779 42af7a65-404d-4744-a932-0658087f49c3
2012-05-28 19:48:26 +00:00
patacongo
602cdebea9 Update all STM32 F2 files so that they are the same as the corresponding F4 files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4778 42af7a65-404d-4744-a932-0658087f49c3
2012-05-28 18:10:41 +00:00
patacongo
a1edf7977d STM32 OTF FS device. USB console now works for me. Some of these changes are hacks that need to be revisited.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4777 42af7a65-404d-4744-a932-0658087f49c3
2012-05-28 17:06:19 +00:00
patacongo
17d79eda1a STM32 OTG FS device: Don't process TXFE^Cf we have already processed an XFRC interrupt.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4775 42af7a65-404d-4744-a932-0658087f49c3
2012-05-27 15:15:57 +00:00
patacongo
2b78ad2019 Now have to press enter 3 times to start with USB NSH console
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4772 42af7a65-404d-4744-a932-0658087f49c3
2012-05-26 01:45:37 +00:00
patacongo
a4a8a8adfa Fix conditional compilation in STM32 quadrature encoder
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4770 42af7a65-404d-4744-a932-0658087f49c3
2012-05-25 13:27:21 +00:00
patacongo
7b3d644c0a Fix NxWM bug: old window being minimized when new window open
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4757 42af7a65-404d-4744-a932-0658087f49c3
2012-05-21 13:34:09 +00:00
patacongo
0a5b65743c Calypso update from Denis Carkiki. Adds UWire driver and support for external memory in NuttX heap
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4733 42af7a65-404d-4744-a932-0658087f49c3
2012-05-14 00:22:31 +00:00
patacongo
4da2091db0 Add Calypso-related fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4730 42af7a65-404d-4744-a932-0658087f49c3
2012-05-13 15:14:53 +00:00
patacongo
834af0f5fb NxWM: Finishes touchscreen implementation; NuttX: Standardize touchscreen initialization interfaces for all boards
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4721 42af7a65-404d-4744-a932-0658087f49c3
2012-05-11 00:05:25 +00:00
patacongo
2b061ed964 More NxWM touchscreen fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4719 42af7a65-404d-4744-a932-0658087f49c3
2012-05-10 01:35:23 +00:00
patacongo
f9b6a00f49 The STMPE11/touchscreen is now fully functional on the STM3240G-EVAL
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4715 42af7a65-404d-4744-a932-0658087f49c3
2012-05-08 22:10:29 +00:00
patacongo
a65d283e96 Fix some warnings and fix some simulator builds
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4688 42af7a65-404d-4744-a932-0658087f49c3
2012-05-02 15:36:19 +00:00
patacongo
1c50ee5365 Missed Calypso file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4685 42af7a65-404d-4744-a932-0658087f49c3
2012-05-01 23:31:47 +00:00
patacongo
d5bab26780 Calypso update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4684 42af7a65-404d-4744-a932-0658087f49c3
2012-05-01 23:03:37 +00:00
patacongo
3836f74404 Fix STM32 USART4/5 vs UART4/5 confusion
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4671 42af7a65-404d-4744-a932-0658087f49c3
2012-04-29 14:34:56 +00:00
patacongo
a1fc590b94 Add NxConsole configuration for the STM3240G-EVAL board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4664 42af7a65-404d-4744-a932-0658087f49c3
2012-04-27 16:20:32 +00:00
patacongo
d96b4c1a10 Fix infinite loop in CDC/ACM driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4655 42af7a65-404d-4744-a932-0658087f49c3
2012-04-25 16:47:28 +00:00
patacongo
11d16b5830 Kconfig updated + NFS update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4646 42af7a65-404d-4744-a932-0658087f49c3
2012-04-23 19:55:32 +00:00
patacongo
5e1e0b61fb Fix atexit() function being called twice
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4644 42af7a65-404d-4744-a932-0658087f49c3
2012-04-23 13:59:31 +00:00
patacongo
373a58fc0f Fix a UART4/5 naming problem introduced in the last check-in
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4641 42af7a65-404d-4744-a932-0658087f49c3
2012-04-22 21:30:52 +00:00
patacongo
20f454adaf Add circular DMA support to STM32 and STM32 serial driver; Add initial configuration for the Mikroelektronika PIC32MX7 MMB board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4640 42af7a65-404d-4744-a932-0658087f49c3
2012-04-22 19:50:33 +00:00
patacongo
75020c30ac More Kconfig stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4636 42af7a65-404d-4744-a932-0658087f49c3
2012-04-19 22:51:42 +00:00
patacongo
8a9c292626 Some STM32 bugfixes from Mike Smith
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4635 42af7a65-404d-4744-a932-0658087f49c3
2012-04-19 17:52:14 +00:00
patacongo
1a50ac3d79 More Kconfig stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4633 42af7a65-404d-4744-a932-0658087f49c3
2012-04-18 22:29:50 +00:00
patacongo
be3ebf6201 More Kconfig files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4632 42af7a65-404d-4744-a932-0658087f49c3
2012-04-18 19:17:30 +00:00
patacongo
81345ab465 More Kconfig stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4628 42af7a65-404d-4744-a932-0658087f49c3
2012-04-17 22:54:31 +00:00
patacongo
f026673910 more Kconfig stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4626 42af7a65-404d-4744-a932-0658087f49c3
2012-04-17 21:53:05 +00:00
patacongo
9c611912d8 More Kconfig
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4625 42af7a65-404d-4744-a932-0658087f49c3
2012-04-17 21:23:10 +00:00
patacongo
6159a159f4 More Kconfig files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4624 42af7a65-404d-4744-a932-0658087f49c3
2012-04-17 13:48:39 +00:00
patacongo
c3bf18ef6e More Kconfig stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4623 42af7a65-404d-4744-a932-0658087f49c3
2012-04-17 00:24:19 +00:00
patacongo
04c5df6194 Fix a couple of bugs in the STM32 IWDG driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4620 42af7a65-404d-4744-a932-0658087f49c3
2012-04-16 22:15:33 +00:00
patacongo
ef3375e91d STM32 IWDG watchdog works
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4619 42af7a65-404d-4744-a932-0658087f49c3
2012-04-16 21:13:54 +00:00
patacongo
48a8729cd2 STM32 WWDG watchdog driver works
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4618 42af7a65-404d-4744-a932-0658087f49c3
2012-04-16 18:46:07 +00:00
patacongo
abca2fa311 Kconfig update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4616 42af7a65-404d-4744-a932-0658087f49c3
2012-04-16 15:45:33 +00:00
patacongo
640a0718e2 More Kconfig
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4615 42af7a65-404d-4744-a932-0658087f49c3
2012-04-16 00:09:13 +00:00
patacongo
59ffae3d34 Finish STM32 IWDG and WWDG watchdog timer drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4613 42af7a65-404d-4744-a932-0658087f49c3
2012-04-15 19:46:08 +00:00
patacongo
c35c09c350 Implement STM32 IWDG driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4612 42af7a65-404d-4744-a932-0658087f49c3
2012-04-15 16:42:09 +00:00
patacongo
01b79b7d72 Add skeleton file for STM32 watchdog timer driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4611 42af7a65-404d-4744-a932-0658087f49c3
2012-04-15 01:11:54 +00:00
patacongo
369abdbf68 Fix STM32 OTG FS device driver FIFO setup
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4602 42af7a65-404d-4744-a932-0658087f49c3
2012-04-13 18:36:13 +00:00
patacongo
1dc41e329b Kconfig update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4599 42af7a65-404d-4744-a932-0658087f49c3
2012-04-13 14:27:44 +00:00
patacongo
e45c3b97b3 Kconfig update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4597 42af7a65-404d-4744-a932-0658087f49c3
2012-04-12 21:52:04 +00:00
patacongo
fe8294a3f6 Add logic to hold off processing OUT SETUP request until OUT data phase completes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4596 42af7a65-404d-4744-a932-0658087f49c3
2012-04-12 18:36:24 +00:00
patacongo
a571bad413 Extend the USB device/class interface: Add parameters to pass the EP0 OUT data that should accompany the OUT SETUP request
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4595 42af7a65-404d-4744-a932-0658087f49c3
2012-04-12 16:30:48 +00:00
patacongo
333bd7254a Working for missing logic to get EP0 OUT DATA
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4594 42af7a65-404d-4744-a932-0658087f49c3
2012-04-12 14:47:29 +00:00
patacongo
940bdc50fb Add tools/cmpconfig.c to compare to configuration files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4592 42af7a65-404d-4744-a932-0658087f49c3
2012-04-11 23:06:30 +00:00
patacongo
f873ab55b6 Correction to the ZLP fix for the STM32 F4 OTG FS driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4591 42af7a65-404d-4744-a932-0658087f49c3
2012-04-11 18:12:03 +00:00
patacongo
35a50c6eb2 Misc STM32 OTF FS driver fixes + More Kconfig files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4590 42af7a65-404d-4744-a932-0658087f49c3
2012-04-11 17:13:04 +00:00
patacongo
826fbf66c8 More configuration files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4588 42af7a65-404d-4744-a932-0658087f49c3
2012-04-11 02:04:59 +00:00
patacongo
09eb157d83 more updates for the STM32 OTG FS device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4585 42af7a65-404d-4744-a932-0658087f49c3
2012-04-10 22:36:45 +00:00
patacongo
a94b51d07e Updated STM32 OTG FS device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4584 42af7a65-404d-4744-a932-0658087f49c3
2012-04-10 21:45:29 +00:00
patacongo
ec2349ccf4 Fixes for the STM32 OTG FS device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4583 42af7a65-404d-4744-a932-0658087f49c3
2012-04-10 18:27:13 +00:00
patacongo
cc3df80c1f A few early STM32 OTF FS fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4581 42af7a65-404d-4744-a932-0658087f49c3
2012-04-09 22:31:20 +00:00
patacongo
5be2c492fc Modify configuration for use with STM32 OTG FS driver testing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4580 42af7a65-404d-4744-a932-0658087f49c3
2012-04-09 21:08:37 +00:00
patacongo
8e47b15a30 The STM32 OTG FS driver is code complete
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4577 42af7a65-404d-4744-a932-0658087f49c3
2012-04-09 16:28:15 +00:00
patacongo
19832e091a Updated STM32 OTG FS device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4576 42af7a65-404d-4744-a932-0658087f49c3
2012-04-08 22:43:22 +00:00
patacongo
79fa46b985 Updated STM32 OTG FS device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4575 42af7a65-404d-4744-a932-0658087f49c3
2012-04-08 19:34:10 +00:00
patacongo
a4ce298601 Finish analysis of OUT data path in STM32 OTG FS device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4574 42af7a65-404d-4744-a932-0658087f49c3
2012-04-08 17:05:12 +00:00
patacongo
6945aafc4e Include libgcc.a inside of the group of recursively linked libraries in all Makefiles
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4573 42af7a65-404d-4744-a932-0658087f49c3
2012-04-08 13:03:26 +00:00
patacongo
f72e9fa16a Fix much replicated typo. STM32 F4 SRAM is CCM, not TCM
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4571 42af7a65-404d-4744-a932-0658087f49c3
2012-04-07 20:54:45 +00:00
patacongo
f9544339a9 Add partial TxFIFO logic to STM32 OTG FS device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4570 42af7a65-404d-4744-a932-0658087f49c3
2012-04-07 19:38:13 +00:00
patacongo
1ad8ade695 Updated Kconfig files from Lzyy
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4569 42af7a65-404d-4744-a932-0658087f49c3
2012-04-07 14:50:57 +00:00
patacongo
51b62505e6 Move include/math.h to include/nuttx/math.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4568 42af7a65-404d-4744-a932-0658087f49c3
2012-04-07 14:08:37 +00:00
patacongo
330b89ca0e Add kconfig documentation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4567 42af7a65-404d-4744-a932-0658087f49c3
2012-04-06 16:45:52 +00:00
patacongo
4b8c0c41c8 Adding skeleton Kconfig files (part 1 of 2)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4564 42af7a65-404d-4744-a932-0658087f49c3
2012-04-06 15:49:35 +00:00
patacongo
371ae6f98c Add RX interrupt logic to the STM32 OTG FS device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4563 42af7a65-404d-4744-a932-0658087f49c3
2012-04-06 15:33:54 +00:00
patacongo
a374630bf3 Fix compilation errors with floating point is enabled and field widths are disabled (I don't know why you would do that, but the code was wrong)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4562 42af7a65-404d-4744-a932-0658087f49c3
2012-04-05 23:21:13 +00:00
patacongo
b0a280e6e0 Add patch to build kconfig-frontends under Cygwin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4561 42af7a65-404d-4744-a932-0658087f49c3
2012-04-05 21:34:24 +00:00
patacongo
6871cc66ad Beginning of a NuttX configuration tool
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4560 42af7a65-404d-4744-a932-0658087f49c3
2012-04-05 17:44:04 +00:00
patacongo
2185ce29a5 Completes most of the STM32 OTG FS device interrupts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4559 42af7a65-404d-4744-a932-0658087f49c3
2012-04-05 16:25:26 +00:00
patacongo
b8f24208a6 More progress on the STM32 OTG FS device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4558 42af7a65-404d-4744-a932-0658087f49c3
2012-04-05 14:12:41 +00:00
patacongo
bdf6434f72 STM32 OTG FS device driver update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4557 42af7a65-404d-4744-a932-0658087f49c3
2012-04-04 23:53:19 +00:00
patacongo
1f6d3d6c26 Add STM32 OTG FS device endpoint stall logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4556 42af7a65-404d-4744-a932-0658087f49c3
2012-04-04 18:01:00 +00:00
patacongo
7f31ea84b7 More work on STM32 OTG FS device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4555 42af7a65-404d-4744-a932-0658087f49c3
2012-04-04 15:22:35 +00:00
patacongo
4d94d1ed75 Updates to STM32 OTG FS device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4553 42af7a65-404d-4744-a932-0658087f49c3
2012-04-04 00:41:28 +00:00
patacongo
62b3369fb4 Beginning of an OTG FS device side driver (not much there on initial check-in)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4552 42af7a65-404d-4744-a932-0658087f49c3
2012-04-03 17:31:55 +00:00
patacongo
19dd0102d0 Beginnings of STM32 F4 OTG FS device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4551 42af7a65-404d-4744-a932-0658087f49c3
2012-04-02 22:20:39 +00:00
patacongo
1c1dee962d A couple of fixes to common and STM32 serial handling to fix some data overrun conditions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4550 42af7a65-404d-4744-a932-0658087f49c3
2012-04-02 01:02:41 +00:00
patacongo
25bcf5aee8 Fix types in STM32 PWM driver comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4540 42af7a65-404d-4744-a932-0658087f49c3
2012-03-29 23:14:29 +00:00
patacongo
e13b101db6 Candidate fix for STM32 F4 I2C
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4537 42af7a65-404d-4744-a932-0658087f49c3
2012-03-28 21:56:43 +00:00
patacongo
1b0c1f4da5 Updaes for NX Console
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4531 42af7a65-404d-4744-a932-0658087f49c3
2012-03-27 22:33:15 +00:00
patacongo
92fc2e1df9 Fix handling if STM32 I2C byte count
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4530 42af7a65-404d-4744-a932-0658087f49c3
2012-03-27 20:44:00 +00:00
patacongo
1fbe5f3ecf Use const storage class on a few declarations to save SRAM
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4523 42af7a65-404d-4744-a932-0658087f49c3
2012-03-25 21:05:02 +00:00
patacongo
a6b222bc85 LPC17xx DAC fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4521 42af7a65-404d-4744-a932-0658087f49c3
2012-03-25 16:22:07 +00:00
patacongo
ee7d6789b7 Add support for the poweroff on calypso phones
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4520 42af7a65-404d-4744-a932-0658087f49c3
2012-03-25 14:51:25 +00:00
patacongo
2c8925e08b Update documenation to include Calypso and the Compal phones
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4513 42af7a65-404d-4744-a932-0658087f49c3
2012-03-24 17:52:10 +00:00
patacongo
b5a58076fe Add support for compal e99 and e88 phones
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4512 42af7a65-404d-4744-a932-0658087f49c3
2012-03-24 17:27:38 +00:00
patacongo
d7d60dba35 Change STM32 so that stm32_pmstop.c and stm32_pmstandby are built even if CONFIG_PM is not defined
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4502 42af7a65-404d-4744-a932-0658087f49c3
2012-03-22 14:07:45 +00:00
patacongo
34b7ebdf68 Move serial header files to include/nuttx/serial
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4500 42af7a65-404d-4744-a932-0658087f49c3
2012-03-21 19:47:23 +00:00
patacongo
2fe4ad52f8 Move file-system header files to include/nuttx/fs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4499 42af7a65-404d-4744-a932-0658087f49c3
2012-03-21 18:01:07 +00:00
patacongo
9269560d36 Cosmetic PIC32 USB driver fixes (still has problems)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4498 42af7a65-404d-4744-a932-0658087f49c3
2012-03-20 15:28:06 +00:00
patacongo
9294b7d6fd Minor updates for PIC32 USB device driver bugs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4497 42af7a65-404d-4744-a932-0658087f49c3
2012-03-19 17:56:15 +00:00
patacongo
9d08dd4005 The PIC32 USB driver (finally) works the the Mass Storage Class
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4496 42af7a65-404d-4744-a932-0658087f49c3
2012-03-18 20:39:18 +00:00
patacongo
953a846512 Fix reported USB MSC product/revision
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4495 42af7a65-404d-4744-a932-0658087f49c3
2012-03-17 17:15:59 +00:00
patacongo
fca16fa374 Updates to the PIC32 USB driver (still kind of buggy); Fix for STM32 CAN2 -- Need to enable CAN1 clocking to use CAN2
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4493 42af7a65-404d-4744-a932-0658087f49c3
2012-03-16 20:59:21 +00:00
patacongo
22ee4c6dac Fix PIC32 USB double buffer toggle
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4492 42af7a65-404d-4744-a932-0658087f49c3
2012-03-15 22:56:46 +00:00
patacongo
30d65514a9 Updates to PIC32 USB stall logic -- still doesn't work right
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4491 42af7a65-404d-4744-a932-0658087f49c3
2012-03-15 20:53:42 +00:00
patacongo
1a8fb75e42 Add hooks to support STM32 power management
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4490 42af7a65-404d-4744-a932-0658087f49c3
2012-03-14 19:37:28 +00:00
patacongo
1335b8f3d3 Add a PIC32 configuration that supports only a Telnet console
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4486 42af7a65-404d-4744-a932-0658087f49c3
2012-03-13 19:21:04 +00:00
patacongo
2260c596ae PIC32 Ethernet driver now appears stable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4485 42af7a65-404d-4744-a932-0658087f49c3
2012-03-13 18:05:49 +00:00
patacongo
a464fb1a5a Correct PIC32 Ethernet Tx ring handling
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4484 42af7a65-404d-4744-a932-0658087f49c3
2012-03-13 16:15:24 +00:00
patacongo
80d5c4102b Completes bit definitions for STM32 USB OTG FS registers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4481 42af7a65-404d-4744-a932-0658087f49c3
2012-03-13 00:45:34 +00:00
patacongo
d94245970e Add bit definitions for STM32 USB OTG FS Host-mode control and status registers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4480 42af7a65-404d-4744-a932-0658087f49c3
2012-03-12 23:07:41 +00:00
patacongo
d9b511214f Add bit definitions for STM32 USB OTG FS Core global control and status registers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4479 42af7a65-404d-4744-a932-0658087f49c3
2012-03-12 22:06:31 +00:00
patacongo
b6550428ef More STM32 USB OTG definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4478 42af7a65-404d-4744-a932-0658087f49c3
2012-03-12 20:08:55 +00:00
patacongo
865a33b205 Dirty port of LPC17 USB host driver to the STM32 -- nothing more than a name change on initial check-in
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4477 42af7a65-404d-4744-a932-0658087f49c3
2012-03-12 16:03:10 +00:00
patacongo
29fd9d92a7 Fix a typo introduce in the last big bunch of checkins for the STM32 F2
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4473 42af7a65-404d-4744-a932-0658087f49c3
2012-03-10 00:35:44 +00:00
patacongo
9a566fd981 Add support for the STM3220G-EVAL board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4472 42af7a65-404d-4744-a932-0658087f49c3
2012-03-10 00:15:45 +00:00
patacongo
64de9684db Add peripheral support for the STM32 F2 family
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4471 42af7a65-404d-4744-a932-0658087f49c3
2012-03-10 00:02:11 +00:00
patacongo
7c6dc1bc69 Add IRQ/chip support for the STM32 F2 family
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4470 42af7a65-404d-4744-a932-0658087f49c3
2012-03-09 22:33:00 +00:00
patacongo
dccd03f6fb Update PIC32 Ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4469 42af7a65-404d-4744-a932-0658087f49c3
2012-03-09 22:05:14 +00:00
patacongo
693538e0d7 Fix several bugs related to PIC32 Ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4468 42af7a65-404d-4744-a932-0658087f49c3
2012-03-09 17:47:25 +00:00
patacongo
4e6130ed56 PIC32 Ethernet driver now at least talks to the PHY
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4467 42af7a65-404d-4744-a932-0658087f49c3
2012-03-09 14:47:27 +00:00
patacongo
4efbccf97f Update PIC32 Ethernet driver from debugging (still does not work
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4465 42af7a65-404d-4744-a932-0658087f49c3
2012-03-08 23:05:03 +00:00
patacongo
e2751251b5 Verified USB (device) on the PIC32 Ethernet Starter Kit
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4464 42af7a65-404d-4744-a932-0658087f49c3
2012-03-08 14:31:49 +00:00
patacongo
ad6b6d9fb5 Updates to PIC32 SPI driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4461 42af7a65-404d-4744-a932-0658087f49c3
2012-03-07 17:40:23 +00:00
patacongo
b0984fe674 Add PIC32 SPI driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4459 42af7a65-404d-4744-a932-0658087f49c3
2012-03-07 00:53:50 +00:00
patacongo
ca3ba34235 Add support for use of a USB serial device to provide NSH console I/O. Verified on the Sure PIPIC32MX board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4458 42af7a65-404d-4744-a932-0658087f49c3
2012-03-06 20:21:57 +00:00
patacongo
f769367ac6 The PIC32 USB device driver is (finally) functional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4457 42af7a65-404d-4744-a932-0658087f49c3
2012-03-06 15:51:03 +00:00
patacongo
a828a038fe Minor update to PIC32 USB device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4455 42af7a65-404d-4744-a932-0658087f49c3
2012-03-05 23:04:18 +00:00
patacongo
f55923d1c0 Some improvements in PIC32 USB BDT handling
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4454 42af7a65-404d-4744-a932-0658087f49c3
2012-03-05 21:02:07 +00:00
patacongo
9c1f5ce657 Fix some PIC32 USB IN transfer issues -- still more
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4453 42af7a65-404d-4744-a932-0658087f49c3
2012-03-04 22:31:18 +00:00
patacongo
d1c6ef19cc Some fixes for the PIC32 USB IN processing -- still some issues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4452 42af7a65-404d-4744-a932-0658087f49c3
2012-03-04 19:31:10 +00:00
patacongo
02b5aec878 Several fixes to the PIC32 USB device OUT path logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4451 42af7a65-404d-4744-a932-0658087f49c3
2012-03-04 17:38:00 +00:00
patacongo
7f005e2d3c Move all non-standard, NuttX header files into include/nuttx/net
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4450 42af7a65-404d-4744-a932-0658087f49c3
2012-03-03 23:18:34 +00:00
patacongo
f811b4e17f After a reset, need to re-connected to the bus
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4449 42af7a65-404d-4744-a932-0658087f49c3
2012-03-03 18:59:32 +00:00
patacongo
8ae5fade81 A few more PIC32 USB fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4448 42af7a65-404d-4744-a932-0658087f49c3
2012-03-03 17:27:49 +00:00
patacongo
696285d84d Add more low-level, thread-independent socket interfaces
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4445 42af7a65-404d-4744-a932-0658087f49c3
2012-03-02 19:57:52 +00:00
patacongo
e39ef0a587 PIC32 USB driver updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4444 42af7a65-404d-4744-a932-0658087f49c3
2012-03-02 17:23:02 +00:00
patacongo
e23d7b69df Fix PIC32 USB cloning errors -- There is not pbuffer toggle bit in the BDT status
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4442 42af7a65-404d-4744-a932-0658087f49c3
2012-03-02 00:16:12 +00:00
patacongo
39106cde3a PIC32 USB device only supports full ping poing mode
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4441 42af7a65-404d-4744-a932-0658087f49c3
2012-02-29 23:19:20 +00:00
patacongo
4b7eb79075 A little more work (but not much progress) on the PIC32 USB device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4440 42af7a65-404d-4744-a932-0658087f49c3
2012-02-29 21:53:28 +00:00
patacongo
ff6f30399f STM32 Quad Encoder bug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4437 42af7a65-404d-4744-a932-0658087f49c3
2012-02-28 18:39:37 +00:00
patacongo
391d33732c Extend CDC/ACM driver so that can be connected/disconnected under software control; Add new NSH commands sercon and serdis that will connect and disconnect the CDC/ACM serial device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4436 42af7a65-404d-4744-a932-0658087f49c3
2012-02-28 18:14:55 +00:00
patacongo
04c2a4e672 Overflow position offset not needed if we have only 32-bit counters
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4435 42af7a65-404d-4744-a932-0658087f49c3
2012-02-28 01:58:23 +00:00
patacongo
8f8381f207 Add support for mixed 16- and 32-bit timers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4434 42af7a65-404d-4744-a932-0658087f49c3
2012-02-28 00:33:30 +00:00
patacongo
df0986aa29 Add logic to support the FSMC SRAM in the NuttX heap
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4433 42af7a65-404d-4744-a932-0658087f49c3
2012-02-27 23:14:43 +00:00
patacongo
147d02cc24 Add support for the Atollic Pro toolchain; Change extension .ihx to .hex to be better compatible with most of the rest of the world
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4431 42af7a65-404d-4744-a932-0658087f49c3
2012-02-27 19:50:35 +00:00
patacongo
324fb2460f Add support for SRAM on board the STM3240G-EVAL board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4430 42af7a65-404d-4744-a932-0658087f49c3
2012-02-27 17:22:10 +00:00
patacongo
8fb3d8b386 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
9c3cac8e3f Misc quad encoder updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4426 42af7a65-404d-4744-a932-0658087f49c3
2012-02-25 18:01:44 +00:00
patacongo
0ea1fa366c Ooops part of last checkin was still in the editor
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4425 42af7a65-404d-4744-a932-0658087f49c3
2012-02-25 00:58:07 +00:00
patacongo
f67d1e4e35 STM32 quad encoder: Don't calculate the timer prescaler value at runtime; pre-calculate it at compiler time
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4424 42af7a65-404d-4744-a932-0658087f49c3
2012-02-25 00:53:24 +00:00
patacongo
3dd738c3ba Fixes for the STM32 quadrature encoder
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4422 42af7a65-404d-4744-a932-0658087f49c3
2012-02-25 00:19:13 +00:00
patacongo
9b8a46415d 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
e2d49f44b9 OOps... vstm instructions needs to post-increment, not pre-decrement
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4419 42af7a65-404d-4744-a932-0658087f49c3
2012-02-23 22:44:38 +00:00
patacongo
48dd023624 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
d14fbab225 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
1e145dddae Incoporate (more) new ARMv7-M exception handling logic contributed by Mike Smith
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4414 42af7a65-404d-4744-a932-0658087f49c3
2012-02-22 18:44:34 +00:00
patacongo
cb32f5c1a4 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
b7fcd27d48 Misc fixes to quadrature encoder debug output
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4411 42af7a65-404d-4744-a932-0658087f49c3
2012-02-21 23:23:18 +00:00
patacongo
9ee1f7838e 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
b9cb4b0df3 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
9eda27ba2a Add logic to STM32 SDIO driver to terminate on a DMA error
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4408 42af7a65-404d-4744-a932-0658087f49c3
2012-02-21 15:17:42 +00:00
patacongo
2037e1096c More STM32 SDIO DMA fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4407 42af7a65-404d-4744-a932-0658087f49c3
2012-02-21 00:21:26 +00:00
patacongo
778b33da73 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
011ea95fb0 Fix error in STM32 DMA driver stream index calculation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4405 42af7a65-404d-4744-a932-0658087f49c3
2012-02-19 18:04:25 +00:00
patacongo
2c9facdd64 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
6a2c6e13d6 Correct a buffer size error in the STM32 ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4403 42af7a65-404d-4744-a932-0658087f49c3
2012-02-18 22:09:09 +00:00
patacongo
c3562b2d13 Clear up some configuration naming that was inconsistent accross STM32 chips
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4401 42af7a65-404d-4744-a932-0658087f49c3
2012-02-18 14:22:00 +00:00
patacongo
4e82d14da1 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
890b0f59ac Add QE support to STM32F4Discovery; add a test of the quadrature encoder driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4395 42af7a65-404d-4744-a932-0658087f49c3
2012-02-15 17:51:30 +00:00
patacongo
b9a0819dd8 I suppose the STM32 F4 is like the F1 in that TIM inputs should not use alternate functions????
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4394 42af7a65-404d-4744-a932-0658087f49c3
2012-02-15 00:33:51 +00:00
patacongo
0e5636cad7 Fix TIM in/out pin naming
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4393 42af7a65-404d-4744-a932-0658087f49c3
2012-02-15 00:08:39 +00:00
patacongo
b1e175e7a4 Initial fleshing out of the STM32 quadrature encoder driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4392 42af7a65-404d-4744-a932-0658087f49c3
2012-02-14 22:18:53 +00:00
patacongo
07f51374ae More STM32 quadrature encoder code
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4391 42af7a65-404d-4744-a932-0658087f49c3
2012-02-14 17:48:25 +00:00
patacongo
ae57408734 Add an infrastructure to support a generic quadrature encoder driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4390 42af7a65-404d-4744-a932-0658087f49c3
2012-02-14 15:32:57 +00:00
patacongo
f13f49939e 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
bb9efbfe7e 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
72272887a4 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
7b343bf7fe Add logic to re-direct debug output to a sysloggin device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4381 42af7a65-404d-4744-a932-0658087f49c3
2012-02-11 14:20:40 +00:00
patacongo
e69cbad010 Add logic so that a RAM log can be used in place of a console device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4380 42af7a65-404d-4744-a932-0658087f49c3
2012-02-11 03:50:52 +00:00
patacongo
77f59bb063 Remove a couple of warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4377 42af7a65-404d-4744-a932-0658087f49c3
2012-02-08 17:17:18 +00:00
patacongo
d0c4aadd23 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
c074da3270 Fix compile error introduced by recent check-in
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4369 42af7a65-404d-4744-a932-0658087f49c3
2012-02-04 22:01:50 +00:00
patacongo
8eb5576ec1 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
7b0bcac04d Add David Hewson's corrections to the LPC214x USB device driver; Add LPC214x configuration to test the USB composite device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4359 42af7a65-404d-4744-a932-0658087f49c3
2012-02-02 04:35:35 +00:00
patacongo
e6d521210a 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
e94dcdf625 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
1df88d1b8a 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
e10dc26580 More clean up of namespace
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4338 42af7a65-404d-4744-a932-0658087f49c3
2012-01-26 14:24:15 +00:00
patacongo
621ef6c996 Add support for stm32 F4 I2C3
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4333 42af7a65-404d-4744-a932-0658087f49c3
2012-01-25 19:31:01 +00:00
patacongo
215c3a896a Corrections for LP17xx UARTs and Nucleus 2G
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4331 42af7a65-404d-4744-a932-0658087f49c3
2012-01-25 12:50:42 +00:00
patacongo
c998760feb 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
5fa0189cee Create directory structures to support power-related devices
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4321 42af7a65-404d-4744-a932-0658087f49c3
2012-01-22 16:42:49 +00:00
patacongo
ce5f4e643e 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
157bae703e 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
1800623e98 Fixes to PIC32 USB driver and LPC17xx CAN driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4316 42af7a65-404d-4744-a932-0658087f49c3
2012-01-20 02:40:56 +00:00
patacongo
bc6ca2a294 PIC32 USB: Remove some bad logic in EP0 post-SETUP clean-up
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4315 42af7a65-404d-4744-a932-0658087f49c3
2012-01-19 23:27:44 +00:00
patacongo
c13af9c70f Add logic to handle state and BDTs correctly with USB packet is dispatched by the class driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4314 42af7a65-404d-4744-a932-0658087f49c3
2012-01-19 21:25:21 +00:00
patacongo
3a1523d2d9 Add configuratin to select TSEG1 and TSEG2 values
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4313 42af7a65-404d-4744-a932-0658087f49c3
2012-01-19 17:43:14 +00:00
patacongo
29aa5efa1e Fix shift value in PIC32 USB header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4312 42af7a65-404d-4744-a932-0658087f49c3
2012-01-19 16:20:28 +00:00
patacongo
be7200c77e PIC32 USB, using IN BDTs where OUT BDTs should be used
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4311 42af7a65-404d-4744-a932-0658087f49c3
2012-01-18 23:50:26 +00:00
patacongo
0c13d51661 SYNC_TIME is 3 quanta in LPC17xx CAN bit time calculation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4310 42af7a65-404d-4744-a932-0658087f49c3
2012-01-18 19:08:15 +00:00
patacongo
9d5c26ba5e Fix offset to STM32 F1 AFIO EXTICR register
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4309 42af7a65-404d-4744-a932-0658087f49c3
2012-01-18 17:48:46 +00:00
patacongo
f80346a4fe PIC32 USB driver fixes (still not working)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4308 42af7a65-404d-4744-a932-0658087f49c3
2012-01-17 23:02:40 +00:00
patacongo
7f1ffd3d31 Add support for building 32-bit simulation on a 64-bit target
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4307 42af7a65-404d-4744-a932-0658087f49c3
2012-01-17 17:42:31 +00:00
patacongo
5cf0052be6 Finish coding of PIC32MX Ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4306 42af7a65-404d-4744-a932-0658087f49c3
2012-01-17 14:40:12 +00:00
patacongo
bf2e266fd7 More PIC32 Ethernet stuff (still incomplete)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4305 42af7a65-404d-4744-a932-0658087f49c3
2012-01-17 00:00:25 +00:00
patacongo
16b688cf15 Fixe the STM32 repetition counter. Setting of the repitition count was out of phase by 1
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4304 42af7a65-404d-4744-a932-0658087f49c3
2012-01-16 18:17:58 +00:00
patacongo
9d7986b8b9 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
f158e56fca STM32 fixes for F4 32-bit timers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4300 42af7a65-404d-4744-a932-0658087f49c3
2012-01-13 02:49:10 +00:00
patacongo
397edddc5b Fix the STM32 PWM driver pulse count logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4298 42af7a65-404d-4744-a932-0658087f49c3
2012-01-11 18:44:12 +00:00
patacongo
203b6c58be 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
d49ecb78a0 Fix bug in STM32 CAN: It must be interrupt driven
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4295 42af7a65-404d-4744-a932-0658087f49c3
2012-01-11 14:56:56 +00:00
patacongo
160d21b379 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
3b64b1db01 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
f5efcf0cb4 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
d6979d7594 Fix CAN callback argument
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4289 42af7a65-404d-4744-a932-0658087f49c3
2012-01-10 21:19:12 +00:00
patacongo
6807c1f552 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
ae6d142d97 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
ec10d82210 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
ab8ac3f115 Replace logic STM32 IDLE loop with standard power management interfaces
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4284 42af7a65-404d-4744-a932-0658087f49c3
2012-01-08 21:33:57 +00:00
patacongo
1a2df3e911 More progress on the PIC32MX Ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4283 42af7a65-404d-4744-a932-0658087f49c3
2012-01-08 20:38:28 +00:00
patacongo
7d2c271e93 More progress on the PIC32MX Ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4282 42af7a65-404d-4744-a932-0658087f49c3
2012-01-08 18:41:49 +00:00
patacongo
f7c4635506 Add support for STM32 UART4-5 and USART6
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4281 42af7a65-404d-4744-a932-0658087f49c3
2012-01-08 15:09:05 +00:00
patacongo
9a05ff6ae1 Apply STM32 timer patch from Mike Smith
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4280 42af7a65-404d-4744-a932-0658087f49c3
2012-01-08 00:44:41 +00:00
patacongo
a3864126dc Finishes PIC32 Ethernet header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4279 42af7a65-404d-4744-a932-0658087f49c3
2012-01-08 00:35:42 +00:00
patacongo
3d3161a781 More register definitions for the PIC32 Ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4278 42af7a65-404d-4744-a932-0658087f49c3
2012-01-07 21:46:47 +00:00
patacongo
9cb6a2af2f More PIC32 Ethernet register definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4277 42af7a65-404d-4744-a932-0658087f49c3
2012-01-07 20:26:47 +00:00
patacongo
8f002accfc Add PIC32 Ethernet driver (initial is just crude LPC17xx port)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4276 42af7a65-404d-4744-a932-0658087f49c3
2012-01-07 18:31:43 +00:00
patacongo
4f7c673617 Fix some interrupt decode errors in the PIC32MX USB driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4275 42af7a65-404d-4744-a932-0658087f49c3
2012-01-07 13:35:58 +00:00
patacongo
aa7765b80d Costmet clean, whitespace, carriage-return removal
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4274 42af7a65-404d-4744-a932-0658087f49c3
2012-01-06 23:41:20 +00:00
patacongo
8613302525 PIC32 USB driver fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4273 42af7a65-404d-4744-a932-0658087f49c3
2012-01-06 23:17:03 +00:00
patacongo
57cccf49d3 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
e2f1dd613a Make STM32 F4 TIM pin naming consistent with F1
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4271 42af7a65-404d-4744-a932-0658087f49c3
2012-01-06 20:59:57 +00:00
patacongo
174318319b Incorporate Z80 bugfixes reported by Phillip Klaus Krause
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4270 42af7a65-404d-4744-a932-0658087f49c3
2012-01-06 19:29:37 +00:00
patacongo
1ff4b36832 Fix issue with LPC17xx CAN baud calculation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4269 42af7a65-404d-4744-a932-0658087f49c3
2012-01-06 15:58:30 +00:00
patacongo
a5e985ff9b LPC17xx CAN PCLK divisor is not a configuration parameter
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4268 42af7a65-404d-4744-a932-0658087f49c3
2012-01-06 14:07:47 +00:00
patacongo
bf9e237d41 Add hooks for SD media change callbacks
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4267 42af7a65-404d-4744-a932-0658087f49c3
2012-01-06 01:58:03 +00:00
patacongo
28c69c1ea8 Add logic to control CAN bit rate via the .config file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4266 42af7a65-404d-4744-a932-0658087f49c3
2012-01-05 20:39:56 +00:00
patacongo
e7e1934940 Fix an error in the PIC32 USB device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4261 42af7a65-404d-4744-a932-0658087f49c3
2012-01-04 23:06:20 +00:00
patacongo
f7d18c743e Add suport for the Stellaris LM3S6432S2E and the TI RDK-S2E
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4260 42af7a65-404d-4744-a932-0658087f49c3
2012-01-04 22:27:35 +00:00
patacongo
93c3e9f7af 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
f90b79bf8b Fixes for LPC1766-STK without LED support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4256 42af7a65-404d-4744-a932-0658087f49c3
2012-01-03 16:26:00 +00:00
patacongo
2bc9057ed3 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
46fc72d1cb 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
16b9d42729 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
d417beffb6 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
d8f2758a03 Fix an integer overflow bug in LPC17xx GPIO interrupt configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4247 42af7a65-404d-4744-a932-0658087f49c3
2012-01-01 15:57:03 +00:00
patacongo
b8882b457f 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
a4e744a5c2 Extend lpc1766-stk LED support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4242 42af7a65-404d-4744-a932-0658087f49c3
2011-12-31 00:11:55 +00:00
patacongo
2de4db2fcb 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
992a0cbb7e The PIC32 USB device driver is code complete (but untested)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4240 42af7a65-404d-4744-a932-0658087f49c3
2011-12-30 00:09:43 +00:00
patacongo
1c9f257fa4 More PIC32 USB device driver logic (still incomplete)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4239 42af7a65-404d-4744-a932-0658087f49c3
2011-12-29 20:46:38 +00:00
patacongo
89b23a27f8 More PIC32 USB device driver logic (still incomplete)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4238 42af7a65-404d-4744-a932-0658087f49c3
2011-12-29 15:55:02 +00:00
patacongo
804e7625b0 Correct last set of changes to configuration logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4237 42af7a65-404d-4744-a932-0658087f49c3
2011-12-29 12:52:15 +00:00
patacongo
db88469442 More PIC32 USB driver stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4236 42af7a65-404d-4744-a932-0658087f49c3
2011-12-29 00:33:02 +00:00
patacongo
de0524baec A little STM32 logic in the PIC32 USB driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4235 42af7a65-404d-4744-a932-0658087f49c3
2011-12-28 19:40:37 +00:00
patacongo
14c215c980 Initial PIC32 driver -- now is just a badly hacked STM32 USB driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4234 42af7a65-404d-4744-a932-0658087f49c3
2011-12-28 00:49:48 +00:00
patacongo
4c5d18d561 Updates for PIC32MX USB driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4233 42af7a65-404d-4744-a932-0658087f49c3
2011-12-27 20:07:17 +00:00
patacongo
61b0896f3d Changes to tools to support MAC OS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4232 42af7a65-404d-4744-a932-0658087f49c3
2011-12-27 12:44:39 +00:00
patacongo
93b948c577 Fix PIC32 serial driver lost interrupts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4230 42af7a65-404d-4744-a932-0658087f49c3
2011-12-26 18:52:31 +00:00
patacongo
b63f8f7fff 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
1f295f7f6b Fix a MIPS delay slot error in the software interrupt logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4228 42af7a65-404d-4744-a932-0658087f49c3
2011-12-26 01:05:36 +00:00
patacongo
e0f57f131b Partial bring-up of the pcblogic board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4227 42af7a65-404d-4744-a932-0658087f49c3
2011-12-26 00:07:49 +00:00
patacongo
b560db1a01 Fix a PIC32 software interrupt bug (pipeline hazard)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4224 42af7a65-404d-4744-a932-0658087f49c3
2011-12-25 15:56:08 +00:00
patacongo
bdb5f5a234 Add support for LEDs on the Ethernet Starter kit
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4223 42af7a65-404d-4744-a932-0658087f49c3
2011-12-25 14:28:12 +00:00
patacongo
452dffec5e PIC32 Serial Console fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4221 42af7a65-404d-4744-a932-0658087f49c3
2011-12-23 23:36:34 +00:00
patacongo
39fd93278c PIC32 NSH configuration now builds without errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4220 42af7a65-404d-4744-a932-0658087f49c3
2011-12-23 00:58:00 +00:00
patacongo
9aa8880720 Changes to get PIC32 serial driver to compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4219 42af7a65-404d-4744-a932-0658087f49c3
2011-12-22 23:20:34 +00:00
patacongo
46c727610c PIC32, need to clear SW interrupt bit in CAUSE register
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4218 42af7a65-404d-4744-a932-0658087f49c3
2011-12-22 22:50:41 +00:00
patacongo
fc3cd5db6d 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
ebafb025a4 STM32 CAN debug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4214 42af7a65-404d-4744-a932-0658087f49c3
2011-12-22 18:28:13 +00:00
patacongo
9c6c3a3bbb 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
60f0ba5fcb Disable interrupts while accessing the APB2RTSR register
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4212 42af7a65-404d-4744-a932-0658087f49c3
2011-12-22 03:09:25 +00:00
patacongo
a9a0e45ee1 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
04584e4362 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
b0bf66456c 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
2d1cd3ec84 STM32 ADC driver update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4208 42af7a65-404d-4744-a932-0658087f49c3
2011-12-20 23:44:21 +00:00
patacongo
0cb9ae021b 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
b9a872fdcf 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
d75b9e8d82 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
209bffae9c 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
2ca8817c84 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
4034d0a5c1 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
cfcb1555eb Remove the PWM pulse count method. It can't be support on current hardware
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4201 42af7a65-404d-4744-a932-0658087f49c3
2011-12-19 19:35:52 +00:00
patacongo
ddab3d58b8 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
b40ed6317f Fix STM32 USB overrun problem (again, still)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4199 42af7a65-404d-4744-a932-0658087f49c3
2011-12-18 13:53:58 +00:00
patacongo
643328e015 Add alternate function pin mapping for the STM32F103VC
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4198 42af7a65-404d-4744-a932-0658087f49c3
2011-12-17 21:14:03 +00:00
patacongo
1877006302 Adds support for the STM32F103VCT6 and for the Hy-Mini STM32v board. Contributed by Laurent Latil
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4197 42af7a65-404d-4744-a932-0658087f49c3
2011-12-17 20:07:22 +00:00
patacongo
60f98d5eea Fix a critical bug in the STM32 USB device-side driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4196 42af7a65-404d-4744-a932-0658087f49c3
2011-12-17 19:08:49 +00:00
patacongo
c47c297f1b Fix some bad SDIO debug instrumentation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4195 42af7a65-404d-4744-a932-0658087f49c3
2011-12-17 16:45:40 +00:00
patacongo
9d4d5cda5d 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
3e9d8da166 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
cabf8f45e9 Add generic, upper-half PWM driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4191 42af7a65-404d-4744-a932-0658087f49c3
2011-12-16 16:17:34 +00:00
patacongo
3a2318e7f6 Update how ADC channel number is obtained
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4190 42af7a65-404d-4744-a932-0658087f49c3
2011-12-16 13:32:46 +00:00
patacongo
9d455730dc 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
c094e68c14 Started then stopped development of the STM32 DAC driver -- I guess it isn't needed afterall
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4187 42af7a65-404d-4744-a932-0658087f49c3
2011-12-15 20:31:54 +00:00
patacongo
b890380f57 More STM32 DAC driver logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4186 42af7a65-404d-4744-a932-0658087f49c3
2011-12-15 16:39:06 +00:00
patacongo
18d89455ad 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
59712fdeef Oops fix screw-up in last check-in
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4184 42af7a65-404d-4744-a932-0658087f49c3
2011-12-15 01:28:24 +00:00
patacongo
f9f13e3c03 Oops fix screw-up in last check-in
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4183 42af7a65-404d-4744-a932-0658087f49c3
2011-12-15 01:24:36 +00:00
patacongo
02f39f908c Add loops to set ADC SQ values
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4182 42af7a65-404d-4744-a932-0658087f49c3
2011-12-15 01:18:49 +00:00
patacongo
39a93f253f Updated STM32 ADC driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4181 42af7a65-404d-4744-a932-0658087f49c3
2011-12-15 00:29:35 +00:00
patacongo
c6d2a7b4d3 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
7f2ec55f1f STM32 F4 RTC is functional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4178 42af7a65-404d-4744-a932-0658087f49c3
2011-12-14 21:59:08 +00:00
patacongo
69fabd1351 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
9922992d84 STM32 F4 RTC driver is fully coded (but not tested)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4176 42af7a65-404d-4744-a932-0658087f49c3
2011-12-14 19:12:00 +00:00
patacongo
8bf1779001 Re-arrange some files and interfaces to support the STM32 F4 date/time RTC
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4175 42af7a65-404d-4744-a932-0658087f49c3
2011-12-14 14:47:42 +00:00
patacongo
0adb46e5c4 A few additional STM32 ADC changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4174 42af7a65-404d-4744-a932-0658087f49c3
2011-12-14 01:25:14 +00:00
patacongo
d601f00c92 Progress on STM32 ADC driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4173 42af7a65-404d-4744-a932-0658087f49c3
2011-12-14 00:34:12 +00:00
patacongo
44298ea306 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
0a465d06ec 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
fcd24b1c21 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
041d1e6191 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
eca485de15 Add STM32 DAC register definitions and skeleton DAC driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4164 42af7a65-404d-4744-a932-0658087f49c3
2011-12-12 03:37:37 +00:00
patacongo
76106d1aee Replace tabs with spaces
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4163 42af7a65-404d-4744-a932-0658087f49c3
2011-12-12 01:38:39 +00:00
patacongo
e27f33d05e Add a skeleton for an STM32 ADC driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4162 42af7a65-404d-4744-a932-0658087f49c3
2011-12-12 01:04:53 +00:00
patacongo
0d20925085 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
8c1436b4a6 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
fc91fdd727 Add Ethernet start-up logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4159 42af7a65-404d-4744-a932-0658087f49c3
2011-12-10 22:26:04 +00:00
patacongo
106b181445 Add Ethernet descriptor definitions and initialization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4158 42af7a65-404d-4744-a932-0658087f49c3
2011-12-10 21:47:42 +00:00
patacongo
6154943d4b Add Ethernet interrupt configuration and handling
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4157 42af7a65-404d-4744-a932-0658087f49c3
2011-12-10 15:14:29 +00:00
patacongo
fe320d3e91 Minor fixes for compile with DEBUG enabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4154 42af7a65-404d-4744-a932-0658087f49c3
2011-12-10 02:25:30 +00:00
patacongo
4324b00af3 BEV needs to be zero in single-vector mode; Interrupts go to EBASE+0x200
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4153 42af7a65-404d-4744-a932-0658087f49c3
2011-12-10 00:00:28 +00:00
patacongo
adf98b1619 Add STM32 ethernet MAC and DMA initialization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4152 42af7a65-404d-4744-a932-0658087f49c3
2011-12-09 20:40:33 +00:00
patacongo
4fee2145bd 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
55ec626661 Oops.. pic32mx-exception.c, not pic32mx-exception.S
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4150 42af7a65-404d-4744-a932-0658087f49c3
2011-12-09 14:09:36 +00:00
patacongo
2149ec1035 PIC32 bugfixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4149 42af7a65-404d-4744-a932-0658087f49c3
2011-12-08 23:33:04 +00:00
patacongo
6acbf57d03 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
c9ca9fc763 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
5072f4a553 Fix PIC32 timer source frequency
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4146 42af7a65-404d-4744-a932-0658087f49c3
2011-12-07 23:38:23 +00:00
patacongo
f45477ac99 Add beginning of ethernet register definitions for the STM32 F4
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4145 42af7a65-404d-4744-a932-0658087f49c3
2011-12-07 21:36:02 +00:00
patacongo
b6bcb2aecc 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
55399677c6 Add storage space for FPU registers in context switching
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4143 42af7a65-404d-4744-a932-0658087f49c3
2011-12-07 15:36:46 +00:00
patacongo
a3c9f34ca5 Add STM32 F4 DMA framework (untested)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4142 42af7a65-404d-4744-a932-0658087f49c3
2011-12-07 14:56:28 +00:00
patacongo
65bbfd2a02 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
d82c771c37 Fixes for STM32F40xxx port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4135 42af7a65-404d-4744-a932-0658087f49c3
2011-12-05 16:41:20 +00:00
patacongo
e0a1fd2540 Fix a compile error when CONFIG_ARCH_INTERRUPTSTACK is turned on for Cortex-M*
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4134 42af7a65-404d-4744-a932-0658087f49c3
2011-12-04 23:42:38 +00:00
patacongo
f4a014fc2f Fix error in sim build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4127 42af7a65-404d-4744-a932-0658087f49c3
2011-11-28 22:48:31 +00:00
patacongo
14fd8f3c8e update some comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4126 42af7a65-404d-4744-a932-0658087f49c3
2011-11-27 16:51:34 +00:00
patacongo
4a9b2c7b1b 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
b39704c1b6 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
c1ff401533 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
5bcaa4dfb8 Finish port of GPIO driver for STM3240
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4122 42af7a65-404d-4744-a932-0658087f49c3
2011-11-23 15:08:05 +00:00
patacongo
67eb344218 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
8eabbf0a7a More changes, getting closer to a clean STM3240 compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4120 42af7a65-404d-4744-a932-0658087f49c3
2011-11-22 17:43:11 +00:00
patacongo
6d47e3fcb6 Working toward clean STM3240xx build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4119 42af7a65-404d-4744-a932-0658087f49c3
2011-11-22 16:08:21 +00:00
patacongo
1d7c367a62 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
patacongo
445cea7692 Add STM3240 interrupt handlers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4117 42af7a65-404d-4744-a932-0658087f49c3
2011-11-22 02:59:24 +00:00
patacongo
78c6fe1f39 Add STM3240 interrupt definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4116 42af7a65-404d-4744-a932-0658087f49c3
2011-11-22 00:10:56 +00:00
patacongo
437fd118ca Add STM3240 SYSCFG header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4115 42af7a65-404d-4744-a932-0658087f49c3
2011-11-21 23:18:24 +00:00
patacongo
98cdd3fca2 Finishes basic header file updates for STM3230
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4114 42af7a65-404d-4744-a932-0658087f49c3
2011-11-21 22:19:19 +00:00
patacongo
fdc1c4e8bb Updates for STM3240 timers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4113 42af7a65-404d-4744-a932-0658087f49c3
2011-11-21 21:46:46 +00:00