Commit Graph

3058 Commits

Author SHA1 Message Date
Gregory Nutt
f2f80f0813 SAM4E-EK: Purely cosmetic updates 2014-03-11 10:44:00 -06:00
Gregory Nutt
6638022126 SAM4E-EK: Add basic board support 2014-03-10 15:18:46 -06:00
Gregory Nutt
b25d2ace89 TM4C: A few more changes to get a clean compilation 2014-03-10 11:54:20 -06:00
Gregory Nutt
a659029017 Make sure that every reference to LM4F has corresponding logic for TM4C 2014-03-10 11:23:50 -06:00
Gregory Nutt
4a199188c8 TM4C: Add SYSCONTROL register defintion header file 2014-03-10 10:17:37 -06:00
Gregory Nutt
c9e6775d0c Add support for TM4C GPIOs 2014-03-10 08:12:35 -06:00
Gregory Nutt
967d48fbfb TIVA: Add memory map for the TM4C123 2014-03-09 13:57:35 -06:00
Gregory Nutt
8e08a25f11 Add pin multiplex definitions for the TM4C123 2014-03-09 13:15:09 -06:00
Gregory Nutt
7ac3ada62a TM4C: Add definitions for GPIO interrupts 2014-03-09 10:00:31 -06:00
Gregory Nutt
1c3627901f Add TM4C123 to the configuration system 2014-03-09 09:40:48 -06:00
Gregory Nutt
9889391ab8 Oop.. everything was named TM3C instead of TM4C in the last check-in 2014-03-09 09:26:29 -06:00
Gregory Nutt
b10bc3238b TM3C123: Add chip characteristics and interrupt definition files 2014-03-09 09:21:06 -06:00
Gregory Nutt
cb10073586 Hmmm.. not sure what happened but here is a missing TIVA file 2014-03-08 16:33:56 -06:00
Gregory Nutt
6cd5f3d321 functions and definitions renamed from lm_ to tiva_ 2014-03-08 15:50:26 -06:00
Gregory Nutt
8f5dfc3541 All files and functions beginning with lm_ changed to tiva_ 2014-03-08 13:29:09 -06:00
Gregory Nutt
88c2da5bc1 The old lm/ directories were enamed tiva/ to better support new products coming down the pipe from TI 2014-03-08 12:31:06 -06:00
Gregory Nutt
0fb4a075d1 LPC2378: SPI driver from Lizhuoyi 2014-03-08 11:37:50 -06:00
Gregory Nutt
1bdc4273bb LPC2378: I2C driver from Lizhuoyi 2014-03-08 11:03:58 -06:00
Gregory Nutt
729a3020a7 Fix some confusion in the code about vectored interrupts; fix so that it builds with prioritized interrutps disabed 2014-03-08 10:57:11 -06:00
Gregory Nutt
88d3bc23e1 onfigs/mx1ads/ostest: Configuration converted to use the kconfig-frontends tools 2014-03-06 09:48:25 -06:00
Gregory Nutt
8fcd60b5df Use common naming for rest of the toolchains too 2014-03-05 16:29:58 -06:00
Gregory Nutt
18a08fe1d1 Use common naming for all buildroot toolchains 2014-03-05 15:37:07 -06:00
Gregory Nutt
40621d42fc Add configuration ettings for the on-demand paging option 2014-03-05 14:25:49 -06:00
Gregory Nutt
6526c47930 configs/ntosd-dm320/nettest: Configuration converted to use the kconfig-frontends tools 2014-03-05 12:16:02 -06:00
Gregory Nutt
c99476c950 configs/stm32f4discovery/pm: Configuration converted to use the kconfig-frontends tools 2014-03-04 08:58:01 -06:00
Gregory Nutt
f3168c222b configs/mcu123-lpc214x/usbmsc: Configuration converted to use the kconfig-frontends tools 2014-03-03 15:40:18 -06:00
Gregory Nutt
216859842a configs/olimex-strp711/nettest: Converted to use kconfig-frontends tools 2014-03-03 10:52:02 -06:00
Gregory Nutt
705a68349b configs/c5471evm/nettest converted use kconfig-frontends. C5471 build updated 2014-03-03 10:05:06 -06:00
Gregory Nutt
74414b9762 arch/arm/src/lpc2378/Kconfig: Create Kconfig for the platform; Adjust configuration names for compatibility, configs/olimex-lpc2378/nsh: Convert to use the kconfig-frontends tools 2014-03-02 11:08:23 -06:00
Gregory Nutt
740a3ce1b9 Removed unused configuratin variable: CONFIG_PGTABLE_VADDR 2014-03-01 16:21:28 -06:00
Gregory Nutt
210fbc3365 configs/lm3s8962-ek/nsh converted to use the kconfig-frontends tools 2014-03-01 13:29:23 -06:00
Gregory Nutt
306271d151 Buildroot EABI (vs OABI) is now the default 2014-02-28 07:49:15 -06:00
Gregory Nutt
885a20d929 SAM3/4: Cosmetic updates to ADC register defintion header files 2014-02-27 08:41:03 -06:00
Gregory Nutt
095df26ed3 SAM4E: Completes all SAM4E register definition header files. Also a SAMA5D3 ADc register definition fix 2014-02-26 17:00:22 -06:00
Gregory Nutt
836f83f0c9 SAM4E: Add AES and AFEC register definition header files (AFEC incomplete) 2014-02-26 15:11:20 -06:00
Gregory Nutt
82bd647951 SAM4E: Add CAN and RSWDT register definition header files 2014-02-26 14:14:19 -06:00
Gregory Nutt
07adb58099 SAM4E: Add EMAC register definition header file 2014-02-26 11:57:42 -06:00
Gregory Nutt
28cf673bb0 SAM4E: Add CMCC register definition header file 2014-02-26 09:25:57 -06:00
Gregory Nutt
623b2522ff SAM4E: UDP register definition header file 2014-02-25 13:39:00 -06:00
Gregory Nutt
3d12bc9830 SAM3/4: Fix some build errors that crept in with the SAM4E support 2014-02-25 12:41:38 -06:00
Gregory Nutt
069f0f2d6a SAM4E: Update SAM3/4 TC and DMAC register definition header files 2014-02-25 10:56:23 -06:00
Gregory Nutt
e93d2da742 SAM4E: Update SAM3/4 ACC, DACC, and PDC register definition header files 2014-02-24 14:48:33 -06:00
Gregory Nutt
af8760e467 SAM4E: Update SAM3/4 GPBR, HSMCI, PWM, RSTC, RTC, RTT, SMC, and WDT register definition header files 2014-02-24 12:38:19 -06:00
Gregory Nutt
47d8cf4e62 SAM4E: Update SAM3/4 SMC and SUPC register definition header files 2014-02-24 10:26:44 -06:00
Gregory Nutt
d20d82b90e SAM4E: Update SAM3/4 EEFC, MATRIX, and PMC register definition header files 2014-02-24 09:49:02 -06:00
Gregory Nutt
36ead78f07 ARMv6-M/ARMv7-M: Correct a register handling error in signal delivery (Kernel build mode only). Noted by Mike Smith. 2014-02-23 08:25:49 -06:00
Gregory Nutt
07ae9d60e0 SAM4E: USART/USART header files and drivers updated to support the SAM4E 2014-02-22 13:46:23 -06:00
Gregory Nutt
956314b113 SAM4E: update SAM3/4 Kconfig for SAM4E peripheral selections 2014-02-22 11:56:04 -06:00
Gregory Nutt
291f4e61ca Rename sam3u_pmc.h to sam_pmc.h since it handles all of the SAM3/4 chips 2014-02-22 10:38:25 -06:00
Gregory Nutt
873ceb2d6d SAM4E: Update PMC and SPI register definition header files 2014-02-22 10:32:28 -06:00
Gregory Nutt
acba69d9a4 SAM4E: Pin multiplex definition header file 2014-02-21 18:10:53 -06:00
Gregory Nutt
ff92f4f81f SAM4E: Add support for PIO and peripheral clocks 2014-02-21 12:34:04 -06:00
Gregory Nutt
1b0fce86ad SAM4E: Add memory map header file 2014-02-21 09:33:16 -06:00
Gregory Nutt
159938e6d8 SAM4E: Add vector definition header files 2014-02-21 08:46:16 -06:00
Gregory Nutt
2b4464e716 unlink/rm can now be used on nodes in the pseudo-filesystem. There is new configuration option to suppress these costly and mostly useless operations on the pseudo-filesystem 2014-02-20 18:14:02 -06:00
Gregory Nutt
462ea02c0c SAMD20: Some progress debugging SPI. Currently hangs 2014-02-20 15:20:42 -06:00
Gregory Nutt
9c1d9e44d4 SAMD20: Changes for clean build of SPI driver and SAMD20 Xplained Pro board with the I/O1 module installed 2014-02-20 11:27:59 -06:00
Gregory Nutt
d2bb6f3e0f SAMD20: SPI driver is code-complete, but untested 2014-02-20 09:59:54 -06:00
Gregory Nutt
07f750ba3d SAMD: A little more SPI logic 2014-02-19 18:48:59 -06:00
Gregory Nutt
7f8a0a01c7 LM3/4: Several errors were unmasked with UARTs > UART2 were enabled. Fromo Gosha 2014-02-19 17:02:30 -06:00
Gregory Nutt
172699fc96 SAMD20: Add a framework for an SPI driver 2014-02-19 16:52:12 -06:00
Gregory Nutt
0d47805ee4 SAMD20: Move some common SERCOM logic to a separate file where it can be shared 2014-02-19 14:47:04 -06:00
Gregory Nutt
c8757cb0e6 STM32 Timer: Set CCMR wehn selecting timer channel. From David Sidrane 2014-02-18 13:50:46 -06:00
Gregory Nutt
a916f2a008 STM32 SPI: Disable SPI before modifying CR1 2014-02-18 13:42:20 -06:00
Gregory Nutt
0c19cc2c13 More STM32F429 Discovery FPU-related changes from David Alessio 2014-02-18 12:07:17 -06:00
Gregory Nutt
c461be6b32 SAMD20: Increase FLASH waitstates to 2 2014-02-18 10:37:42 -06:00
Gregory Nutt
828dd726d9 Mostly cosmetic clean-up of comments 2014-02-17 19:22:53 -06:00
Gregory Nutt
26db6a7609 SAMD20: Fix BAUD calculation. Now comes up okay about 20% of the time 2014-02-17 18:09:17 -06:00
Gregory Nutt
e96a160a24 SAMD20: Now runs, but no serial output 2014-02-17 14:21:22 -06:00
Gregory Nutt
c7c149c42f SAMD20: Initial debug changes to get clocking 2014-02-17 11:36:52 -06:00
Gregory Nutt
ae3b20b04b SAMD20: Misc changes for a clean build with debug enabled 2014-02-17 08:14:19 -06:00
Gregory Nutt
6841f0b627 SAMD20: Add WDT and EVSYS register definition header files 2014-02-16 17:21:36 -06:00
Gregory Nutt
af0cc639d8 SAMD20: Add I2C slave register definition header file 2014-02-16 14:44:03 -06:00
Gregory Nutt
3ccf90b949 SAM20D: Add SPI and I2C master register definition header files 2014-02-16 13:07:31 -06:00
Gregory Nutt
46348a29bb SAMD20: The basic port is complete but still untested 2014-02-16 11:34:32 -06:00
Gregory Nutt
b219b3c7f6 SAMD20: Completes low-level USART logic 2014-02-16 09:42:29 -06:00
Gregory Nutt
305df5ccf1 SAMD20: More SERCOM USART configuration logic 2014-02-15 17:53:55 -06:00
Gregory Nutt
4fc57e3c6a SAMD20: A little more USART logic 2014-02-15 15:58:48 -06:00
Gregory Nutt
2ec06dc52f SAMD20: Beginning of SERCOM UART configuration logic 2014-02-15 14:22:56 -06:00
Gregory Nutt
dfb75147df SAM D20: Add SERCOM USART register definition header file 2014-02-15 11:37:09 -06:00
Gregory Nutt
7c82d29dda SAMD20: Finishes basic clock configuration logic 2014-02-15 10:18:05 -06:00
Gregory Nutt
3a541ece74 SAM D20: More clock configuration logic (still incomplete) 2014-02-14 16:46:21 -06:00
Gregory Nutt
32c23c6af0 SAM D20: Put fuse related definition in a separate header file so make license statement cleaner 2014-02-14 14:33:34 -06:00
Gregory Nutt
6017cd842b SAM D20: A little more clock configuration logic (still incomplete) 2014-02-14 13:38:56 -06:00
Gregory Nutt
39f0f6dbb7 SAMD20: Add NVMCTRL register definition header file. Also empty framework for clock configuration 2014-02-14 11:03:22 -06:00
Gregory Nutt
4ea8d21fcc STM32 serial: Fix clone typo.. FLOWCONROL vs FLOWCONTROL 2014-02-14 09:09:56 -06:00
Gregory Nutt
f30412753e SAMD20: Add SYSCTRL register definition header file 2014-02-13 15:41:16 -06:00
Gregory Nutt
6fd6c6e11d SAMD20: Add GCLK and PM register definition header files 2014-02-13 14:07:58 -06:00
Gregory Nutt
6efc562419 SAMD20: Add port configuration logic 2014-02-13 12:44:22 -06:00
Gregory Nutt
f1b69a0460 Add SAMD20 pin configuration definitions 2014-02-13 10:56:15 -06:00
Gregory Nutt
eb769a9a0d Minimal changes to get a clean compilation of the SAMD20 Xplained configuration. Still a lot of missing logic 2014-02-13 09:14:03 -06:00
Gregory Nutt
c9b48b043c Fix-up some SAMD20 SERCOM conditionals 2014-02-12 18:29:23 -06:00
Gregory Nutt
991a897f09 Add initial support for the Atmel SAMD20 Xplained Pro board 2014-02-12 17:50:58 -06:00
Gregory Nutt
6fea68c36e Add basic framework to support the Atmel SAMD Cortex-M+ chip 2014-02-12 15:07:11 -06:00
Gregory Nutt
05cf59feef Fix typo cloned to many files: SAM32 vs SAM34 2014-02-12 13:00:24 -06:00
Gregory Nutt
e3b409a436 More changes to reduce complaints from CppCheck. Some latent bugs fixes, but probably some new typos introduced 2014-02-10 19:11:56 -06:00
Gregory Nutt
b3792fcd86 Many changes to reduce complaints from CppCheck. Several latent bugs fixes, but probably some new typos introduced 2014-02-10 18:08:49 -06:00
Gregory Nutt
16e3293e69 USB HID mouse: Fixes the basic data transfer model. Returned position data is still bad 2014-02-09 16:50:09 -06:00
Gregory Nutt
0920195725 LPC17 USB Host: Fix a compile error when USB debug is enabled 2014-02-09 15:54:58 -06:00
Gregory Nutt
976e178ac4 Fix a compile error that crept into the LPC17xx USB host driver 2014-02-09 13:45:18 -06:00
Gregory Nutt
2865608743 A10 had the same cut'n'paste error as did the LM4F 2014-02-03 17:22:47 -06:00
Gregory Nutt
06008553a2 Fix cut'n'paster errors in conditional compilation. Prevented LM4F120 Launchpad UARTs 2-7 from being used 2014-02-03 17:00:05 -06:00
Gregory Nutt
0d325c213f A10: Make sure it is tolerant of CONFIG_BOOT_SDRAM_DATA 2014-01-29 08:16:02 -06:00
Gregory Nutt
6e6b048e5a SAMA5: Fix logic for running with data in SDRAM 2014-01-29 07:49:23 -06:00
Gregory Nutt
e29e0f1cc4 ARMv7-A: Conditionally compile out more unneeded logic when .data and .bss are in SDRAM 2014-01-28 16:39:08 -06:00
Gregory Nutt
93bd80b080 SAMA5: Mostly cosmetic 2014-01-28 15:54:03 -06:00
Gregory Nutt
51e64910a0 SAMA5: More variables-in-SDRAM stuff 2014-01-28 15:05:19 -06:00
Gregory Nutt
c930554c2c Add support for .data and .bss in SDRAM 2014-01-28 14:35:03 -06:00
Gregory Nutt
4aee332cd1 Add option to indicatet that data is retained in SDRAM 2014-01-28 10:42:49 -06:00
Gregory Nutt
ddd678e45b Remove EFM32 from build system 2014-01-27 10:41:06 -06:00
Gregory Nutt
26b7316609 Remove support for EFM32. Not ready to be fielded 2014-01-27 08:03:39 -06:00
Gregory Nutt
a26b03d0d0 rename up_led*() functions to board_led_*() 2014-01-24 14:28:49 -06:00
Gregory Nutt
231889c888 The optimization level can now be selected as part of the configuration 2014-01-24 07:45:35 -06:00
Gregory Nutt
64aa48c60f Assembler changes with the gcc-47 distribution from ARM mean that we need to be explicit about branch one or more of the wide branch opcodes results in bad table branching. From Mike Smith 2014-01-23 15:29:57 -06:00
Gregory Nutt
07d12a800d Basic support for the EFM32 processor family from Richar Cochran 2014-01-23 07:56:10 -06:00
Gregory Nutt
186f6ce828 arch/arm/src/Makefile: dependency directory list is now computed from the VPATH. From Richard Cochran 2014-01-23 07:41:00 -06:00
Gregory Nutt
1061e67f14 Fix error in last ARMv7-M up_disable_irq checkin 2014-01-15 15:26:32 -06:00
Gregory Nutt
e43f86071d Fix all Cortex-M3/4 implementations of up_disable_irq(). They were doing nothing. Thanks to Manuel Stühn for the tip. 2014-01-15 09:56:30 -06:00
Gregory Nutt
4de5e40669 Individual IRQs are not longer disabled on each interrupt. See ChangeLog for detailed explanation 2014-01-15 08:09:19 -06:00
Gregory Nutt
dd4e64d9f3 Changes to get PX4 config to build. Also some warning removal 2014-01-14 13:30:22 -06:00
Gregory Nutt
e37c12e88c A10: Serial clock is OSC24M. From Alan Carvalho de Assis 2014-01-10 15:32:42 -06:00
Gregory Nutt
fc2ff5ad75 Fix types in conditional compilation 2014-01-10 13:36:18 -06:00
Gregory Nutt
b4a577a49e Add support for the XPT2046 touchscreen controller on the Viewtool LCD module 2014-01-09 10:57:17 -06:00
Gregory Nutt
162e240ed3 Fix STM32F103VE SPI3 definitions; Fix bug introduced in recent NX reorganization. From Steve Redler IV 2014-01-08 16:44:11 -06:00
Gregory Nutt
363d44b7d0 Cosmetic spaces to tabs change 2013-12-08 10:38:33 -06:00
Gregory Nutt
1cbb15db1a A10: Fix serial TX interrupts 2013-12-08 09:26:53 -06:00
Gregory Nutt
e4358ad7ff A10: Correct handling of the serial busy interrupt 2013-12-08 08:51:19 -06:00
Gregory Nutt
c131e94d04 Add more nops after enabling MMU for Cortex-A8 2014-01-07 08:38:00 -06:00
Gregory Nutt
25abb10ef3 A10: Handle UART BUSY interrupt; Back out change to mkconfig.c -- it causes problems for assembly 2013-12-07 11:46:08 -06:00
Gregory Nutt
e40cc00b06 A10: Add missing interrupt handling logic for UART4-7 and remove bogus flow control logic 2014-01-06 12:08:32 -06:00
Gregory Nutt
f1e44300c6 A10: Fix error in IRQ dispatch; vector table seems to be offset by 64 bytes? 2013-12-07 08:36:30 -06:00
Gregory Nutt
e86f940374 SVC is the preferred mnemonic vs. SWI for cortex A 2014-01-05 16:21:41 -06:00
Gregory Nutt
0673a9564c Oops. Mnemonic changed from SWI to SVC in cortex A 2014-01-05 15:59:49 -06:00
Gregory Nutt
b9816723a5 Add ARMv7-A syscall.h header file 2014-01-05 15:49:06 -06:00
Gregory Nutt
e83bd3e961 Viewtools STM32F103: Add SSD1289 LCD support 2014-01-05 14:14:59 -06:00
Gregory Nutt
b1d61b4e82 STM32: Single wire UART support from Thomas Grubler 2014-01-02 07:56:46 -06:00
Gregory Nutt
3f4064281a STM3240G-EVAL knxwm: Work around CodeSourcery library bug by switching to buildroot 2013-12-31 10:55:46 -06:00
Gregory Nutt
f51b69b198 Decoupling NX user interfaces to support NX kernel build (phase 1) 2013-12-27 13:18:20 -06:00
Gregory Nutt
543c16de75 Fix naming of STM32 F3 SPI2 MOSI and MISO pins. From Brian Webb 2013-12-27 11:15:18 -06:00
Gregory Nutt
2d92d7825d STM32F107 OTG FS clock presecaler cannot be configurated after the USB clock is enabled 2013-12-26 10:45:21 -06:00
Gregory Nutt
515fad9616 Add support for STM32F107 OTG FS (doesn't work) and update USB support for Viewtools STM32F107~ 2013-12-26 09:22:37 -06:00
Gregory Nutt
8660aed4a9 F103VC, F105, and F107: Fix configuration and building of USB. configs/viewtools-stm32f107: Fix build for F103 and F107: F103 has USB device; F107 has OTGFS 2013-12-25 18:34:15 -06:00
Gregory Nutt
4100de6648 Fix a duplicate label introduce in recent commit 2013-12-23 14:29:25 -06:00
Gregory Nutt
9c2c1e8589 Need to protect state on stack to do nested interrupt handling 2013-12-23 14:11:32 -06:00
Gregory Nutt
29c43b0b24 Fixes a few more high priority, nested interrupt logic 2013-12-23 11:13:56 -06:00
Gregory Nutt
c9f18483b3 Several fixes related to Cortex-M RAM vectors 2013-12-22 18:19:08 -06:00
Gregory Nutt
1705b3f894 Fix some missing parameters in macros 2013-12-22 16:29:36 -06:00
Gregory Nutt
e73291a8ea Finish the high priority, nested interrupt handler test (does not work) 2013-12-22 13:23:57 -06:00
Gregory Nutt
161a172dc1 Add logic to configure interrupt controller debug; Fix high priority, nested interrupt build problems 2013-12-22 11:16:29 -06:00
Gregory Nutt
eaed4c04a2 Finishes coding of ARMv7-M high priority nested interrupt logic. Still undocumented; still not fully tested 2013-12-21 15:05:48 -06:00
Gregory Nutt
3855ce04e8 Beginning of high priority nested interrupt support for the ARMv7-M family 2013-12-21 11:03:38 -06:00
Gregory Nutt
f8d608a054 Fix a typo that was cloned to several SAMA5 and MTD files 2013-12-21 09:45:27 -06:00
Gregory Nutt
f3198d5812 Cosmetic: Changlog and update to comments 2013-12-20 16:24:22 -06:00
Gregory Nutt
f53f269a84 Kconfigs: Interrupt prioritization should not be automatically selected 2013-12-20 08:42:54 -06:00
Gregory Nutt
d28622a628 Replace explicit hex MMU value with definition 2013-12-18 12:47:43 -06:00
Gregory Nutt
9462db3d3c A10: Extend register debug logic 2013-12-18 11:26:48 -06:00
Gregory Nutt
891ca0c590 Fix bad register name in INTC debug function 2013-12-18 10:14:12 -06:00
Gregory Nutt
b48685b34b Cortex-A: Fix start-up cache invalidation logi 2013-12-18 09:01:43 -06:00
Gregory Nutt
2dcf15944f A10: Make sure that interrupts are disabled and cleared 2013-11-17 11:40:58 -06:00
Gregory Nutt
89a1cff17b Page lies in SRAM A2 not A1 2013-11-17 10:37:10 -06:00
Gregory Nutt
9ab637d218 Remove executable mode bits 2013-11-17 08:27:11 -06:00
Gregory Nutt
a8fa901535 A10: Fix DDR mapping 2013-12-17 09:22:27 -06:00
Gregory Nutt
77c2cf2aa8 Cosmetic changes to comments and README files 2013-12-16 13:48:20 -06:00
Gregory Nutt
05d6d3c252 Trivial updates to comments and README files 2013-12-16 11:13:55 -06:00
Gregory Nutt
ccd5763003 Review Cortex-A9 CP15 registers and update register definitions 2013-12-16 10:23:29 -06:00
Gregory Nutt
1ebe9bdae2 Back port some A10 changes into the SAMA5 memory map definitions 2013-12-16 09:21:55 -06:00
Gregory Nutt
0ef05b06d7 ARMv7-A: If the page table does not like in same address range as .text and primary RAM, then we will need to set up an additional mapping for the page table at boot time. 2013-12-16 08:26:07 -06:00
Gregory Nutt
726557c712 Create procfs_utils.c; File missed from last commit; + remove warning from mm_memalign.c (how did this work before?) 2013-12-14 08:53:23 -06:00
Gregory Nutt
4d89d0f383 A10 serial driver (still needs some work). From Alan Carvalho de Assis 2013-12-13 16:41:44 -06:00
Gregory Nutt
94da6b82d2 Eliminate some warnings in the pcDuino A10 build 2013-12-13 13:09:45 -06:00
Gregory Nutt
cbecff0f2f A10: Add A10 configuration header file 2013-12-13 12:53:33 -06:00
Gregory Nutt
41ce419ebc A10: Timer interrupt handler 2013-12-13 12:42:26 -06:00
Gregory Nutt
009c65c25a Finish A10 Timer register definitions 2013-12-13 11:44:52 -06:00
Gregory Nutt
6190664203 Beginning of Timer register definition file for the A10 2013-12-12 12:27:30 -06:00
Gregory Nutt
b46501fafc A10/pcDuino/Linux build fixes 2013-12-11 17:05:08 -06:00
Gregory Nutt
212e8bf655 A10: Re-vamp pin configuratin header file 2013-12-11 14:40:52 -06:00
Gregory Nutt
7076b5ac51 A10+pcDuino: PIO support, LED and button support 2013-12-11 13:23:40 -06:00
Gregory Nutt
e92a15df7f A10 PIO register definition header file 2013-12-10 15:53:32 -06:00
Gregory Nutt
b4144e21d6 Move include/nuttx/fb.h to include/nuttx/video/fb.h 2013-12-10 09:23:54 -06:00
Gregory Nutt
a35d366dea More OV2640 initialization logic 2013-12-10 09:10:39 -06:00
Gregory Nutt
69710d1657 A10 peripheral selection logic 2013-12-09 15:24:54 -06:00
Gregory Nutt
753df33e55 A little SAMA5 camera stuff 2013-12-09 14:20:11 -06:00
Gregory Nutt
bda70b1dd6 A10 UART: Register definition header file 2013-12-09 14:18:32 -06:00
Gregory Nutt
fe2f4aff1f Add OV2640 camera support to test the SAMA5 ISI peripheral 2013-12-09 10:51:22 -06:00
Gregory Nutt
8f11a14535 A10: Re-write of interrupt management logic 2013-12-09 07:47:15 -06:00
Gregory Nutt
1a8d5b343c Add A10 interrupt numbers 2013-12-08 11:49:39 -06:00
Gregory Nutt
641767965b A10 interrupt logic 2013-12-08 10:18:28 -06:00
Gregory Nutt
509cf450b6 A10 mmu configuration and INTC register definitions 2013-12-08 09:11:52 -06:00
Gregory Nutt
38eee28af6 pcDuino: More changes to get the code fragments that are in place building successfully 2013-12-07 16:44:23 -06:00
Gregory Nutt
0f14b63afb Add board support infrastructure for the pcDuino board. There is not much there on the initial checkin 2013-12-07 14:25:35 -06:00
Gregory Nutt
d460e8d7fa Add basic directory structure to support the Allwinner A10 2013-12-07 13:06:34 -06:00
Gregory Nutt
b0859ea286 Minor updates to comments and README files 2013-12-07 07:00:48 -06:00
Gregory Nutt
f5bc559417 SAMA5 NAND: Fix some DMA-related issues 2013-12-06 13:04:15 -06:00
Gregory Nutt
e92d493d8e SAMA5 NAND: bugfixes 2013-12-06 11:34:29 -06:00
Gregory Nutt
1b21322f06 SAMA5 NAND: Fix several bugs associated with PMECC data transfers 2013-12-05 18:20:32 -06:00
Gregory Nutt
d01808c603 LM: Don't initialize .data if running in SRAM. Global missing intialize type. SAMA5 NAND: Fix for read nand in smaller chunks 2013-12-05 10:37:55 -06:00
Gregory Nutt
10143f89f4 Cosmetic updates to comments and READMEs 2013-12-04 16:41:45 -06:00
Gregory Nutt
333a49152b LPC31 EHCI: Fix errors in DEBUGASSERT statements 2013-12-04 14:29:24 -06:00
Gregory Nutt
39c3b783ae SAMA5 NAND: PMECC logic was reading past the end of the user buffer 2013-12-04 13:14:26 -06:00
Gregory Nutt
8a97561ceb SAMA5 NAND: Fix some PMECC setup logic 2013-12-04 11:56:56 -06:00
Gregory Nutt
9632d2a7f6 SAMA5 NAND: Do not perform DMA on small transfers 2013-12-04 07:41:29 -06:00
Gregory Nutt
0a456987c6 Condition out most of the recent NXFFS changes for NAND. NXFFS will never be able to support NAND 2013-12-03 13:11:11 -06:00
Gregory Nutt
d125a28b0d SAMA5 DMA: Address of next descriptor in list is a physical address 2013-12-03 09:48:13 -06:00
Gregory Nutt
8ad33030d3 SAMA5 NAND: Only CS3 can have NAND 2013-12-03 06:59:22 -06:00
Gregory Nutt
2fcec7e80c Kconfigs: Fix and issue with SERCOMM_CONSOLE being define in two places 2013-12-02 17:21:46 -06:00
Gregory Nutt
1de529cc42 SAMA5 NAND: Can't DMA using DMAC1. Add lots of NAND DMA debug instrumentation 2013-12-02 17:15:57 -06:00
Gregory Nutt
c62a9c269a SAMA5 NAND: Basic NAND access now work (software ECC and no DMA) 2013-12-01 18:21:41 -06:00
Gregory Nutt
06dca0d263 SAMA5 NAND: Return value should not be ignored 2013-12-01 13:39:28 -06:00
Gregory Nutt
cdaa0b9671 ViewTool STM32F107: Basic NSH checks out okay 2013-12-01 10:05:40 -06:00
Gregory Nutt
6cd5215759 SAMA5 NAND: Fix some race conditions in checking status bits 2013-11-30 14:17:32 -06:00
Gregory Nutt
394d1a8232 SAMA5 EHCI: Fix case when interrupt endpoints enabled 2013-11-29 16:42:44 -06:00
Gregory Nutt
b91ed67902 Make naming consistent for USB host initialiation functions 2013-11-29 14:31:44 -06:00
Gregory Nutt
d44b690dce LPC31 EHCI: Verified that driver works with keyboard (low-speed, interrupt endpoints) 2013-11-29 14:31:42 -06:00
Gregory Nutt
4b8ba0cddc SAMA5 NAND: Don't use HSMC interrupts. They occur to quickly and cause mysterious race conditions 2013-11-29 11:52:47 -06:00
Gregory Nutt
49bcf2da73 LPC31 EHCI: Fixes so that high- and low-speed devices work with the EHCI host 2013-11-28 15:13:56 -06:00
Gregory Nutt
0dddb37c36 LPC31 EHCI: Make stream disable a configurable option 2013-11-28 13:30:06 -06:00
Gregory Nutt
d2eee4b7f0 SAMA5 NAND: Still debugging 2013-11-28 12:21:33 -06:00
Gregory Nutt
ec3397dde6 STM32 F4: Add support for GPIOK and GPIOJ. From Ken Pettit 2013-11-28 08:13:59 -06:00
Gregory Nutt
4f714d2be4 LPC31 EHCI: Seems to work after re-ordering some initialization logic 2013-11-27 13:14:23 -06:00
Gregory Nutt
a0a17933fd SAMA5 NAND: A few bug fixes for integration. Still lots more to do 2013-11-27 11:04:40 -06:00
Gregory Nutt
e8c0512ea6 SAMA5 NAND: Fix some DMA related issues 2013-11-27 07:37:42 -06:00
Gregory Nutt
2f0326033b SAMA5 DMA: Add an option to disable DMA for debug purposes 2013-11-26 06:55:14 -06:00
Gregory Nutt
ce293c1e75 SAMA5 NAND: Changes made durint testing (still does not work) 2013-11-25 18:38:03 -06:00
Gregory Nutt
bafa5b1031 SAMA5 NAND: Trivial changes 2013-11-25 14:16:04 -06:00
Gregory Nutt
eb3a2335da SAMA5 NAND: Fix a few race conditions 2013-11-25 13:53:58 -06:00
Gregory Nutt
34bc3eea1d SAMA5D3x-EK NAND: Integrate SAMA5 NAND support into SAMA5D3x-EK board support 2013-11-25 12:10:24 -06:00
Gregory Nutt
9272c2343e SAMA5 PMECC: Code complete 2013-11-25 09:04:41 -06:00
Gregory Nutt
f6bef28d96 SAMA5 NAND: Retrofit trim page logic 2013-11-24 14:57:30 -06:00
Gregory Nutt
23d767a19e SAMA5 PMECC: Ported Gallois tables 2013-11-24 12:36:42 -06:00
Gregory Nutt
31a65431f0 SAMA5 NAND: Finish upper part of PMECC logic; add HSMC interrupt handling 2013-11-24 11:51:30 -06:00
Gregory Nutt
79c4fb8fe6 SAMA5 PMECC: More progress, still not complete 2013-11-24 09:37:59 -06:00
Gregory Nutt
efffc0bde1 SAMA5 PMECC: A little more 2013-11-23 11:26:33 -06:00
Gregory Nutt
590adfa766 SAMA5 PMECC: Some ROM-related interface updates 2013-11-23 10:06:33 -06:00
Gregory Nutt
e61adfbbbe Cosmetic changes 2013-11-22 13:36:07 -06:00
Gregory Nutt
25449c2d1f SAMA5 NAND: More stuff 2013-11-22 11:19:32 -06:00
Gregory Nutt
3b1928e1f1 LPC31xx EHCI: Power power changes 2013-11-21 18:25:10 -06:00
Gregory Nutt
b93320e96b LPC3131 EHCI: More fixes 2013-11-21 16:39:49 -06:00
Gregory Nutt
b015018db2 LPC-H3131: SDRAM timing update. Still does not work 2013-11-21 14:46:49 -06:00
Gregory Nutt
ae79d5b59f SAMA5 NAND: More progress 2013-11-21 11:13:08 -06:00
Gregory Nutt
9ec6e4685a lpc31 ECHI. Early debug changes 2013-11-20 16:24:10 -06:00
Gregory Nutt
ef226fe49f ARM9: More cache control functions 2013-11-20 15:24:14 -06:00
Gregory Nutt
6723409a6a SAMA5 NAND: Add block erase logic 2013-11-20 13:55:23 -06:00
Gregory Nutt
b83efba920 LPC3131 EHCI: Add USB host tracing support 2013-11-19 15:48:02 -06:00
Gregory Nutt
841d0dea3b Rethinking some NAND interfaces 2013-11-19 08:50:12 -06:00
Gregory Nutt
5cad0606da Add support for the Olimex LPC-H3131 board 2013-11-18 14:51:38 -06:00
Gregory Nutt
59f1b7813c Finishes up NAND software ECC logic 2013-11-18 11:42:17 -06:00
Gregory Nutt
e0a02bbd2c MTD NAND: Beginning of software ECC logic 2013-11-18 09:43:44 -06:00
Gregory Nutt
3c4182115d More NAND stuff 2013-11-17 12:22:09 -06:00
Gregory Nutt
76e380d587 Continuing NAND integration 2013-11-17 08:56:30 -06:00
Gregory Nutt
c11cfd3368 More NAND logic (still not complete) 2013-11-16 18:26:07 -06:00
Gregory Nutt
28a1a5e428 Futher NAND development 2013-11-16 13:19:09 -06:00
Gregory Nutt
204d351720 Further NAND development 2013-11-16 11:46:35 -06:00
Gregory Nutt
b3c77f88b0 EA3131: Framework for USB host support 2013-11-15 15:56:24 -06:00
Gregory Nutt
cdf2e03878 Moved include/nuttx/mtd.h to include/nuttx/mtd/mtd.h 2013-11-15 11:22:23 -06:00
Gregory Nutt
3ab6d2b40a SAMA5 NAND: Basic support for access to NAND FLASH 2013-11-15 09:30:05 -06:00
Gregory Nutt
9680043a46 LPC31 EHCI: First cut at an EHCI driver for the LPC31 2013-11-14 16:12:22 -06:00
Gregory Nutt
ca61cba028 LPC31: Configuration and build support for a forthcoming USB host driver; configs/ea3131/nsh converted to use kconfig-frontend tools 2013-11-14 15:33:43 -06:00
Gregory Nutt
1dc1b8caa3 SAMA5 PCK: Need to configure the programmable clock output pin as well 2013-11-14 11:41:59 -06:00
Gregory Nutt
0baa2807a6 SAMA5 ISI: Framework for ISI drivers. Not much there on initial check-in 2013-11-14 11:17:00 -06:00
Gregory Nutt
66111ef582 SAMA5 PCK: Add support for programmable clock outputs 2013-11-14 11:16:04 -06:00
Gregory Nutt
2036f600d7 STM32 CAN: Options for TSEG1 and TSEG2 quanta missing from Kconfig file 2013-11-14 08:29:36 -06:00
Gregory Nutt
e698fe5433 SAMA SSC: Add bufffer dump debug instrumentation 2013-11-12 16:22:05 -06:00
Gregory Nutt
141cebc8c7 SAMA5 SSC: Fix DMA data width: 16 not 32 bits 2013-11-12 15:53:02 -06:00
Gregory Nutt
5d2ff0d4dc SAMA5: Fix issues with RX synch 2013-11-12 14:56:00 -06:00
Gregory Nutt
43f7418d56 SAMA5 SSC: With these changes, the TX DMA works. But nothing is received from the loopback 2013-11-12 12:19:11 -06:00
Gregory Nutt
196cf89d43 SAMA5 SSC: Fix an error in the DMA timeout calculation 2013-11-12 10:59:41 -06:00
Gregory Nutt
f6bbb1217a SAMA4 SSC: Additional DEBUG instrumentation 2013-11-12 10:19:52 -06:00
Gregory Nutt
fce0a3fc6b Various fixes from initial attempts to integrate the SAMA5 SSC/I2C driver with the I2C character driver loopback test 2013-11-11 15:18:57 -06:00
Gregory Nutt
5032829f9a STM32F429 LTDC header files and framebuffer driver framework from Ken Pettit 2013-11-11 14:05:29 -06:00
Gregory Nutt
60950c760f SAMA5 I2S Kconfig update 2013-11-11 13:50:25 -06:00
Gregory Nutt
c615f6e6fd Support for the Atmel SAM4E family. From Mitko 2013-11-11 07:45:09 -06:00
Gregory Nutt
7bb75a5f4a SAMA5 LCD: More bad color format definitions 2013-11-10 16:31:21 -06:00
Gregory Nutt
6e6350e1c6 SAMA5 LCD: Fix some bad color format definitions 2013-11-10 16:16:33 -06:00
Gregory Nutt
6dac38cbb6 SAMA5 I2S: Need to update the count of valid bytes at the conclusion of the read DMA 2013-11-10 15:02:51 -06:00
Gregory Nutt
6d4a87f330 I2S simplifed audio buffer queuing 2013-11-10 14:51:33 -06:00
Gregory Nutt
9859d1131c Small but important typo in the last commit 2013-11-10 11:51:50 -06:00
Gregory Nutt
53667316be SAMA5 SSC: Add support for loopback mode. Plus unrelated Make.defs file from the last checkin 2013-11-10 11:46:45 -06:00
Gregory Nutt
8cc9d6a572 Kinetis KL: PWM driver from Alan Carvalho de Assis 2013-11-10 10:34:45 -06:00
Gregory Nutt
ce58c79a1b Add an I2S character driver. This driver is only intended to support I2S testing and is inappropriate for use with real I2S devices 2013-11-10 10:24:09 -06:00
Gregory Nutt
fe800abc58 STM32 OTG FS device and host drivers extended so that they can support either the OTG FS peripheral or the OTG HS peripheral (in FS mode). This was done as a quick way to get USB support on the STM32F429 which has only OTG HS. From Ken Pettit 2013-11-10 07:23:06 -06:00
Gregory Nutt
7fde75a876 SAMA5 I2S: Try to chain as many DMAs together as possible 2013-11-09 15:01:18 -06:00
Gregory Nutt
687567f7b7 SAMA5 I2S: Fix compile errors when all debug options enabled 2013-11-09 13:46:12 -06:00
Gregory Nutt
e746a3d574 SAMA5 I2S: Driver is code complete, untested and subject to some rethinking 2013-11-09 13:08:20 -06:00
Gregory Nutt
1ee17b5b19 SAMA5 I2S: Improved I2S buffering 2013-11-08 16:09:20 -06:00
Gregory Nutt
06d8d4c3ea SAMA5 SSC: Updated I2S driver 2013-11-08 12:03:18 -06:00
Gregory Nutt
38b981e50c Back out a small part of the recent STM32 usbdev fix. From David Sidrane 2013-11-07 19:07:16 -06:00
Gregory Nutt
3e2240331d STM32 F1 USB: Fix OUT SETUP command bug. From David Sidrane 2013-11-07 17:25:05 -06:00
Gregory Nutt
893f36c061 Support for the STM32F429 from Ken Pettit 2013-11-07 16:47:43 -06:00
Gregory Nutt
cefc40817f SAMA5 SSC: Mostly cosmetic name changes 2013-11-07 16:13:48 -06:00
Gregory Nutt
904f171afa SAMA5 SSC: Add framework (only) for a forthcoming SSC-based I2S driver 2013-11-07 12:26:53 -06:00
Gregory Nutt
fdac30a7e6 SAMA5 PWM: PWM driver is now functional 2013-11-07 09:17:46 -06:00
Gregory Nutt
fadf0564c0 SAMA5 PWM: Cosmetic changes to debug output 2013-11-06 14:46:19 -06:00
Gregory Nutt
041565d69f SAMA5D3x-EK: Add support board-specific PWM testing 2013-11-06 14:38:19 -06:00
Gregory Nutt
231a43bd8d SAMA5 PWM: Driver now in build and configuration system 2013-11-06 12:24:51 -06:00
Gregory Nutt
cea00a2eec SAMA5 PWM: Add first cut at PWM driver 2013-11-06 10:55:12 -06:00
Gregory Nutt
3f80c56ad5 NSH library: Allow USB trace without a USB console 2013-11-06 07:09:00 -06:00
Gregory Nutt
6be2a979ef STM32 F1 USB device: Fix handling of EP0 start for large buffers; Add support for decoded USB trace strings. From Davice Sidrane 2013-11-05 08:56:06 -06:00
Gregory Nutt
9bd23408a7 SAMA5 CAN: Don't enable some many useless error interrupts 2013-11-04 11:29:16 -06:00
Gregory Nutt
f383c5d0a4 SAMA5 CAN: Fix a data alignment problem 2013-11-03 10:41:24 -06:00
Gregory Nutt
a652c6fe42 Fixing typos from previous check-ins. Also, missed the ARMv7 IDLE stack coloration 2013-11-01 16:06:43 -06:00
Gregory Nutt
04de5c4452 Port IDLE/interrupt stack coloration to ARM and ARMv7-A architectures 2013-11-01 15:30:18 -06:00
Gregory Nutt
b8085906b9 Extend stack debug logic to include IDLE and interrupt stacks. Also color the heap as well. Based on suggestions from David Sidrane 2013-11-01 11:16:51 -06:00
Gregory Nutt
cfcd3cc74b arch/arm/src/stm32/stm32_usbdev.c: On a failure to bind the class driver, the driver reference was being nullified too soon. This caused an exception in usbdev_reset() later. The driver reference will be null
ified later usbdev_unregister when the caller gets the error.  From David Sidrane
2013-10-31 15:27:52 -06:00
Gregory Nutt
dfbaa301e7 SAMA5 PWM register definition header file 2013-10-31 10:33:43 -06:00
Gregory Nutt
209d5e8383 SAMA5 SSC: Add SSC register definition header file 2013-10-30 16:15:51 -06:00
Gregory Nutt
5161f9b7ba apps/platform: A new now for platform-specific applicatin code 2013-10-30 09:04:37 -06:00
Gregory Nutt
dda3d9c47e Minor changes while pondering a camera interface 2013-10-29 16:57:06 -06:00
Gregory Nutt
08b85d4465 SAMA5 ADC: Seems functional in all modes including DMA 2013-10-28 10:08:12 -06:00
Gregory Nutt
848349bbd7 STM32 SPI DMA: Fix related to CONFIG_STM32_DMACAPABLE from Ken Pettit 2013-10-27 16:23:44 -06:00
Gregory Nutt
93421a988e SAMA5 ADC: If DMA is enabled, then you should be able to configuration larger DMA transfers 2013-10-27 12:04:37 -06:00
Gregory Nutt
5033b9e3d6 SAMA5 ADC: Fix sample frequency scaling and sequencer setup 2013-10-27 10:29:07 -06:00
Gregory Nutt
5c5faa3119 SAMA5 ADC: Correct setup of time compare registers 2013-10-27 09:35:30 -06:00
Gregory Nutt
4bbe259082 SAM3/4 serial: Same supersitituous change as for SAMA5 2013-10-26 16:17:07 -06:00
Gregory Nutt
017d23cdb8 SAMA5 serial: Restore logic to minimize TX interrupts. Oddly, seems to improve ADC stability 2013-10-26 16:02:07 -06:00
Gregory Nutt
f090583cb2 SAMA5 TC: Debug instrumentation 2013-10-26 14:03:30 -06:00
Gregory Nutt
48ac4dcc2e SAMA5: Register definition file for camera interface 2013-10-26 08:25:58 -06:00
Gregory Nutt
6c7528f48c arch/arm/src/sama5/sam_adc.c: Remove a warning 2013-10-25 15:18:32 -06:00
Gregory Nutt
cf3845919b Add ioctl to support software triggering of ADC/DAC conversions 2013-10-25 14:19:09 -06:00
Gregory Nutt
48bcb3f141 sam_tc.c: Fix a timer initialization bug 2013-10-25 10:05:00 -06:00
Gregory Nutt
dad8aa9781 SAMA5 ADC+TC: Several updates/fixes from ongoing debug 2013-10-25 08:46:57 -06:00
Gregory Nutt
15c2d87fb9 SAMA5 ADC+TC: Early debug fixes + lots of new debug instrumentation 2013-10-24 16:50:51 -06:00
Gregory Nutt
29342298d3 SAMA5D3x-EK: Add support for app/examples/adc 2013-10-24 15:39:56 -06:00
Gregory Nutt
0e74e0fca1 SAMA5: Add ADC-side of the logic to hook in timer/counter logic needed to drive periodic ADC sampling 2013-10-24 13:56:23 -06:00
Gregory Nutt
8710cd4352 SAMA5: Hook in timer/counter logic so that it can driver periodic ADC sampling 2013-10-24 12:35:42 -06:00
Gregory Nutt
9f5b9c20fe STM32 PWM and ADC: Add some bits that should have been cleared. From Martin Lederhilger 2013-10-24 08:27:09 -06:00
Gregory Nutt
eb648c585b Add support for the STM32F207ZE chip. From Martin Lederhilger 2013-10-24 08:25:05 -06:00
Gregory Nutt
df0fc71210 Remove carriage returns from SAMA5 TC files just commited 2013-10-23 15:39:00 -06:00
Gregory Nutt
22d7fae119 SAMA5 Timer/counter library 2013-10-23 14:53:37 -06:00
Gregory Nutt
7692af99b6 STM32 F1 DAM fix from David Sidrane 2013-10-23 14:05:26 -06:00
Gregory Nutt
6a4ffaca12 SAMA5 CAN: Update readme on how to configure CAN 2013-10-23 11:32:12 -06:00
Gregory Nutt
13e074c5d4 Update Changelog 2013-10-23 09:13:28 -06:00
Gregory Nutt
856355668c SAMA5 CAN: Driver is now code complete but still untested 2013-10-22 15:47:52 -06:00
Gregory Nutt
46b0349408 SAMA5: Beginning of a CAN driver 2013-10-21 15:52:23 -06:00
Gregory Nutt
2edc58e383 SAMA5 CAN: Add register definition file 2013-10-21 12:22:27 -06:00
Gregory Nutt
f890af8e53 SAMA5 TC: Add timer/counter register definition file 2013-10-20 14:47:02 -06:00
Gregory Nutt
84973e9956 SAMA5 TRNG: /dev/random appears to be functional 2013-10-20 12:08:39 -06:00
Gregory Nutt
386daa25ca SAMA5 TRNG: Add a /dev/random driver based on the SAMA5D3 TRNG peripheral 2013-10-20 11:38:31 -06:00
Gregory Nutt
1e2c37c04f SAMA5 WDT driver is now functional 2013-10-20 09:24:30 -06:00
Gregory Nutt
fe425e18a6 SAMA5 WDT: Miss watchdog fixes 2013-10-20 08:24:05 -06:00
Gregory Nutt
7a1d5866e5 SAMA5: Initial WDT timer (untested) 2013-10-19 12:26:47 -06:00
Gregory Nutt
49b3366eff SAMA5: Hook RTC into build system; Finish RTC alarm logic; Verify correct behavior of the basic RTC functionality 2013-10-19 10:41:20 -06:00
Gregory Nutt
0a5d287e69 SAMA5: Add GPBR register definitions 2013-10-19 10:22:21 -06:00
Gregory Nutt
d1d9cf4de6 SAMA5 RTC: Beginning of an RTC driver for the SAMA5 2013-10-18 16:56:46 -06:00
Gregory Nutt
0eea9f2ebe SAMA5: Add RTC and WDT register definition header files 2013-10-18 14:47:50 -06:00
Gregory Nutt
b661ba3e2a STM32 DMA Priority: Select the correct default for F1 and other family members 2013-10-18 14:13:53 -06:00
Gregory Nutt
1b3127149c SAMA5 LCD: Move framebuffers to center of free memory region. That creates a guard band around the framebuffers that gives a little protection from any bad writes into the framebuffer 2013-10-18 10:11:20 -06:00
Gregory Nutt
5c3f7f118c Add SDIO preflight method 2013-10-18 08:15:09 -06:00
Gregory Nutt
fd468d219f Changes to stm32_dmacapable interfaces from Mike Smith 2013-10-18 08:06:23 -06:00
Gregory Nutt
0c44715f07 STM32 DMA priority corrections from Mike Smith 2013-10-18 07:37:24 -06:00
Gregory Nutt
cda1fd00c7 Typo fixes for UART7 and UART8 DMA configs. From Mike Smith 2013-10-18 07:17:55 -06:00
Gregory Nutt
2d831bc717 SAMA5 TSD: Fix to prohibit reading samples when not valid 2013-10-17 17:26:06 -06:00
Gregory Nutt
8924101566 STM32 F103C: Correct some errors in pinmapping. From David Sidrane 2013-10-16 07:26:41 -06:00
Gregory Nutt
83982f3ef9 Misc changes to README files; Update SAMA5D3x-EK NxWM configuration to use Calibration instruction messages 2013-10-14 14:53:38 -06:00
Gregory Nutt
98ffd096a0 SAMA5 LCDC: Correct how framebuffer memory was being mapped; Remove options to get framebuffer memory in various. Because of the mapping and aligment requirements, those options really cannot be supported 2013-10-13 13:08:05 -06:00
Gregory Nutt
a3bb8d3d94 SAMA5 LCDC: Move framebuffer to lower memory; I suspect some corruption by interference 2013-10-13 10:42:14 -06:00
Gregory Nutt
34557b8c6b SAMA5 LCDC: Fixed backlight PWM divider. Backlight no longer flashes 2013-10-11 17:12:35 -06:00
Gregory Nutt
1d0e7aaeff SAMA5 LCDC: Wait when the LCDC is resynchronizing (SIF); Try start-up parameters from Barebox (this still don't work) 2013-10-10 18:44:08 -06:00
Gregory Nutt
57d04d3ff5 SAMA5 LCDC: Default resolution if now RGB565; Add option to select a different output resolution than the sofware resolution (needs to the 24BPP for this LCD). 2013-10-10 18:41:42 -06:00
Gregory Nutt
c79ae66fc2 SAMA5 LCDC: Move DMA descriptors out of internal SRAM and into SDRAM. I am not completely clear, but it looks like the LCDC cannot support DMA from internal SRAM 2013-10-10 12:02:41 -06:00
Gregory Nutt
1dfcee203c SAMA5: Allow portions of external memory to be added to the heap instead of the whole thing 2013-10-10 12:00:32 -06:00
Gregory Nutt
e4e4912712 SAMA5 LCDC: Fix a few compilation errors that show up when additional layers are enabled 2013-10-09 18:46:05 -06:00
Gregory Nutt
b7f4a51ee2 SAMA5 LCDC: Few more bug fixes but still not working 2013-10-09 18:22:21 -06:00
Gregory Nutt
cc23806fa1 SAMA5 LCDC: Corrections from first debug sessions. Still a way to go 2013-10-09 13:21:27 -06:00
Gregory Nutt
f3a4fc42d7 SAMA5: LCDC driver incorporated into the build system. 2013-10-08 15:30:38 -06:00
Gregory Nutt
3ccbb7a07f SAMA5: LCD driver is code complete but untested 2013-10-08 12:16:30 -06:00
Gregory Nutt
3fd7f4f855 SAMA5: More LCDC driver progress 2013-10-08 08:57:48 -06:00
Gregory Nutt
f6dc32c30c SAMA5: More LCDC driver progress 2013-10-07 15:54:08 -06:00
Gregory Nutt
c7c6186356 SAMA5: LCDC driver progress 2013-10-07 12:05:16 -06:00
Gregory Nutt
cfd257cc0c SAMA5 LCDC: Add 'skeleton' files that will eventually become an LCDC driver for the SAMA5 2013-10-06 09:08:52 -06:00
Gregory Nutt
74db990b7e SAMA5: Completes LDCDC register definition file 2013-10-04 15:43:19 -06:00
Gregory Nutt
021bdecb05 SAMA5: Add LCD register definition header file 2013-10-04 10:11:12 -06:00
Gregory Nutt
5c9926b61e SAMA5: Touchscreen driver now works 2013-10-04 08:03:38 -06:00
Gregory Nutt
ac66287ba7 SAMA5: First changes from touchscreen debug 2013-10-03 17:11:30 -06:00
Gregory Nutt
889ea78194 SAMA5: ADC and touchscreen drivers now build without errors 2013-10-03 14:32:21 -06:00
Gregory Nutt
0001191f6c SAMA5: Integrate touchscreen and ADC drivers into the build 2013-10-03 12:49:13 -06:00
Gregory Nutt
db6d76baf5 SAMA5 ADC and touchscreen: Drivers are code complete and ready for test 2013-10-03 10:06:14 -06:00
Gregory Nutt
8b8523f935 SAMA Touchscreen/ADC: More progress 2013-10-02 16:55:22 -06:00
Gregory Nutt
b885459624 Add framework for Spark Core board support. The initial commit is a clone of the Maple Mini and still needs Spark customizations 2013-10-02 08:24:46 -06:00
Gregory Nutt
afa475e948 SAMA5 ADC/Touchscreen: A little more logic 2013-10-01 14:40:34 -06:00
Gregory Nutt
183421fe07 KL: Now builds up_puts 2013-10-01 11:51:27 -06:00
Gregory Nutt
e4074e1e21 KL: Missing header file in low level getc logic 2013-10-01 11:25:01 -06:00
Gregory Nutt
bb6b31f495 SAMA5 touchscreen and ADC: A little more progress 2013-10-01 11:23:24 -06:00
Gregory Nutt
7120517af0 SAMA5 ADC/Touchscreen: A little more progress. Still not complete 2013-09-30 14:28:42 -06:00
Gregory Nutt
d4e689ef1a Add freedom-kl25z/minnsh configuration: This is an experiment to see just how small we and get an NSH configuration. From Alan Carvalho de Assis. 2013-09-30 09:20:11 -06:00
Gregory Nutt
dc3ac21264 KL25Z: Add low-level up_lowgetc function that can be used to provide an NSH console when the file system (and hence the serial driver) is disabled. From Alan Carvalho de Assis 2013-09-30 09:15:31 -06:00
Gregory Nutt
babcd56908 KL25Z: Add low-level up_lowgetc function that can be used to provide an NSH console when the file system (and hence the serial driver) is disabled. From Alan Carvalho de Assis 2013-09-30 09:11:54 -06:00
Gregory Nutt
3027dd3c54 SAMA5: Framework for an touchscreen driver (incomplete) 2013-09-30 09:04:21 -06:00
Gregory Nutt
e1fc3f51b3 SAMA5 ADC: Framework for an ADC driver (incomplete) 2013-09-30 07:22:34 -06:00
Gregory Nutt
05eb7e3da4 SAMA5 ADC: Beginning ADC register definition file 2013-09-29 18:34:09 -06:00
Gregory Nutt
fbf5359a39 Work around a start-up error in the GMAC that I still do not understand 2013-09-29 16:46:22 -06:00
Gregory Nutt
0e5caa2ae3 SAMA5 GMAC: Various fixes from initial debug 2013-09-29 15:03:57 -06:00
Gregory Nutt
7c81618f2f Dependency generation fix for directories that keep object files in a sub-directory 2013-09-29 11:46:10 -06:00
Gregory Nutt
4aaee6fb3c Clean up some naming: fd vs. fildes vs. filedes and filep vs filp 2013-09-28 16:50:07 -06:00
Gregory Nutt
22d0ebeb07 configs/compal_e88 converted to use the kconfig-frontends tools 2013-09-27 16:12:44 -06:00
Gregory Nutt
9fcbd8879a SAMA5 GMAC and GMII support is code complete and ready for test 2013-09-27 13:12:04 -06:00
Gregory Nutt
f519f94926 Networking: Fix backward conditional in test to see if address is in ARP table. From Max Holtzberg 2013-09-27 08:27:35 -06:00
Gregory Nutt
fbd09bd75f Beginng of support for GMII/RGMII PHYs 2013-09-26 15:55:21 -06:00
Gregory Nutt
48f1227fbf SAMA5 GMAC: Initial driver check-in is just the EMAC driver forced to compile with the GMAC register definitions 2013-09-26 10:35:52 -06:00
Gregory Nutt
9dd0680f0e SAMA5: Completes GMAC register definition header file 2013-09-26 09:13:14 -06:00
Gregory Nutt
5f4682c874 SAMA5 EMAC: Need to pace RX and TX because and RX can result in a TX; Process TX interrupt events before TX interrupt events for the same reason 2013-09-25 14:22:35 -06:00
Gregory Nutt
d53a0189f7 SAMA5 EMAC: Add some need D-Cache Flush/Invalidate operations. Add support for CONFIG_NET_DUMPPACKET 2013-09-25 11:51:49 -06:00
Gregory Nutt
ea4c8bbf68 Move CONFIG_NET_DUMPPACKET from LPC17 and STM32 to commong network drivers. Automatically enabled CONFIG_NETDEVICES when any Ethernet driver is enabled 2013-09-25 11:50:31 -06:00
Gregory Nutt
52b0a16cd3 Move CONFIG_NET_DUMPPACKET from LPC17 and STM32 to commong network drivers. Automatically enabled CONFIG_NETDEVICES when any Ethernet driver is enabled 2013-09-25 11:50:05 -06:00
Gregory Nutt
694080ba47 Fix badly applied patch to ENCX24J600 2013-09-25 08:26:56 -06:00
Gregory Nutt
d979859754 SAMA5 UDPHS: Dont' reject read request submissions while stalled. That causes an infinite loop. When stalling, cancel all pending write requests, but cancel only a reqd request if it is in progress. It will be immediately requeued 2013-09-24 15:06:17 -06:00
Gregory Nutt
5783fec78b Comment out assertion that apparently fires inappropriately 2013-09-24 15:01:25 -06:00
Gregory Nutt
245f5ad32d Slightly improved debug output 2013-09-24 13:47:03 -06:00
Gregory Nutt
f0ca9c2a8d Stack monitor fixes 2013-09-24 12:14:52 -06:00
Gregory Nutt
a8461747b9 Standardize stack checking interface 2013-09-24 11:45:13 -06:00
Gregory Nutt
7c767c4ebe SAMA5 UDPHS: Minor clean-up of STALL logic 2013-09-23 18:10:41 -06:00
Gregory Nutt
a070e748fd SAMA5 HSMCI: Disable TX DMA. it is not reliable 2013-09-23 13:54:32 -06:00
Gregory Nutt
d167a09c74 SAMA5 HSMCI DMA clean-up. There are still some issues 2013-09-23 11:25:39 -06:00
Gregory Nutt
306a8743e0 Cosmetic changes to comments and coding style fixes 2013-09-22 14:48:22 -06:00
Gregory Nutt
b2e3a95565 Un-neccesary, cosmetic changes to label names and comments 2013-09-22 08:54:06 -06:00
Gregory Nutt
a768f32532 SAMA5 OHCI: Back out a change, the real root cause was a bug in the cache logic so the hack is no longer necessary 2013-09-22 07:53:51 -06:00
Gregory Nutt
d1ac44242f ARMv7-A: Fix some error in alignment to cache line boundaries in the cache operations 2013-09-21 15:47:00 -06:00
Gregory Nutt
da37aa6413 SAMA5 OHCI: Fix some strange Dcache problems that I still don't understand; end address on cache operations is end+1, not end 2013-09-21 12:21:10 -06:00
Gregory Nutt
c9050ae5fd ARMv7-A: Clarify end address paramet in cache operations: It is the end+1 address, not the end address 2013-09-21 12:16:34 -06:00
Gregory Nutt
f3d56e8695 SAMA5 OHCI: Fix some problems with D-Cache coherency and physical addressing related to interrupt endpoints 2013-09-20 15:22:09 -06:00
Gregory Nutt
f72ad05d0f SAMA5 OHCI: When UPLL drives OHCI the logically correct divider of 10 does not work; But a divider of 5 does. Why? 2013-09-19 16:10:46 -06:00
Gregory Nutt
07cca4b318 SAMA5 EHCI: Fix bits being clobbered in PORTSC on hand-off to OHCI. OHCI: Fix some more trace configuration issues. Both: Don't muck with SFR port selection bits once they have been initialized 2013-09-19 10:52:33 -06:00
Gregory Nutt
f7436ee22f More USB host trace conditional compilation problems 2013-09-19 09:08:55 -06:00
Gregory Nutt
48ed2b88d3 Fix inconsistency in USB host tracing definitions 2013-09-19 08:46:33 -06:00
Gregory Nutt
ef9032b4d6 SAMA5: Add support for the FPU OS test 2013-09-18 10:35:03 -06:00
Gregory Nutt
71354eb2c3 LPC17xx SPI: Remove an unused static prototype that caused a compile time warning 2013-09-17 17:14:08 -06:00
Gregory Nutt
425c26d27a SAMA5 EMAC: Changes from early debug sessions. Still a way to go 2013-09-17 15:52:19 -06:00
Gregory Nutt
2c63995099 SAMA5 EMAC: Resolve issues with DUAL PHY support needed for both EMAC and GMAC peripherals. EMAC driver is now code complete and builds without complaint 2013-09-17 10:55:13 -06:00
Gregory Nutt
82cd614b66 Add prefex ETH0 to all PHY configurations to support multiple NICs 2013-09-17 10:45:07 -06:00
Gregory Nutt
a634dc0f33 SAMA4 EMAC: Remove some editor garbage that ended up in the last commit 2013-09-16 18:04:38 -06:00
Gregory Nutt
ec499a3aa8 SAMA5 EMAC: Add basic PHY logic 2013-09-16 18:00:21 -06:00
Gregory Nutt
2a10afb311 SAMA5 EMAC: Packet transmission logic 2013-09-16 14:58:11 -06:00
Gregory Nutt
97a0e3b74b SAMA4 EMAC: Add basic interrupt handling logic 2013-09-16 13:57:57 -06:00
Gregory Nutt
f267cea5b6 SAMA5 EMAC: Incremental progress. Still not code complete 2013-09-16 11:36:12 -06:00
Gregory Nutt
47d4b41bad Freescale Kinetis KL25Z PIT and TPM module register definitions 2013-09-15 17:00:50 -06:00
Gregory Nutt
ec03861315 SAMA4 EMAC buffer allocation logic 2013-09-15 14:26:25 -06:00
Gregory Nutt
45e4425687 SAMA5 Ethernet: Add support for PHY interrupts 2013-09-15 12:24:42 -06:00
Gregory Nutt
7c13790901 SAMA5: Update Ethernet initalization logic to handle both EMAC and GMAC 2013-09-14 08:19:36 -06:00
Gregory Nutt
7b6a1a57eb SAMA5 EMAC: Create a empty, skeleton file that will eventually become the SAMA5 EMAC driver 2013-09-13 15:04:46 -06:00
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
363df90d81 SAMA5 EMAC and GMAC: More additions to register definition files 2013-09-13 03:35:56 -06:00
Gregory Nutt
91a065e9fc SAMA5: Beginning of EMAC and GMAC register definition header files 2013-09-12 15:45:12 -06:00
Gregory Nutt
9f937bc0e4 SAMA5D3x-EK README update 2013-09-12 14:17:56 -06:00
Gregory Nutt
1d40c068fb SAMA5 TWI: Misc improvements during debug (still not getting interupts) 2013-09-12 12:25:31 -06:00
Gregory Nutt
3bb6a8b164 SAMA5 TWI: Cleanup compilation errors that occur when I2C debug is enabled 2013-09-12 09:46:20 -06:00
Gregory Nutt
950ea5830a SAMA5 TWI: Add support for I2C readwrite and transfer methods 2013-09-11 17:52:23 -06:00
Gregory Nutt
42b547f73c SAMA5: Barebones TWI driver implementation 2013-09-11 16:48:56 -06:00
Gregory Nutt
f2a5c43b25 SAMA5: Framework for a TWI driver (incomplete) 2013-09-11 12:28:52 -06:00
Gregory Nutt
f9afaf89fc SAMA5: TWI register definition file 2013-09-11 10:23:46 -06:00
Gregory Nutt
11a515eca0 SAMA5D3x-EK demo configuration now supports HSMCI0 and HSMCI1 2013-09-11 09:50:36 -06:00
Gregory Nutt
dac363d43e Clean-up a few USB trace formats 2013-09-10 16:17:06 -06:00
Gregory Nutt
9f3e2e3bec SAMA5: Add tracing support to the OHCI driver 2013-09-10 16:01:44 -06:00
Gregory Nutt
92aa5785bf SAMA5 EHCI: Did not work with DEBUG off. Appears to be because of some D-Cache flushing that was performed only with DEBUG ON. Now is unconditional 2013-09-10 10:12:51 -06:00
Gregory Nutt
a4e6a3b80f Extent the the USB host trace logic to include verbose debug output 2013-09-09 17:27:21 -06:00
Gregory Nutt
1a18d1e3e7 USB monitor extended so that it can also be used with USB host trace data 2013-09-09 15:02:33 -06:00
Gregory Nutt
8f69c6c66c Beginning of support for USB host side tracing 2013-09-09 14:01:52 -06:00
Gregory Nutt
31e1e7506a USB MSC host class driver: Don't bother retrying to initialize the FLASH if the interface is returning fatal transfer errors 2013-09-09 10:00:16 -06:00
Gregory Nutt
10a9fcff30 Trivial updates assocaited with USB host mass storage and SAMA5 EHCI 2013-09-08 13:42:56 -06:00
Gregory Nutt
e5841a74a9 SAMA5: Add support EHCI/OHCI to sama5d3x-ek/demo (does not work yet); Fix some EHCI/OHCI compilation issues when DEBUG is disabled 2013-09-07 11:43:06 -06:00
Gregory Nutt
6e5df6259e SAMA5D3x-EK: Add a new 'demo' configuration 2013-09-06 11:40:46 -06:00
Gregory Nutt
1fcc8894e6 CDC/ACM and PL2303 device drivers: Don't use the max packet size assigned to an endpoint in order to determine the request buffer size. The endpoint has not yet been configured that max packet size may be wrong. 2013-09-05 18:00:16 -06:00
Gregory Nutt
ec01a41da7 SAMA5 UDPHS: Fix bad setup for sam_req_write call introduce in last commit 2013-09-05 15:51:27 -06:00
Gregory Nutt
54d5e1a49d SAMA5 UDPHS: Major changes to DMA interrupt and request handling to better handle DMA 2013-09-05 14:33:27 -06:00
Gregory Nutt
9861f18ee1 SAMA5 UDPHS: Fix DMA channel vs. matching endpoint 2013-09-04 15:08:19 -06:00
Gregory Nutt
75b53ad12b SAMA5 UDPHS: More USB fixes mostly related to byte counts, endpoint configuration, and dma configuration 2013-09-04 13:36:52 -06:00
Gregory Nutt
2d9c62d3ef SAMA5 UDPHS: More zero length packet fixes; revamped request queue structures 2013-09-04 09:48:08 -06:00
Gregory Nutt
c09b08f4a5 SAMA5 UDPHS: Fixes related to null packet and SETUP OUT data handling 2013-09-03 19:13:34 -06:00
Gregory Nutt
3e505efe73 SAMA5 UDPHS: Small change to zero length packet handling 2013-09-03 16:24:11 -06:00
Gregory Nutt
adc7248d6c SAMA5 UDPHS: Fix some issues with TX interrupt handling 2013-09-03 14:53:10 -06:00
Gregory Nutt
74d0e02850 SAMA5 UDPHS: A little debugging progress. Not all transfers are working yet 2013-09-03 13:09:50 -06:00
Gregory Nutt
4e2894c6ae SAMA5 UDPHS: Changes from initial debug session. Still a long way to go 2013-09-02 16:59:07 -06:00
Gregory Nutt
abd29a5ede SAMA5 UDPHS: Fixes related to soft connect pullup and DMA buffer allocation 2013-09-02 14:55:33 -06:00
Gregory Nutt
df39b67fd6 SAMA5 UDPHS: Some very early debug corrections. Not yet working. 2013-09-02 12:26:15 -06:00
Gregory Nutt
8905de3826 SAMA5 UDPHS: Add logic to handle deferred address setting; add logic to handle EP0 SETUP OUT data 2013-09-02 10:08:18 -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
4cbe61cdd3 SAMA5 UDPHS: Clean up some write request handling 2013-09-01 16:56:22 -06:00
Gregory Nutt
7fd159779e SAMA5 UDPHS: Resolve a few of easier REVISIT pre-processor warnings 2013-09-01 15:36:17 -06:00
Gregory Nutt
80a498aa8b SAMA5 UPPHS: Fix a small mountain of compilation errors. Still things to REVISIT so it is not ready for test 2013-09-01 11:31:12 -06:00
Gregory Nutt
3ba3dfd9bc SAMA5 UDPHS: Support USPHS clock configuration 2013-09-01 11:29:51 -06:00
Gregory Nutt
06355a17e1 SAMA UDPHS: Add pull-up and stall logic. Added to build system but does not yet build 2013-08-31 17:37:51 -06:00
Gregory Nutt
30cf03d3e8 SAMA5 UDPHS: Add endpoint configuration and read DMA logic 2013-08-31 12:20:00 -06:00
Gregory Nutt
f22b388cb4 SAMA5 UDPHS: Bring in UDPHS endpoint interrupt handling logic 2013-08-31 10:43:58 -06:00
Gregory Nutt
ab1c21609d SAMA5 UDPHS: Write DMA logic added. Still incomplete 2013-08-30 15:41:06 -06:00
Gregory Nutt
07ffab9308 SAMA5: Updated UDPHS driver. Still incomplete 2013-08-30 14:51:41 -06:00
Gregory Nutt
ca2709296d SAMA5 UDPHS interrupt decoding logic 2013-08-29 18:11:34 -06:00
Gregory Nutt
eeaeb369fe SAMA5 UDPHS interrupt decoding logic 2013-08-29 17:34:05 -06:00
Gregory Nutt
a4f58596d4 SAMA5: Initial framework for a UDPHS USB device side driver 2013-08-29 16:29:27 -06:00
Gregory Nutt
b47e1933f5 SAMA5: Add high-speed USB register definition header file 2013-08-28 17:50:05 -06:00
Gregory Nutt
4508986dbb SAMA5 EHCI: Implemented (but did not test) interrupt endpoint logic 2013-08-28 13:07:35 -06:00
Gregory Nutt
6acb286c39 SAMA5 EHCI: Correct and extend pool allocation logic; Fix data toggle values 2013-08-28 10:03:48 -06:00
Gregory Nutt
556446e3a1 SAMA5: Fixes a bug in the way that the heap regions were being allocated 2013-08-27 16:43:19 -06:00
Gregory Nutt
e1fe1c3037 SAMA5 OHCI+EHCI: Using cp15_clean instead of cp15_coherent; EHCI: Need to set alt pointer in order to handle short transfers. 2013-08-27 13:07:21 -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
a55dda98b3 Add hooks to select Cortex-A8 2013-08-27 08:46:37 -06:00
Gregory Nutt
f69688422f SAMA4 EHCI: Correct some backward conditional compilation; fix some warnings 2013-08-26 17:03:52 -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
f500338401 SAMA5 EHCI: Status phase is the opposite direction as the data phase 2013-08-26 14:28:13 -06:00
Gregory Nutt
78812d5b80 SAMA5 EHCI: Taking direction from wrong bit in SETUP request; need to flush data buffer before starting SETUP request 2013-08-26 11:05:23 -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
250956c803 SAMA5 EHCI: Data toggle and status phase fixes 2013-08-25 14:45:08 -06:00
Gregory Nutt
d35e1c6bd4 EHCI reset bit was not being set correctly 2013-08-25 10:46:41 -06:00
Gregory Nutt
21566c02d6 SAMA5 OHCI: Fix semaphore handling bug. OHCI is now function by itself again after changes to integrate with EHCI 2013-08-25 08:57:35 -06:00
Gregory Nutt
254ebdaa4c SAMA5 OHCI: Fix backward conditional compilation. Clean-up OHCI/EHCI debug output 2013-08-25 08:30:21 -06:00
Gregory Nutt
02fc7a5a08 SAMA5D3x-EK: Fix some backward conditional compilation 2013-08-24 14:06:47 -06:00
Gregory Nutt
26c03779f8 SAMA5: OHCI various bugfixes for interrupt handling 2013-08-24 13:03:15 -06:00
Gregory Nutt
28a103f1f2 SAMA5: EHCI now handles low- and full-speed connections by giving them to OHCI; OHCI now uses the work queue to defer interrupt processing; If both OHCI and EHCI are enabled, EHCI is the master of the UHPHS interrupt 2013-08-24 11:34:24 -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
d7cba5e5ca SAMA5/ECHI: Debug register access, add logic to determine transfer size, fix setting of control bit in token 2013-08-23 16:23:15 -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
1383701e7e SAMA5 EHCI: cosmetic changes 2013-08-23 11:26:17 -06:00
Gregory Nutt
189174e26b SAMA5: Add support for sharing ports when both OHCI and EHCI are enabled 2013-08-23 10:58:30 -06:00
Gregory Nutt
e59924a9e6 SAMA5 EHCI: Fix some list traversal bugs 2013-08-22 19:32:24 -06:00
Gregory Nutt
b7330bc849 SAMA5 EHCI: Initial debug changes 2013-08-22 17:25:00 -06:00
Gregory Nutt
e581bfeb29 SAMA5 EHCI: No complete for bulk and control endpoints 2013-08-22 13:36:16 -06:00
Gregory Nutt
ea2e4c11f8 SAMA5 EHCI: Add data transfer logic for asynchronous endpoints 2013-08-22 10:27:46 -06:00
Gregory Nutt
da3ff83fc3 SAMA5 EHCI: Add IOC error handling 2013-08-22 09:23:01 -06:00
Gregory Nutt
73efdf8d05 SAMA5 EHCI: transfer termination logic. Incomplete 2013-08-21 17:08:12 -06:00
Gregory Nutt
f831c8fe94 SAMA5 EHCI: Hardware initialization logic 2013-08-21 13:45:54 -06:00
Gregory Nutt
c109c39be7 Move all SAMA5 EHCI interrupt handling to the worker thread 2013-08-21 11:07:42 -06:00
Gregory Nutt
9f6ae9332f SAMA5 EHCI: At list-oriented cache operations 2013-08-20 18:06:04 -06:00
Gregory Nutt
514826eeb1 Add SAMA5 EHCI list traversal logic 2013-08-20 17:01:30 -06:00
Gregory Nutt
6a79cea2c0 Beginning of support for SAMA5 EHCI. Not much there yet 2013-08-20 15:46:36 -06:00
Gregory Nutt
609dc65235 Add kernel/user memalign functions. Not fully integrated 2013-08-20 13:04:49 -06:00
Gregory Nutt
4d5789dfdd SAMA5 OHCI+EHCI mostly cosmetic changes 2013-08-19 15:03:14 -06:00
Gregory Nutt
4bf3dbe149 USB host: Add device address management support in preparation for USB hub support 2013-08-18 14:31:57 -06:00
Gregory Nutt
a6e6b4ba2d Add few more EHCI definitions 2013-08-18 13:01:13 -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
b33de2b618 Add EHCI header file (not quite complete) 2013-08-17 14:19:18 -06:00
Gregory Nutt
a0837fca6c SAMA5 OHCI: Driver is now basically functional 2013-08-16 13:13:21 -06:00
Gregory Nutt
db42d9350c SAMA5 OHCI: Re-organize some endpoint list data structures.. Strange things happen when semaphores lie in DMA memory which is occasionally invalidated 2013-08-16 11:36:51 -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
94bcdc66b0 SAMA5 OHCI: Don't prealloc RH port TDs and EDs. Allocate from a free list like other cases 2013-08-15 17:15:08 -06:00
Gregory Nutt
41c068f652 SAMA5 OHCI: Fix errors in cache handling; Don't add ED to control list until port is connected 2013-08-15 15:28:27 -06:00
Gregory Nutt
e23a92243c SAMA5: ports should not be reset state (seems to make no difference) 2013-08-14 17:33:31 -06:00
Gregory Nutt
49f3831e11 SAMA5: Alternatie clock configuration that yields a perfect 48MHz full speed USB clock and a CPU clock of 384MHz 2013-08-14 15:16:04 -06:00
Gregory Nutt
e32b60a78c SAMA5 OHCI: Use physical address and flush and/or invalidate data caches as necessary 2013-08-14 12:23:06 -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
d0fbea35eb Separate SAMA5 OHCI interrupt handling into separate functions 2013-08-13 13:34:35 -06:00
Gregory Nutt
7339c1c5e6 SAMA5 OHCI: Fix some erors in the loop that waits for device connection changes 2013-08-13 09:44:16 -06:00
Gregory Nutt
6d72cccdf0 Fix re-entry problem in SAMA5 up_putc 2013-08-13 09:42:40 -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
f5a0ce709c SAMA5: Add logic to control VBUS power for OHCI 2013-08-12 11:59:10 -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