Commit Graph

2722 Commits

Author SHA1 Message Date
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