Commit Graph

3058 Commits

Author SHA1 Message Date
Gregory Nutt
fd08872892 Costmetic changes to some comments 2014-04-14 16:36:07 -06:00
Gregory Nutt
d4fc5ec41c examples/touchscreen: Add a configuration option to indicate that there is or is not an architecture-specific initialization function 2014-04-14 12:26:49 -06:00
Gregory Nutt
25d4ff745b More trailing whilespace removal 2014-04-13 16:22:22 -06:00
Gregory Nutt
b7c65adeca Cosmetic changes for coding style; removal of dangling spaces at the end of lines 2014-04-13 13:18:06 -06:00
Gregory Nutt
c708eff608 Make sure that there is one space after for 2014-04-12 13:28:22 -06:00
Gregory Nutt
33d5d24964 Make sure that there is one space between while and condition 2014-04-12 13:09:48 -06:00
Gregory Nutt
eee82879cb Make sure that there is one space between if and condition 2014-04-12 12:53:19 -06:00
Gregory Nutt
65c6c071ff STM32 OTF FS host: Use of OTGFX_VTRACEn_ macros must match use of usbhost_tracen() interface 2014-04-12 10:09:37 -06:00
Gregory Nutt
bc144ad5d0 STM32 OTG FS Hose and others: Remove some warnings 2014-04-12 09:58:23 -06:00
Gregory Nutt
7bf7d8ebf6 STM32 OTGFS Host: Fix a logic error introduced in the last check-in 2014-04-12 09:33:52 -06:00
Gregory Nutt
aefb741a6a STM32 OTGFS: Host USB tracing instrumentation added by Leo 2014-04-12 08:44:22 -06:00
Gregory Nutt
27a7636440 SAMA5 TWI: Number of bytes transferred not be incremented on the first byte. From David Sidrane 2014-04-10 18:19:03 -06:00
Gregory Nutt
66df3afd46 mv ramlog.h and syslog.h to new include/nuttx/syslog 2014-04-10 09:29:30 -06:00
Gregory Nutt
1fa5d28754 Add logic for TM4C125GXL clocking based on prototype from from Daniel Carvalho with modifications. I think the LM4F120 may have broken before as well(?). In any event, the LM4F120 also works well with this chanage 2014-04-07 15:32:13 -06:00
Gregory Nutt
2a1212bf48 Cosmetic changes to comments and README 2014-04-07 15:28:04 -06:00
Gregory Nutt
43abe85674 Updated README files and comments 2014-04-07 07:43:28 -06:00
Gregory Nutt
398bf81c18 SAMA5 UDPHS: Fix error where bit was not cleared to acknowledge receipt of data and to setup for the next incoming data 2014-04-06 13:13:31 -06:00
Gregory Nutt
3e710c0080 SAMA5 clocking: USB clock setup needs to be done no matter the state of BMS and not matter how we are booting 2014-04-05 11:53:20 -06:00
Gregory Nutt
4993dd6ed3 Cosmetic update to comments 2014-04-05 11:35:05 -06:00
Gregory Nutt
77c968e36a Kconfig: Remove warnings. ARCH_RAMFUNCS depends on ARCH_HAVE_RAMFUNCS, so it is not possible to select ARCH_RAMFUNCS wihtout ARCH_HAVE_RAMFUNCS 2014-04-04 16:26:24 -06:00
Gregory Nutt
78607a7ea9 SAMA5: Don't use MMU PMD bufferable bit to try to control write-through vs write-back. It does not work that way 2014-04-04 16:05:20 -06:00
Gregory Nutt
0b014faa75 SAMA5 boards: Operation at 528Mhz has been verified 2014-04-04 10:36:53 -06:00
Gregory Nutt
e78f36e229 SAMA5: Update from David Sidrane to last RAM function change: Apparently inline functions need to placed into the same RAM section, or they do not get inlined. From David Sidrane 2014-04-04 08:59:39 -06:00
Gregory Nutt
724d2de086 Fix a build error when only USB device tracing is enabled (from David Sidrane). Also an update to the USB tracing document 2014-04-04 08:56:10 -06:00
Gregory Nutt
38e49b48c5 SAMA5: On some hardware, reconfiguring the PLL while executing out of NOR FLASH causes crashes. This was fixed by David Sidrane by implementing RAM functions. The killer code is copied and executed from ISRAM and the crash is avoided. 2014-04-03 16:08:18 -06:00
Gregory Nutt
e92eaabb3e SAMA5: Fix SAMA5 so that interpretation of BMS bit is correct. From David Sidrane 2014-04-03 15:47:34 -06:00
Gregory Nutt
489651d041 ARMv7-A: Typo fix from David Sidrane 2014-04-03 15:43:13 -06:00
Gregory Nutt
774a24a2c2 SAMA5: Cosmetic updates to comments and README files 2014-04-03 15:30:00 -06:00
Gregory Nutt
c00a3ce914 SAMA5: When booting from SDRAM, don't copy vectors to ISRAM. Instread just set the VBAR register to add address of the vectors in SDRAM 2014-04-03 14:09:11 -06:00
Gregory Nutt
362d539914 If LOWVECTORS is selected, then we need to clear the VBAR register. A bootloader may have left the VBAR in an bad state 2014-04-03 13:09:30 -06:00
Gregory Nutt
e3d2117b29 SAMA5: Make sure the MMU and caches are disabled on power up; flush the vector region D-Cache after copying interrupt vectors; make sure that D-Cache, I-Cache, and TLBs are invalidated after modifying the AXI MATRIX remapping 2014-04-02 16:27:00 -06:00
Gregory Nutt
3a1e08bc3c SAMA5: When running from SRAM, vectors must lie in ISRAM 2014-04-02 12:54:15 -06:00
Gregory Nutt
7372485e16 Updated comments and README 2014-04-02 09:03:29 -06:00
Gregory Nutt
df7429add0 SAMA5 DBGU: Add logic to suppress DBGU reconfiguration when started from a bootloader 2014-04-02 09:03:27 -06:00
Gregory Nutt
c6685c7f7d Fix typo introduced to the serial driver when the DBGU driver was added 2014-04-02 09:02:15 -06:00
Gregory Nutt
c0bf638798 SAMA5: Add support for DBGU. Xplained board now uses DBGU for the serial console 2014-04-01 11:24:15 -06:00
Gregory Nutt
cec5d575c0 Cosmetic update to comments and README files 2014-03-31 17:25:39 -06:00
Gregory Nutt
4a37d6b042 SAMA5: Add DBGU register definition header file 2014-03-31 17:25:16 -06:00
Gregory Nutt
cd45038326 Remove double mapping of SDRAM when running from SDRAM 2014-03-31 15:08:04 -06:00
Gregory Nutt
bb7fbad8bd cosmetic updates to comments 2014-03-30 10:25:01 -06:00
Gregory Nutt
9767d1f976 Fix some backward conditional compilation 2014-03-30 08:29:21 -06:00
Gregory Nutt
406e91e262 SAMA5: Remove HSCMI-related functions that did not belong in sam_pmc.c and give them their own file 2014-03-30 08:00:59 -06:00
Gregory Nutt
eacf905089 Fix a rounding problem in HSMCI divider calculation 2014-03-29 18:13:00 -06:00
Gregory Nutt
c20f9c71b1 SAMA5D23 boards: When running out of SDRAM, need to query the PMC to determine operating frequency 2014-03-29 17:51:06 -06:00
Gregory Nutt
ff594d859e SAMA5: Add functions to calculate PLLACK, PCK, and MCK frequencies given the main clock frequency 2014-03-29 15:54:10 -06:00
Gregory Nutt
797f149481 SAMA5D3 Xplained: Has no NOR flash. Remove all NOR support from board configuration 2014-03-29 15:05:09 -06:00
Gregory Nutt
73f0ff6c47 Documentatin updated; fix errors in some comments 2014-03-28 09:52:07 -06:00
Gregory Nutt
1b11e89c25 Add support for the SAMA5D36 2014-03-28 08:33:01 -06:00
Gregory Nutt
32ca368f16 Fix a warning that happens with debug is disabled 2014-03-26 16:32:38 -06:00
Gregory Nutt
e5360ef5d9 SAM4E CMCC: Fix some errors introducted in last check-in 2014-03-26 16:32:16 -06:00
Gregory Nutt
8f7d58c011 Eliminate some warnings 2014-03-26 16:31:26 -06:00
Gregory Nutt
67695a2248 SAM3/4: SPI and HSCMI drivers with now use the CMCC is available; The SPI driver will now handle word sizes greater than 8-bits 2014-03-26 13:19:44 -06:00
Gregory Nutt
be88e99ec8 SAM4E USP: Re-vamp read request queue handling. Add logic to handle RX overrun errors 2014-03-26 11:38:47 -06:00
Gregory Nutt
d2001a1dc3 tools/astyle.sh: Formatting tool based on logic from Lorenz Meier 2014-03-26 08:50:48 -06:00
Gregory Nutt
f1e6ea46ed SAMA5D3: Fix some typos in last blind changes backported from the SAM4e. And verified 2014-03-25 16:11:33 -06:00
Gregory Nutt
9a724d8b36 backport a serial console fix from the sam4e to the sama5d3 2014-03-25 14:34:07 -06:00
Gregory Nutt
9b5e800cc0 SAM3/4 CMCC: if region to be invalidate is bigger than that cache, then invalidate all 2014-03-25 14:25:22 -06:00
Gregory Nutt
99f9239a00 SAM3/4 Serial: Fix a mysterious multi-tasking bug that can lock up the serial port 2014-03-25 12:44:03 -06:00
Gregory Nutt
3425d20072 SAM3/4 HSMCI: Update configuration names to match last change to Kconfig 2014-03-24 17:42:28 -06:00
Gregory Nutt
fa3f78c821 Add missing HSCMI configuration options; Make HSMCI configuration naming more compatible; Fix HSCMI clocking to use the CLKODD bit 2014-03-24 14:25:40 -06:00
Gregory Nutt
ff7c62574a SAM3/4 HSCMI: Another fix for complication with SAM4E 2014-03-24 10:25:02 -06:00
Gregory Nutt
eddfa4222f STM32 EMAC: Add support for IGMP hash table update. From Manuel Stühn 2014-03-24 09:32:48 -06:00
Gregory Nutt
f2d44cd8db SAM3/4: Changes for clean HSMCI compilation 2014-03-23 15:52:14 -06:00
Gregory Nutt
f613048460 SAM3/4: Rename CONFIG_GPIO*_IRQ to CONFIG_SAM34_GPIO*_IRQ 2014-03-23 15:51:34 -06:00
Gregory Nutt
b8ea1d49a8 SAM3/4: Rename CONFIG_GPIO*_IRQ to CONFIG_SAM34_GPIO*_IRQ 2014-03-23 15:51:08 -06:00
Gregory Nutt
6b4a4c8293 SAM4E-EK: Enable interrupt stack in all configurations 2014-03-23 10:12:57 -06:00
Gregory Nutt
788d5bb0fc Add logic to check interrupt stack usage 2014-03-23 10:11:58 -06:00
Gregory Nutt
82c9694c5b All ARM Make.defs files should build up_checkstack.c if DEBUG_STACK is enabled 2014-03-23 10:07:52 -06:00
Gregory Nutt
5ac5506b35 All ARM assertion logic will show stack usage on assertion if DEBUG_STACK is enabled 2014-03-23 10:06:48 -06:00
Gregory Nutt
b6784677d0 Every ARM architecture must export g_instackbase 2014-03-23 10:05:21 -06:00
Gregory Nutt
e5f99798b8 SAM4E-EK UDP: prevent some bad recursive behavior 2014-03-22 17:30:17 -06:00
Gregory Nutt
4f54eb397d SAM3/4 lowputc: Fix compile errors when there is no serial console 2014-03-22 10:18:06 -06:00
Gregory Nutt
4baa2c294f SAM4E UDP: Fix handling of GLBSTAT:CONFIG bit. Was not being set 2014-03-21 13:31:45 -06:00
Gregory Nutt
3e177a7ba7 SAM4E UDP: Cosmetic updates to tracing and README 2014-03-21 10:45:12 -06:00
Gregory Nutt
1b5a599fc5 If DCD supports queuing of stall requests then USB MSC delay work-around is not necessary 2014-03-20 15:20:24 -06:00
Gregory Nutt
788fc5399d SAM4E UDP: Several fixes related to bulk endpoint transfers 2014-03-20 14:25:56 -06:00
Gregory Nutt
5b9f1f54c2 Add option to dump buffered USB trace data on an assertion 2014-03-20 10:56:30 -06:00
Gregory Nutt
055a134a36 SAM4E UDP: Fix errors associated with OUT packet size handling and bank interrupt bit handling 2014-03-19 18:02:57 -06:00
Gregory Nutt
7f587876f7 SAM4E: Fix handling of CSR:DIR bit 2014-03-19 13:34:15 -06:00
Gregory Nutt
4b93209d36 SAM4E UDP: Fix to handling of FADDR:FEN and CSR:TXCOMP 2014-03-19 12:20:42 -06:00
Gregory Nutt
9e68a2690f LPC17 USB Host: Minor clean-up after performing some regressin testing 2014-03-19 08:33:15 -06:00
Gregory Nutt
f713b4937c Improved description of CONFIG_ARMV7M_USEBASEPRI from Vijay Kumar 2014-03-19 07:16:44 -06:00
Gregory Nutt
fd3318a05e SAM4E UDP: Fix FIFO reset logic 2014-03-18 17:24:50 -06:00
Gregory Nutt
1da26f8f04 SAM4E UDP: Remove spurious clearing of RXSETUP 2014-03-18 15:19:45 -06:00
Gregory Nutt
82c93c91ea SAM4E UDP: Now receives one setup packet before dying 2014-03-18 12:38:34 -06:00
Gregory Nutt
c35470d553 TM4C123G Launchpad: Corrected processor configuration from Daniel Pereira de Carvalho 2014-03-18 11:21:31 -06:00
Gregory Nutt
7e2436d4cc SAM4E: Fix a few more UDP bring-up bugs. Still not working 2014-03-18 11:00:20 -06:00
Gregory Nutt
d5364f85b2 SAM4E: Revise board-specific USB MSC support 2014-03-18 09:31:02 -06:00
Gregory Nutt
2e586f04ab SAM4E: Add USB full speed device (UDP) driver 2014-03-17 12:37:55 -06:00
Gregory Nutt
b74e183dac SAM3/4: Fleshing out environment to support USB device (UDP) 2014-03-16 14:11:22 -06:00
Gregory Nutt
1d1b0e84c8 SAM3/4: Fix debug logic in DMAC that was causing the loss of interrupts 2014-03-14 11:57:42 -06:00
Gregory Nutt
adcfb40d01 SAM3/4 DMA fixes in general for SPI DMA in particular 2014-03-14 11:25:16 -06:00
Gregory Nutt
483fcdca03 SAM3/4: Integrate the SPI DMA interface with the existing code. Does not yet work. 2014-03-13 15:54:09 -06:00
Gregory Nutt
d32b85a938 SAM4E-EK: Add support for the SAM4E-EK AT25 serial flash 2014-03-13 14:07:35 -06:00
Gregory Nutt
c0c2fc4afe Backport SPI driver enhancements from SAMA5 to SAM3/4 2014-03-13 10:34:35 -06:00
Gregory Nutt
a300a46c8d SAM4E: Fix EMAC pin configuration. Driver is basically functionaly now. SAM4E-EK NSH configuration now has networking enabled by default 2014-03-13 09:03:03 -06:00
Gregory Nutt
fe9460d314 SAM4E-EK: Add an EMAC driver. Initial commit is just a quick port of the SAMA5D3 EMAC driver 2014-03-12 15:03:59 -06:00
Gregory Nutt
907d273c4a SAM4E: Add support for the Cortex-M Cache Control block 2014-03-12 12:38:39 -06:00
Gregory Nutt
8e6bfea5aa SAM4E: Various bring-up fixes. NSH now works 2014-03-12 10:59:19 -06:00
Gregory Nutt
dfdad8c95b TM4C: Fix typos in memory map reported by Daniel Pereira de Carvalho 2014-03-12 07:23:58 -06:00
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