Commit Graph

954 Commits

Author SHA1 Message Date
Gregory Nutt
64825db9c2 STM32: Support for the LeafLabs Maple and Maple Mini boards. From Librae 2013-09-13 12:45:33 -06:00
Gregory Nutt
e31f62e1b5 STM32 Kconfig: Fix STM32 UART7/8 kconfig names and UART DMA. Provided by Lorenz Meier 2013-09-13 11:45:32 -06:00
Gregory Nutt
1b17b8fbea Make filter register accessible for CAN1 and CAN2. Provided by Lorenz Meier 2013-09-13 11:20:10 -06:00
Gregory Nutt
f2a5c43b25 SAMA5: Framework for a TWI driver (incomplete) 2013-09-11 12:28:52 -06:00
Gregory Nutt
928d0ddd8a STM32 Timer Register Bit Definitions: Some CCER bit settings changed per SourceForge bug #18 submitted by CCCTSAO 2013-09-02 08:01:09 -06:00
Gregory Nutt
56f9092a87 Fix all occurrences of "the the" in documentation and comments 2013-08-27 09:40:19 -06:00
Gregory Nutt
56f2b3b963 Add a new method to the USB host driver interface: getdevinfo. This method will return information about the currently connected device. At present, it only returns the device speed. The speed is needed by the enumeration logic in order to set a credible initial EP0 max packet size 2013-08-26 15:46:16 -06:00
Gregory Nutt
57eb83da9d #17 Fix if CONFIG_SDIO_BLOCKSETUP defined, OS will crash. From CCTSAO 2013-08-26 08:54:46 -06:00
Gregory Nutt
1f3cebdb40 SAMA5 EHCI: Added logic to detect port speed. Handling is insufficient 2013-08-24 07:36:05 -06:00
Gregory Nutt
3786e72947 Fix #endif with missing #if condition. Reported by Andrew Bradford 2013-08-23 16:40:30 -06:00
Gregory Nutt
e36a0e868d SourceForge bug #16 Fix IO pin map. Add CONFIG_SERIAL_TERMIOS support. From CCTSAO 2013-08-23 11:48:53 -06:00
Gregory Nutt
07bd7c2168 STM32 F1 I2C: Fix a typo that crept in with some recent changes. From Yiran Liao 2013-08-18 07:45:14 -06:00
Gregory Nutt
ddc93e1da3 STM32 SPI: nbits interface extended to handle LSB- or MSB-first operation. From Teemu Pirinen 2013-08-16 11:35:22 -06:00
Gregory Nutt
bdbe4a4f25 Clean up some LP17xx and STM32 USB host configuration compilation errors due to the massive changes to the USB host interfaces needed to support the SAMA5 2013-08-13 17:43:19 -06:00
Gregory Nutt
8f429fd54d SAMA5: Major restructuring of the the OHCI driver drivers to better handle the multiple root hub ports and concureent transfers on each port. 2013-08-13 16:48:14 -06:00
Gregory Nutt
34418d12bb Separate wait() and enumerate() methods from struct usbhost_driver_s and move to new interface, struct usbhost_connection_s. This is part of the necessary restructuring of the USB host interface to support multiple root hub ports. 2013-08-13 15:03:46 -06:00
Gregory Nutt
b4645f73ec Back out most of the changes of 3b04d08043742b9e65cf38d45988b35bff91daed 2013-08-13 14:12:27 -06:00
Gregory Nutt
f3bfd6a515 STM32 F3 fixes from John Wharington 2013-08-13 07:48:18 -06:00
Gregory Nutt
a4c195482f More changes to USB host interface to support multiple downstream ports 2013-08-12 16:29:33 -06:00
Gregory Nutt
39696cbf96 First of several changes needed to support multiple USB host root hubs 2013-08-12 14:44:06 -06:00
Gregory Nutt
dfe6452b8e Add untested OHCI driver for the SAMA5; structure naming and header files for USB host initialization prototypes 2013-08-11 17:11:32 -06:00
Gregory Nutt
69bc6afbd3 Add CAN configuration to STM32 config menu 2013-08-10 19:37:35 -06:00
Gregory Nutt
03130ca5a3 STM32: Fix STM32 serial init for non-reordered serial ports. From Lorenz Meier 2013-08-10 19:33:16 -06:00
Gregory Nutt
217ed87aad Added option to disable STM32 serial port re-ordering 2013-08-10 19:29:44 -06:00
Gregory Nutt
6622714c5d Rearrange configuration settings so that ARCH_HAVE_SDIO is moved to higher, sharable level 2013-08-10 09:06:53 -06:00
Gregory Nutt
8b317e9ea3 Standard configuration variables used to enable interupt controller debug; SAMA5: Correct handling of spurious interrupts 2013-08-03 08:22:37 -06:00
Gregory Nutt
6f99994722 More DAC changes from John Wharington 2013-07-30 11:41:53 -06:00
Gregory Nutt
84150fd7ed STM32 F3 I2C driver from John Wharington 2013-07-30 10:35:17 -06:00
Gregory Nutt
4bdcceb3b3 STM32 DAC DMA fixes from John Wharington 2013-07-30 08:54:32 -06:00
Gregory Nutt
2f772c84fd Finally... renamed all CONFIG_DRAM_ settings to CONFIG_RAM_ 2013-07-26 10:09:17 -06:00
Gregory Nutt
cb3f394d53 Improve some ARMv7-A/M floating point register save time; Add floating point register save logic for ARMv7-A 2013-07-23 17:52:06 -06:00
Gregory Nutt
78bffd06c2 STM32 SDIO driver: Add supported for data block end (DBCKEND) interrupt. From Chia Cheng Tsao 2013-07-08 09:04:05 -06:00
Gregory Nutt
d649c2a462 Ticket #16: STM32 OTG FS device driver endpoint allocation. From Chia Cheng Tsao 2013-07-08 08:55:05 -06:00
Gregory Nutt
a954eb76b2 Created new directories to hold SPI-related files 2013-07-01 08:11:54 -06:00
Gregory Nutt
64d149233b Fix integration of RAM test into the build and configuration system 2013-06-26 10:54:12 -06:00
Gregory Nutt
e00a8397bc Add support for a separate CCM memory allocator for members of the STM32 family that support CCM memory 2013-06-25 09:13:30 -06:00
Gregory Nutt
1029074cc6 Fix a backward conditional that cause the STM32 usb host driver to fail to detect disconnection events. From Scott 2013-06-06 15:00:18 -06:00
Gregory Nutt
78681b6d8f Add flow control support to the STM32 serial driver; Fix some issues with UART2 and 5. From Lorenz Meier and Mike Smith 2013-06-06 14:49:14 -06:00
Gregory Nutt
2f44f642dd If CONFIG_STM32_DMACAPABLE is defined, use stm32_dmacapable to workaround attempt SPI DMAs from the CCM stack 2013-06-04 09:05:39 -06:00
Gregory Nutt
1c3116c91e Add stm32_dmacapable interface to determine is it is possible to perform DMA from a given address. 2013-06-04 08:44:49 -06:00
Gregory Nutt
77f84ae94d Add a skeleton configuration that will eventually support the SAM4L Xplained Pro board 2013-06-03 15:11:56 -06:00
Gregory Nutt
5d7b246c8a Add missing NSH configuration settings. Correct some conditional logic for STM32 FALSH pre-fetch settings. From Lorenz Meier 2013-06-02 13:16:35 -06:00
Gregory Nutt
cfd63d53ad Eliminated sam3u_internal.h. Use separate header files instead. More renaming from sam3u_ to sam_ to make room in the namespce for the sam4l_ 2013-06-02 13:04:40 -06:00
Gregory Nutt
011a14e39d Fix STM32F1 and F3 USB device driver. It was not handling NULL packets correctly and it prevent use of the driver with the CDC/ACM class 2013-05-29 10:26:00 -06:00
Gregory Nutt
9336f73aa1 Add support for the STM32 Tiny development board from Laurent Latil 2013-05-28 14:24:17 -06:00
Gregory Nutt
297751897a STM32F103C4 and F103C8 chip support from Laurent Latil 2013-05-28 14:09:44 -06:00
Gregory Nutt
4e9da4d8a2 Fix bugs in SLCD test and in SLCD CODEC 2013-05-24 11:11:48 -06:00
Gregory Nutt
ce88ce5238 Add apps/examples/slcd, Remove USB from STM32L-Discovery, LSE support for the STM32 L family, some STM32L-Discovery LCD debug changes 2013-05-24 10:00:54 -06:00
Gregory Nutt
4b2e2e6edc STM32L-Discovery LCD driver is code compele but untested 2013-05-23 15:23:29 -06:00
Gregory Nutt
db128e488e Beginning of a segment LCD driver for the STM32L-Discovery 2013-05-22 18:12:54 -06:00
Gregory Nutt
e6ba035682 Audio subystem update from Ken Pettit. Plus moved some header files 2013-05-21 13:13:05 -06:00
Gregory Nutt
f3db0330c7 Add STM32L15X segment LCD register definitions; Updated documentatin and README files 2013-05-21 12:39:48 -06:00
Gregory Nutt
83ec247866 Fix STM32L15X vector definitions; Fix STM32L-Discovery LED controls. The NSH configuration is now fully functional on the STM32L-Discovery board. 2013-05-21 11:25:30 -06:00
Gregory Nutt
60036e60f8 STM32L152: Better LOOPSPERMSEC; Need to set higher performance VOS 2013-05-20 15:51:37 -06:00
Gregory Nutt
bcf9bc0f41 Fix STM32L-Discovery clock setup - The X3 crystal is not fitted on the board 2013-05-20 12:17:34 -06:00
Gregory Nutt
55b2ed4485 Misc updates to STL32L15X logic 2013-05-20 10:08:44 -06:00
Gregory Nutt
d7f6cbf4fd Add STM32L152X RCC PLL and FLASH support. Now compiles errorfree. 2013-05-19 14:35:30 -06:00
Gregory Nutt
3db251c13f STM32L15X UART, DMA, and heap initialization support 2013-05-19 11:54:56 -06:00
Gregory Nutt
4124f55382 Add SYSCFG definitions for STM32L152; Add board support STM32L-Discovery 2013-05-19 11:04:19 -06:00
Gregory Nutt
0ccea89f32 Add PWR and RCC register definitions for the STM32F152 2013-05-19 08:55:36 -06:00
Gregory Nutt
a7846ae2c4 Add STM32L15X memory map 2013-05-18 16:08:28 -06:00
Gregory Nutt
863b6b7b83 Add support for STM32L15X GPIOs 2013-05-18 15:32:50 -06:00
Gregory Nutt
d32417043f Support for STM32L15xx interrupt vectors 2013-05-18 12:56:03 -06:00
Gregory Nutt
3eae56467b Begnning of support for the STM32L15X family 2013-05-18 11:15:37 -06:00
Gregory Nutt
6a7e1ba3ef Fix STM32 F1 DMA register definitions. From Laurent Latil. 2013-05-15 16:11:16 -06:00
Gregory Nutt
cb5fa55663 Fix typo is STM32 ADC driver for F2 and F4: ADC not ACD 2013-05-08 21:45:46 -06:00
Gregory Nutt
6caf285234 STM32 option to disable sleep to prevent disconnection of debugger 2013-05-07 14:10:34 -06:00
Gregory Nutt
180189050b Misc changes for clean built od mikroe-stm32f4 configurations 2013-05-01 09:21:13 -06:00
Gregory Nutt
dd556fbded Useless TIOCSERGSTRUCT logic in most serial drivers is not compiled unless CONFIG_DEBUG and CONFIG_SERIAL_TIOCSERGSTRUCT are defined 2013-04-25 15:52:48 -06:00
Gregory Nutt
3aa94411be Remove up_assert_code 2013-04-25 15:19:59 -06:00
Gregory Nutt
6ca820fa1e Cosmetic updates 2013-04-18 11:38:51 -06:00
Gregory Nutt
d953779672 Configure STM3210E-EVAL usbserial configuration to use kconfig-frontends tools 2013-04-12 09:21:51 -06:00
Gregory Nutt
7fcbf3f151 cosmetic 2013-04-07 08:44:15 -06:00
Gregory Nutt
9e09a67f33 Fix heap size for the STM32 F427/F437 -- from Mike Smith 2013-04-06 14:30:15 -06:00
patacongo
370913df84 Add support for STM32 F427/437 chips. From Mike Smith
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5807 42af7a65-404d-4744-a932-0658087f49c3
2013-04-01 13:43:31 +00:00
patacongo
af58db8c52 Add kernel build support for Stellaris, Kinetis, LPC43, and NUC1xx MCUs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5781 42af7a65-404d-4744-a932-0658087f49c3
2013-03-24 17:28:38 +00:00
patacongo
d71238b5a6 Fix an compilation error recently introduced into stm32_vectors.S
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5780 42af7a65-404d-4744-a932-0658087f49c3
2013-03-23 23:06:51 +00:00
patacongo
3e7db57403 Rework of kernel build signal dispatch to user-space handlers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5778 42af7a65-404d-4744-a932-0658087f49c3
2013-03-23 14:46:02 +00:00
patacongo
53d24dd4b0 Fix some errors in stm32_allocateheap.c for STM32 F1 and F3 that crept in recently
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5776 42af7a65-404d-4744-a932-0658087f49c3
2013-03-22 18:26:03 +00:00
patacongo
8df28685be Add a OS test kernel build configuration for the STM32F4Discovery board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5775 42af7a65-404d-4744-a932-0658087f49c3
2013-03-22 16:19:59 +00:00
patacongo
24be89c3ce Add kernel build support to the STM32 family and to the STM32F4Discovery board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5774 42af7a65-404d-4744-a932-0658087f49c3
2013-03-22 14:49:21 +00:00
patacongo
a7b37da2d9 Add a up_stack_frame() interface to allocate a frame of data on a task's stack.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5768 42af7a65-404d-4744-a932-0658087f49c3
2013-03-21 17:35:08 +00:00
patacongo
65fb38bbcf Add support for ram vectors to the ARMv7-M architecture
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5756 42af7a65-404d-4744-a932-0658087f49c3
2013-03-18 21:10:08 +00:00
patacongo
f8da801140 itoa() from Ryan Sundberg
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5741 42af7a65-404d-4744-a932-0658087f49c3
2013-03-14 18:30:06 +00:00
patacongo
c85fcaecdb Rename g_heapbase to g_idle_topstack; Fix kernel build heap allocation which cannot use g_heapbase
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5739 42af7a65-404d-4744-a932-0658087f49c3
2013-03-14 14:42:52 +00:00
patacongo
0567ef3a9e Updated LPC1788 SDCARD logic from Rommel Marcelo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5733 42af7a65-404d-4744-a932-0658087f49c3
2013-03-12 00:19:30 +00:00
patacongo
e47c64204c More changes for a kernel-mode allocator (more to be done)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5724 42af7a65-404d-4744-a932-0658087f49c3
2013-03-09 21:12:20 +00:00
patacongo
81353c7a76 up_addregion should use kmm_addregion; move garbage kmm*.c file to mm/. for now
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5721 42af7a65-404d-4744-a932-0658087f49c3
2013-03-08 22:01:50 +00:00
patacongo
0d5553ffa3 Bugs reported by Mike Smith fixed; ZKIT-ARM-1769 CAN support from Rashid Fatah
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5703 42af7a65-404d-4744-a932-0658087f49c3
2013-03-04 14:53:41 +00:00
patacongo
be899cfa82 Two fixes from Mike Smith: (1) use -m install of --mode in install commands, (2) fix typo in stm32_exti.h introduced with the STM32 F3 port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5701 42af7a65-404d-4744-a932-0658087f49c3
2013-03-03 21:41:21 +00:00
patacongo
052b9dc37d Fix to STM32 F2/F4 DMA driver from Yan T.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5694 42af7a65-404d-4744-a932-0658087f49c3
2013-03-01 22:15:44 +00:00
patacongo
e22f90aa29 Fixes to STM32 SPI, USB MSC class driver, and MMC/SD SPI driver from Petteri Aimonen
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5688 42af7a65-404d-4744-a932-0658087f49c3
2013-02-28 17:34:57 +00:00
patacongo
d0f99eee31 STM32 OTF FS device patches from Petteri Aimonen (patches 0001-0003)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5687 42af7a65-404d-4744-a932-0658087f49c3
2013-02-28 16:53:16 +00:00
patacongo
23082b88cc More files for the Cortex-M0/NUC120 port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5659 42af7a65-404d-4744-a932-0658087f49c3
2013-02-18 20:24:20 +00:00
patacongo
a6f13bdd15 LPC1788 updates from Rommel Marcelo; NUC120 updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5658 42af7a65-404d-4744-a932-0658087f49c3
2013-02-17 23:53:44 +00:00
patacongo
104692928d More STM32 F4 USB patches from Petteri
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5653 42af7a65-404d-4744-a932-0658087f49c3
2013-02-15 19:48:53 +00:00
patacongo
a96e54b96d STM32 F4 patches from Petteri Aimonen (mostly USB)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5652 42af7a65-404d-4744-a932-0658087f49c3
2013-02-15 14:37:37 +00:00
patacongo
f7b466ac18 Fix start-up of USB monitor in STM32F3Discovery configuration; Back out back checkin of STM32 F1/F3 USB device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5641 42af7a65-404d-4744-a932-0658087f49c3
2013-02-12 00:25:27 +00:00
patacongo
197b3c3b32 Add a driver for the SST30VF NOR FLASH parts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5640 42af7a65-404d-4744-a932-0658087f49c3
2013-02-11 21:44:00 +00:00
patacongo
e9d4532625 Fix some errors in how STM32 USB F3 state was being handled. Fix is correct, but does not change behavior
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5639 42af7a65-404d-4744-a932-0658087f49c3
2013-02-11 14:31:37 +00:00
patacongo
4f1f8f6b43 Fixes to get USB working on STM32 F3
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5638 42af7a65-404d-4744-a932-0658087f49c3
2013-02-10 23:31:11 +00:00
patacongo
c95769f13c Minor fixes for STM32 F3 USB still does not work
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5637 42af7a65-404d-4744-a932-0658087f49c3
2013-02-10 22:34:13 +00:00
patacongo
fec5d8fe97 Add STM32 F3 I2C register definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5636 42af7a65-404d-4744-a932-0658087f49c3
2013-02-10 20:35:34 +00:00
patacongo
ad9155eb16 Many STM32 header files updated for F3 support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5635 42af7a65-404d-4744-a932-0658087f49c3
2013-02-10 19:07:13 +00:00
patacongo
3e58a7a135 Complete some missing logic for STM32 F3 DMA
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5634 42af7a65-404d-4744-a932-0658087f49c3
2013-02-10 01:39:22 +00:00
patacongo
770bf192d5 Fix a readline bug. If a NUL is received, it would return end-of-file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5633 42af7a65-404d-4744-a932-0658087f49c3
2013-02-10 00:46:27 +00:00
patacongo
98191f9c9f For STM32 F3, need to use ICR register to clear some U[S]ART interrupts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5632 42af7a65-404d-4744-a932-0658087f49c3
2013-02-09 19:13:01 +00:00
patacongo
631bcc2c73 Updates for STM32 F3 SPI and RTC
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5631 42af7a65-404d-4744-a932-0658087f49c3
2013-02-09 16:39:59 +00:00
patacongo
896e32f73d Removed stm32_internal.h; Changes for clean compile of STM32F3Discovery configuration with SPI and USB
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5630 42af7a65-404d-4744-a932-0658087f49c3
2013-02-09 15:03:49 +00:00
patacongo
a84cc993d4 Fixes to get STM32F3Discovery running
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5627 42af7a65-404d-4744-a932-0658087f49c3
2013-02-08 21:42:23 +00:00
patacongo
4a5abd43c1 Add STM32 F3 USART definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5626 42af7a65-404d-4744-a932-0658087f49c3
2013-02-08 19:14:09 +00:00
patacongo
1ed1a4abcb Several patches from Petteri Aimonen
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5625 42af7a65-404d-4744-a932-0658087f49c3
2013-02-08 15:28:07 +00:00
patacongo
d5d770d0bc More stm32f3discovery updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5624 42af7a65-404d-4744-a932-0658087f49c3
2013-02-08 14:42:18 +00:00
patacongo
d938d49e5a LPC17xx now supports FPU needed by LPC1788; LPC17xx can not use Mike's common vectors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5623 42af7a65-404d-4744-a932-0658087f49c3
2013-02-08 00:17:54 +00:00
patacongo
32140677f0 STM32F3Discovery port is complete, builds, and is ready for testing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5622 42af7a65-404d-4744-a932-0658087f49c3
2013-02-07 22:11:40 +00:00
patacongo
d9f7cf377f Fixes for STM32 F3 GPIO, pinmap, DMA, and heap allocation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5621 42af7a65-404d-4744-a932-0658087f49c3
2013-02-07 18:27:47 +00:00
patacongo
057413339c Add STM32 F3 pinmap file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5619 42af7a65-404d-4744-a932-0658087f49c3
2013-02-07 16:03:38 +00:00
patacongo
2440416bdc More updates for the STM32F3Discovery
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5617 42af7a65-404d-4744-a932-0658087f49c3
2013-02-06 23:09:09 +00:00
patacongo
21a6a31fad Beginnings of support for the STM32F3Discovery board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5616 42af7a65-404d-4744-a932-0658087f49c3
2013-02-06 22:30:57 +00:00
patacongo
e102123f0d Additional patches from Petteri Aimonen for FAT, STM32 SPI, and AT25
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5593 42af7a65-404d-4744-a932-0658087f49c3
2013-02-01 15:32:39 +00:00
patacongo
cec4563394 Missing calls to class SUSPEND/RESUME methods in all USB drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5590 42af7a65-404d-4744-a932-0658087f49c3
2013-01-31 19:20:26 +00:00
patacongo
06ac2dc7e3 With the last fixes to the STM32 OTG FS driver, the old poll hack no longer seems necessary
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5588 42af7a65-404d-4744-a932-0658087f49c3
2013-01-30 23:22:51 +00:00
patacongo
e4ac2465cd The STM32 F2/4 OTG FS device driver seems to be functional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5587 42af7a65-404d-4744-a932-0658087f49c3
2013-01-30 22:25:25 +00:00
patacongo
ea21f99e46 LM4F update from JP
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5586 42af7a65-404d-4744-a932-0658087f49c3
2013-01-30 18:48:13 +00:00
patacongo
b1aa82fcca Add syslog.h; rename lib_rawprintf() to syslog()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5578 42af7a65-404d-4744-a932-0658087f49c3
2013-01-28 21:55:16 +00:00
patacongo
6177fc6870 Misc SYSLOG and STM32 serial fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5576 42af7a65-404d-4744-a932-0658087f49c3
2013-01-28 17:43:55 +00:00
patacongo
a75ff1ee13 Add logic to retain child task exit status if so configured
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5553 42af7a65-404d-4744-a932-0658087f49c3
2013-01-23 22:23:46 +00:00
patacongo
713530127c Add single-wire UART support to STM32 serial driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5552 42af7a65-404d-4744-a932-0658087f49c3
2013-01-23 14:38:13 +00:00
patacongo
a001227981 Use of BASEPRI to control ARM interrupts is now functional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5548 42af7a65-404d-4744-a932-0658087f49c3
2013-01-22 16:09:10 +00:00
patacongo
30d1159097 More logic to use BASEPRI to control interrupts -- still doesn't work
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5547 42af7a65-404d-4744-a932-0658087f49c3
2013-01-22 14:37:17 +00:00
patacongo
5ab31d456e Add option to use BASEPRI instead of PRIMASK to disable interrupts in all ARMv7-M architectures
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5546 42af7a65-404d-4744-a932-0658087f49c3
2013-01-22 01:25:40 +00:00
patacongo
f8e68eb019 STM32 I2C changes from Mike Smith
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5532 42af7a65-404d-4744-a932-0658087f49c3
2013-01-18 13:34:09 +00:00
patacongo
95c062fbe0 Update STM32 F1 DMA to parity with F2/F4
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5509 42af7a65-404d-4744-a932-0658087f49c3
2013-01-11 13:30:23 +00:00
patacongo
a8dd4ebde0 This initial vfork() check-in was a little pollyanna-ish
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5487 42af7a65-404d-4744-a932-0658087f49c3
2013-01-07 19:35:47 +00:00
patacongo
6e428b0924 Implement a simple vfork(). ARM only for now
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5486 42af7a65-404d-4744-a932-0658087f49c3
2013-01-07 15:20:21 +00:00
patacongo
b25e932ef5 STM32 FLASH changes from Freddie Chopin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5473 42af7a65-404d-4744-a932-0658087f49c3
2013-01-03 13:39:16 +00:00
patacongo
7dbb26184c STM32 FLASH pre-fetch is no long enabled unless it is so configured
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5388 42af7a65-404d-4744-a932-0658087f49c3
2012-11-26 13:22:51 +00:00
patacongo
118bf9d4fa Fixe task_exithook() bug; fix timer usage in STM32 OTGFS host driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5386 42af7a65-404d-4744-a932-0658087f49c3
2012-11-25 18:00:40 +00:00
patacongo
4e27a1a255 Several changes (mostly graphics related) from Petteri Aimonen
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5385 42af7a65-404d-4744-a932-0658087f49c3
2012-11-23 15:49:06 +00:00
patacongo
9bf3ddfcb3 Move some PHY initialization logic for Darcy
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5382 42af7a65-404d-4744-a932-0658087f49c3
2012-11-22 14:44:38 +00:00
patacongo
74949ee01d Big refactoring of toolchain definitions by Mike Smith
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5379 42af7a65-404d-4744-a932-0658087f49c3
2012-11-21 18:34:10 +00:00
patacongo
f9acbe55c8 0001-RS-485-support-for-STM32-serial-driver.patch from Freddi Chopin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5371 42af7a65-404d-4744-a932-0658087f49c3
2012-11-20 13:34:04 +00:00
patacongo
38ee7d8bbc Qencoder fixes from Ryan Sundberg
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5354 42af7a65-404d-4744-a932-0658087f49c3
2012-11-14 19:26:13 +00:00
patacongo
9a2ce78c28 Mostly cosmetic changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5344 42af7a65-404d-4744-a932-0658087f49c3
2012-11-13 15:50:38 +00:00
patacongo
7fbc31650e Several patches from Petteri Aimonen (mostly NxWidgets)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5324 42af7a65-404d-4744-a932-0658087f49c3
2012-11-09 14:54:29 +00:00
patacongo
6a43d75878 Support for non-common vectors from Freddie Chopin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5323 42af7a65-404d-4744-a932-0658087f49c3
2012-11-08 18:05:39 +00:00
patacongo
635248de1a STM32 OTG FS fix from Petteri Aimonen; Finish off some UG-2864AMBAG01 test logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5322 42af7a65-404d-4744-a932-0658087f49c3
2012-11-08 14:10:24 +00:00
patacongo
4d83a5a2f6 Convert configs/stm32f4discovery/nxlines to use Kconfig tool
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5320 42af7a65-404d-4744-a932-0658087f49c3
2012-11-07 23:55:49 +00:00
patacongo
ae553018f3 STM32 OTG FS device fix from Petteri Aimonen
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5318 42af7a65-404d-4744-a932-0658087f49c3
2012-11-07 16:04:10 +00:00
patacongo
221b3b9f52 STM32 F100 High Density support and generic board configuration from Freddie Chopin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5315 42af7a65-404d-4744-a932-0658087f49c3
2012-11-06 13:36:51 +00:00
patacongo
793e3d7571 RGMP 4.0 update from Qiang Yu
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5305 42af7a65-404d-4744-a932-0658087f49c3
2012-11-04 15:12:55 +00:00
patacongo
0c0168ccc0 More STM32 Value Line updates from Freddie Chopin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5304 42af7a65-404d-4744-a932-0658087f49c3
2012-11-03 16:14:40 +00:00
patacongo
c0cf42801c Another fix to STM32 definitions from Freddie Chopin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5298 42af7a65-404d-4744-a932-0658087f49c3
2012-11-02 13:55:04 +00:00
patacongo
eac0c012e2 Fixes to STM32 definitions from Freddie Chopin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5297 42af7a65-404d-4744-a932-0658087f49c3
2012-11-02 13:46:45 +00:00
patacongo
c3271dd140 The ELF loader is basically functional (needs more testing)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5265 42af7a65-404d-4744-a932-0658087f49c3
2012-10-27 00:04:47 +00:00
patacongo
ecca51d044 ARM and ARMv7-M ELF support; STM32F4Discovery ELF loader test configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5264 42af7a65-404d-4744-a932-0658087f49c3
2012-10-26 19:53:20 +00:00
patacongo
0c641abb63 STM32 ADC driver fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5247 42af7a65-404d-4744-a932-0658087f49c3
2012-10-21 16:53:38 +00:00
patacongo
c7d4c6e961 Kconfig changes to get a clean STM32 ADC example build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5246 42af7a65-404d-4744-a932-0658087f49c3
2012-10-21 15:47:34 +00:00
patacongo
b0261744d7 Optimized ARMv7-M memcpy() function from Mike Smith
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5239 42af7a65-404d-4744-a932-0658087f49c3
2012-10-20 18:56:55 +00:00
patacongo
5b989e7735 Several bugfixes, mostly from Darcy Gong
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5217 42af7a65-404d-4744-a932-0658087f49c3
2012-10-06 14:50:37 +00:00
patacongo
62ea0bbe02 Change order of includes in apps/Makefile; add clock frequencies to shenzhou, fire, and olimex-stm32 board.h files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5210 42af7a65-404d-4744-a932-0658087f49c3
2012-10-04 15:07:06 +00:00
patacongo
36da810129 Implementation of /dev/random using the STM32 Random Number Generator (RNG)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5207 42af7a65-404d-4744-a932-0658087f49c3
2012-09-29 20:34:25 +00:00
patacongo
b635777130 Fix STM32 SPI3 remap logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5200 42af7a65-404d-4744-a932-0658087f49c3
2012-09-27 20:15:24 +00:00
patacongo
5d84ed802c STM32 fixes for DM9161 PHY; Enhancements for ADS7843e touchscreen controller
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5199 42af7a65-404d-4744-a932-0658087f49c3
2012-09-27 19:26:18 +00:00
patacongo
3da15ce551 Fixes for clean compilation of NxWidgets/NxWM with Kconfig and changes to build system; Fixes to Shenzhou NxWM configuration for clean build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5193 42af7a65-404d-4744-a932-0658087f49c3
2012-09-26 14:36:28 +00:00
patacongo
b18f6d64f1 Corrections for SD card on Shenzhou board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5183 42af7a65-404d-4744-a932-0658087f49c3
2012-09-24 18:57:38 +00:00
patacongo
82c6b5abe0 Fixes STM32F107 DMA issue
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5182 42af7a65-404d-4744-a932-0658087f49c3
2012-09-24 15:51:48 +00:00
patacongo
935a05ddbc Shenzhou PHY address should be 0; make sure the F2/F4 bits are not set when using STM32 ethernet driver with F1
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5181 42af7a65-404d-4744-a932-0658087f49c3
2012-09-23 15:22:27 +00:00
patacongo
737198d8bb Add missing STM32 F1 pin remapping definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5180 42af7a65-404d-4744-a932-0658087f49c3
2012-09-22 22:25:21 +00:00
patacongo
42f853bd47 STM32 Ethernet, Slightly differ register layout for DM9161AEP PHY
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5177 42af7a65-404d-4744-a932-0658087f49c3
2012-09-22 19:19:56 +00:00
patacongo
2b863c620a Shenzhou board uses RMII PHY interface, not MII
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5176 42af7a65-404d-4744-a932-0658087f49c3
2012-09-22 16:48:44 +00:00
patacongo
683b1017a5 Make the Olimex stm32 p107 clock configuratin the standard for connectivity line devices
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5175 42af7a65-404d-4744-a932-0658087f49c3
2012-09-22 15:12:50 +00:00
patacongo
5d4e660628 Recent I2C changes for F4 broke F1
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5170 42af7a65-404d-4744-a932-0658087f49c3
2012-09-21 17:55:08 +00:00
patacongo
1e42f269de Oops.. the up_i2creset function mysteriously disappeared from stm32_i2c.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5167 42af7a65-404d-4744-a932-0658087f49c3
2012-09-20 13:55:31 +00:00
patacongo
3464e7e956 Fix ENC28J60 Tx transmit (still a receive problem); Add HTTP 408 logic from Kate
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5158 42af7a65-404d-4744-a932-0658087f49c3
2012-09-17 23:02:58 +00:00
patacongo
5acf2fe3e1 Resync new repository with old repo r5166
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5154 42af7a65-404d-4744-a932-0658087f49c3
2012-09-17 18:35:37 +00:00
patacongo
d9a4327c04 Add XML RPC server plus NXWM build fixes from Max Holtzberg
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5150 42af7a65-404d-4744-a932-0658087f49c3
2012-09-14 14:07:21 +00:00
patacongo
36df84c843 Email address change in nuttx/
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5145 42af7a65-404d-4744-a932-0658087f49c3
2012-09-13 18:32:24 +00:00
patacongo
21a0a16908 USB device drivers: Add hooks to to use common, external DMA buffer allocation implementation..
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5142 42af7a65-404d-4744-a932-0658087f49c3
2012-09-13 14:14:18 +00:00
patacongo
267eb76ea9 The M3 Wildfire port is code complete and ready for test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5125 42af7a65-404d-4744-a932-0658087f49c3
2012-09-10 22:26:37 +00:00
patacongo
4f6b756bc2 More progress on the Wildfire STM32 port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5121 42af7a65-404d-4744-a932-0658087f49c3
2012-09-09 21:48:25 +00:00
patacongo
4f469e6316 Reconfigured Shenzhou to use JTAG. Misc Kconfig changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5118 42af7a65-404d-4744-a932-0658087f49c3
2012-09-09 15:43:18 +00:00
patacongo
fc7e808daf Changes to get a clean compile with the Kconfig Shenzhou board. Still some link issues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5115 42af7a65-404d-4744-a932-0658087f49c3
2012-09-08 16:40:12 +00:00
patacongo
767934d4f5 Shenzhou board is first to use ONLY Kconfig for configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5114 42af7a65-404d-4744-a932-0658087f49c3
2012-09-08 13:56:21 +00:00
patacongo
a686af5996 More info for the Shenzhou board configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5109 42af7a65-404d-4744-a932-0658087f49c3
2012-09-07 22:30:35 +00:00
patacongo
a764d7f228 Removed delay after receiving in recvfrom(). This was killing network performance
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5107 42af7a65-404d-4744-a932-0658087f49c3
2012-09-07 16:51:53 +00:00
patacongo
66c101bf6d If serial DMA enabled, re-initialize serial console
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5106 42af7a65-404d-4744-a932-0658087f49c3
2012-09-07 13:35:58 +00:00
patacongo
513e6ae681 STM32 Kconfig looks good. STM32 external ram configuration changed.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5100 42af7a65-404d-4744-a932-0658087f49c3
2012-09-05 23:02:43 +00:00
patacongo
8e1798f028 Add configuration for the LM3S
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5095 42af7a65-404d-4744-a932-0658087f49c3
2012-09-05 17:50:53 +00:00
patacongo
bd9b0f2d4f Add Kconfig settings for the LPC17xx
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5094 42af7a65-404d-4744-a932-0658087f49c3
2012-09-05 17:20:19 +00:00
patacongo
48362edbb5 Refactor serial configuratin; AVR teensy Kconfig now builds
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5092 42af7a65-404d-4744-a932-0658087f49c3
2012-09-05 12:45:35 +00:00
patacongo
dbaa35bf9c Kconfig changes + back out part of last check-in: The 2STOP setting must be integer 0/1, not boolean
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5086 42af7a65-404d-4744-a932-0658087f49c3
2012-09-04 15:28:56 +00:00
patacongo
43d0205d96 Changes to Kconfig and matching defconfig files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5085 42af7a65-404d-4744-a932-0658087f49c3
2012-09-04 14:43:56 +00:00
patacongo
f0f4047d40 Back out the last STM32 SDIO DMA change. It is incorrect
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5084 42af7a65-404d-4744-a932-0658087f49c3
2012-09-04 12:35:47 +00:00
patacongo
2eaa5c0ab8 Oops... bits in region mask are inverted
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5083 42af7a65-404d-4744-a932-0658087f49c3
2012-09-04 03:06:47 +00:00
patacongo
fc42b8f9b1 STM32 SDIO DMA should only 16-bits wide when DMA-ing to/from FSMC SRAM
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5082 42af7a65-404d-4744-a932-0658087f49c3
2012-09-04 02:47:46 +00:00
patacongo
f7445dd3ab Add support for multiple work queues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5081 42af7a65-404d-4744-a932-0658087f49c3
2012-09-04 00:54:09 +00:00
patacongo
f3a5009068 Add USB host support to the STM32F4Discovery board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5066 42af7a65-404d-4744-a932-0658087f49c3
2012-08-29 17:41:43 +00:00
patacongo
5647b3d408 I think the STM32 UST OTG FS host driver is finally finished
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5065 42af7a65-404d-4744-a932-0658087f49c3
2012-08-28 23:36:58 +00:00
patacongo
4b0bceaaaf Slightly improved delay logic for the USB host
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5064 42af7a65-404d-4744-a932-0658087f49c3
2012-08-28 22:28:49 +00:00
patacongo
1180686484 This appears to fix the NAK-issues for IN data transfers. Still an issue with OUT
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5063 42af7a65-404d-4744-a932-0658087f49c3
2012-08-28 20:47:09 +00:00
patacongo
9afc4086e4 Some STM32 USB OTG FS driver fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5059 42af7a65-404d-4744-a932-0658087f49c3
2012-08-27 22:27:03 +00:00
patacongo
05d97a3350 Fix some NAK race conditions in control transfers (there are more)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5058 42af7a65-404d-4744-a932-0658087f49c3
2012-08-27 19:23:40 +00:00
patacongo
921acc38cc Prep for 6.21 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5052 42af7a65-404d-4744-a932-0658087f49c3
2012-08-25 16:40:31 +00:00
patacongo
78af54f1c3 Update STM32 USB OTG FS host driver -- the driver is now marginally functional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5051 42af7a65-404d-4744-a932-0658087f49c3
2012-08-24 22:16:09 +00:00
patacongo
c895660d05 STM32 OTG FS host driver: Fix some bad NAK handling
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5049 42af7a65-404d-4744-a932-0658087f49c3
2012-08-23 21:13:24 +00:00
patacongo
03a8e3ac7b Fixes several STM32 USB OTG FS host MSC write transfers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5048 42af7a65-404d-4744-a932-0658087f49c3
2012-08-23 19:50:04 +00:00
patacongo
3f86205f93 STM32 USB OTG FS host driver -- updates for NAK and data toggle fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5047 42af7a65-404d-4744-a932-0658087f49c3
2012-08-22 21:04:17 +00:00
patacongo
1203210571 STM32 USB OTG FS host driver update (almost done)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5046 42af7a65-404d-4744-a932-0658087f49c3
2012-08-22 18:13:04 +00:00
patacongo
4b07f8fb49 Several more bug fixes for STM32 OTG FS host driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5044 42af7a65-404d-4744-a932-0658087f49c3
2012-08-21 20:14:42 +00:00
patacongo
eefe1c3d02 Several bug fixes for STM32 OTG FS host driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5043 42af7a65-404d-4744-a932-0658087f49c3
2012-08-21 18:13:35 +00:00
patacongo
3abbac33fc Early STM32 USB OTF FS host debug changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5042 42af7a65-404d-4744-a932-0658087f49c3
2012-08-20 21:22:03 +00:00
patacongo
2a151588f3 Changes for clean STM32 USB host driver build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5040 42af7a65-404d-4744-a932-0658087f49c3
2012-08-20 16:06:39 +00:00
patacongo
54e5dd1478 STM32 USB host driver is code compelte (but untested)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5039 42af7a65-404d-4744-a932-0658087f49c3
2012-08-20 13:55:19 +00:00
patacongo
96cbb147e4 Progress on STM32 OTG FS host driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5037 42af7a65-404d-4744-a932-0658087f49c3
2012-08-20 00:57:14 +00:00
patacongo
551da8eff7 STM32 USB host driver update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5035 42af7a65-404d-4744-a932-0658087f49c3
2012-08-18 21:22:16 +00:00
patacongo
fc0c5e8933 More STM32 USB host logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5034 42af7a65-404d-4744-a932-0658087f49c3
2012-08-17 22:51:14 +00:00
patacongo
90aee8148e Evolving STM32 USB host support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5031 42af7a65-404d-4744-a932-0658087f49c3
2012-08-16 22:48:26 +00:00
patacongo
0f53d0c383 A little more STM32 USB host logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5029 42af7a65-404d-4744-a932-0658087f49c3
2012-08-15 22:13:50 +00:00
patacongo
3c6ff540ea Some repartitioning of STM32 functionality to better support a USB host driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5028 42af7a65-404d-4744-a932-0658087f49c3
2012-08-15 17:58:54 +00:00
patacongo
33ae8fdc32 Revise recent changes to serial driver error handling: Errors other than EINTR may be returned when the driver is used very early in initialization. STM32 SPI driver will now survive repeated initializations
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5026 42af7a65-404d-4744-a932-0658087f49c3
2012-08-14 14:42:50 +00:00
patacongo
5fcff5bc26 Back out the last STM32 DMA priority change. It is not necessary; just dropping the SD frequency was sufficient
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5021 42af7a65-404d-4744-a932-0658087f49c3
2012-08-10 23:16:01 +00:00
patacongo
de32f16245 Drop STM32 F2/4 SDIO clock from 24 to 16 MHz. Seems to fix SD accesses on STM3240G-EVAL
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5020 42af7a65-404d-4744-a932-0658087f49c3
2012-08-10 22:42:46 +00:00
patacongo
f0b1643958 STM32 SDIO DMA setup was losing DMA priority
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5019 42af7a65-404d-4744-a932-0658087f49c3
2012-08-10 22:01:12 +00:00
patacongo
11a5c81fd6 Add support for Olimex STM32-P107 board (contributed by Max Holtzberg)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5018 42af7a65-404d-4744-a932-0658087f49c3
2012-08-10 17:07:02 +00:00
patacongo
e71b75b979 STM32 CAN TX/RX pins reversed; inconsistent conditional compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5017 42af7a65-404d-4744-a932-0658087f49c3
2012-08-08 23:23:15 +00:00
patacongo
eed2776d9a 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
38f96f874f 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
1702fded40 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
16f275058e 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
1b817cc6d6 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
66833bdf12 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
569e4ef123 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
de34678cb0 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
f061660d50 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
b4e9cec9ca 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
4c612c24a9 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
28bd2e6071 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
3c92ffa2f9 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
c5a7577df5 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
0f06c9a678 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
e633932dae 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
7d4f4de7bc 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
b6d4f21d53 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
383bc9c24c 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
5347c159fb 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
8734c17d9e 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
84efa50bed 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
f63ccb3ad3 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
089c4a508c 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
e68fe57420 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
d227c86a14 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
fb6c6bb515 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
d1db9fe5e0 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
9893013623 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
b76286cad8 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
2ff9967cb7 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
8eddbd2ebf 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
1dd72a0277 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
a9affdff68 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
0cfe912f3e 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
37a6972595 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
4b4fae4c79 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
7a8d307ea5 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
c7c69cdfe9 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
db504f2e60 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
5e38d3a94e 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
798acc2bcf 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
c974c4ac72 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
7d2c52d90d 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
a74f601c6c 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
20c5148e2a 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
49b2511c9c 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
f566645ab9 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
28eb22080f 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
a35ec1ed2f 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
4cc25de7d7 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
924f71fc3e 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
ee5e00aaeb 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
a055d1f774 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
870ca9a661 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
40e085238d 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
7769266004 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
04af71c226 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
53ab05dce6 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
8f0c331a93 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
35e996bcf4 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
4ddb827fc8 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
5b00e42bfa 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
fbaeb32b0f 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
5c300da1c8 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
b25eb269df 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
2272d671f0 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
fb202ee945 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
9f9a222a91 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
a0bd1172cd 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
d78adee729 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
06cdebdeeb 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
92327b88e8 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
055cd00cc6 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