Commit Graph

3762 Commits

Author SHA1 Message Date
Gregory Nutt
2b5f8dbba5 Cosmetic cleanup 2014-06-18 08:24:53 -06:00
Gregory Nutt
9c0de33715 SAMA5D4: XDMAC driver now compiles error/warning free (still untested) 2014-06-17 16:31:09 -06:00
Gregory Nutt
9d44747f60 SAMA5D4: More progress on XDMAC driver (still no complete); Also fixes some critical errors in the SAMA5D3 DMA definitions 2014-06-17 13:18:52 -06:00
Gregory Nutt
260c2676d4 SAMA5D4: Correct MATRIX register addresses 2014-06-14 10:42:53 -06:00
Gregory Nutt
37d06c7444 SAMA5D4: Implement SDRAM initialization 2014-06-14 10:42:26 -06:00
Gregory Nutt
d80c55e8b6 SAMA5D4: Fix some memory remapping issues; updates to comments and README files 2014-06-14 08:02:58 -06:00
Gregory Nutt
2c6c1685de SAMA5: XDMAC update (still not complete) 2014-06-13 11:59:44 -06:00
Gregory Nutt
2423ef3fdc SAMA5D4: Initial XDMAC driver logic; initial check-in is little more the the DMAC driver with some name changes 2014-06-12 16:33:04 -06:00
Gregory Nutt
faaf641490 First check-in of Lazlo's PF_PACKET 'raw' socket implementation 2014-06-12 11:52:06 -06:00
Gregory Nutt
3bfc1effaf STM32: Handle setting of USART CR1_M when 8 bits of data plus parity 2014-06-11 15:49:54 -06:00
Gregory Nutt
fd710fc8db Typo in last SAMA5D4 commit 2014-06-11 13:43:54 -06:00
Gregory Nutt
69c18728f2 SAMA5: Add support for Micrel KSZ8081 PHY 2014-06-11 13:25:59 -06:00
Gregory Nutt
8b450d6d1b SAMA5D4: Add EMAC driver 2014-06-11 12:23:31 -06:00
Gregory Nutt
9d0cfcc21d SAMA5D4: Still trying to reconcile Ethernet interfaces 2014-06-11 08:01:48 -06:00
Gregory Nutt
e0a07125c8 SAMA5D3/4: More renaming. Change SAMA5D3 EMAC to EMACA and SAMA5D4 to EMACB so that the configuration and build system can configure them. I might come up with something better later 2014-06-10 17:40:25 -06:00
Gregory Nutt
03ba83fedb STM32: Expicitly include header file files. From Freddie Chopin 2014-06-10 15:49:48 -06:00
Gregory Nutt
760b60436f SAMA5D4: update MATRIX register definitions for the SAMA5D4 2014-06-10 13:15:29 -06:00
Gregory Nutt
80c07aa2d6 SAMA5D4: Complete MPDDR header file 2014-06-10 11:16:05 -06:00
Gregory Nutt
a64411715b SAMA5D4: Add MPDDRC file (incomplete) 2014-06-10 08:46:14 -06:00
Gregory Nutt
90b82696ac Move SAMA5D3 MPDDRC definitions to a separate header file 2014-06-10 08:11:31 -06:00
Gregory Nutt
55f9e5b465 SAMA5D4: Update LCDC header file 2014-06-09 13:27:08 -06:00
Gregory Nutt
e9e22d7096 Add logic to select between incompatible SAMA5D3 and SAMA5D4 EMAC header files 2014-06-09 12:24:39 -06:00
Gregory Nutt
1f64e9c5b9 SAMA5: Back out most of commit c37b5b7b97d0644743c04f2c3d9e2b7ef9f5d698. Things are going to have to be done differently 2014-06-09 12:16:16 -06:00
Gregory Nutt
46e5d8b153 SAMA5D4: Updated EMAC header file 2014-06-09 11:40:11 -06:00
Gregory Nutt
082ab99e9e SAMA5D4: Add EMAC header file 2014-06-09 11:29:02 -06:00
Gregory Nutt
e057a05c92 SAMA5D4: More header file changes 2014-06-09 10:07:00 -06:00
Gregory Nutt
1c84924373 SAMA5D4: update ISI register definition header file 2014-06-09 09:29:23 -06:00
Gregory Nutt
92d6883a71 SAMA5D4: Completes PMC modifications for the SAMA5D4 2014-06-09 07:55:51 -06:00
Gregory Nutt
4d65dd04e2 SAMA5D4: Completes L2CC register definition header file 2014-06-08 19:08:11 -06:00
Gregory Nutt
d3903be2a6 SAMA5D4: Update HSMC register definitions 2014-06-08 16:27:58 -06:00
Gregory Nutt
0b5609d6fe SAMA5D4: Update PIO register definitions 2014-06-08 15:35:51 -06:00
Gregory Nutt
80f7079bd9 SAMA5D4: Update DBGU header file 2014-06-08 14:37:09 -06:00
Gregory Nutt
31ac5b344d SAMA5D4: Update PWM header file 2014-06-08 14:16:50 -06:00
Gregory Nutt
54333cd013 SAMA5D4: Updated HSMCI header file 2014-06-08 12:49:45 -06:00
Gregory Nutt
acd6991273 SAMA5D4: Update ADC register definition header file 2014-06-08 12:19:05 -06:00
Gregory Nutt
87a438b240 SAMA5D4: Updated RTC header file 2014-06-08 10:14:36 -06:00
Gregory Nutt
1240c066b2 SAMA5D4: Update register definitions; add support for TC2 2014-06-08 09:19:50 -06:00
Gregory Nutt
339f5f8e51 SAMA5: Add TWI3 support 2014-06-08 08:25:39 -06:00
Gregory Nutt
da8dfdcb6f Updated SAMA5 SFR header file for the SAMA5D4 2014-06-08 07:48:36 -06:00
Gregory Nutt
582cad2e8a SAMA5D4: Add support for UART4 2014-06-08 07:47:56 -06:00
Gregory Nutt
b8b2cc6f0e SAMA5D4: Update one more register definition header files 2014-06-07 14:40:49 -06:00
Gregory Nutt
c86216676f SAMA5D4: Update some register definition header files. Many more still to be done 2014-06-07 13:36:46 -06:00
Gregory Nutt
87eacd6bf2 SAMA5D4: Various changes to get the SAMA4D-EK to build 2014-06-06 15:39:40 -06:00
Gregory Nutt
dc32678da1 LPC17: Fix a critical error in GPDMA reported by Lizhuoyi 2014-06-06 11:20:28 -06:00
Gregory Nutt
39cf9e248b LPC23xx: Several fixes for typos from Lizhuoyi 2014-06-06 11:06:19 -06:00
Gregory Nutt
68eb00be93 SAMA5D4: Add L2CC register definition header file (incomplete) 2014-06-05 14:38:08 -06:00
Gregory Nutt
3960271d06 Finishes the SAMA5D4 XDMAC register definition header file 2014-06-04 16:59:41 -06:00
Gregory Nutt
a0561ddd2e SAMA5D4: Add beginning of XDMAC register definition header file (incomplete) 2014-06-04 14:40:34 -06:00
Gregory Nutt
10232cd784 SAMA5D4: Has two XDMA modules 2014-06-04 14:39:52 -06:00
Gregory Nutt
da889589fd SAMA5D4: Let's consistently use the name XDMAC for the SAMA5D4 DMA module 2014-06-04 14:39:29 -06:00
Gregory Nutt
c95902f8ea Minor naming fix 2014-06-04 13:35:48 -06:00
Gregory Nutt
171f312987 SAMA5: Add pin mux definitions for the SAMA5D4 2014-06-04 12:58:49 -06:00
Gregory Nutt
495b190e50 SAMA5: Rename most EMAC definitions to EMAC0 to handle the SAMA5D4 which has to EMAC modules and no GMAC 2014-06-04 12:04:24 -06:00
Gregory Nutt
21e2d0b2d2 SAMA4D4: Basic framework to support the SAMA4D4. Not yet complete 2014-06-03 17:49:51 -06:00
Gregory Nutt
49fa2ff70f A few build fixes from last, big ARP relocation change 2014-05-30 12:32:20 -06:00
Gregory Nutt
90e4b55e0c Move include/nuttx/net/uip/uip-arch.h to include/nuttx/net/arp.h; rename all uip_arp_ functions to arp_ 2014-05-30 12:13:06 -06:00
Gregory Nutt
6f3cb90c05 Cosmetic changes 2014-05-28 14:09:58 -06:00
Gregory Nutt
2b42e2d587 STM32 RTC: Add retry to initialization logic. Sometime RTC initialization takes longer. From dlsitzer. 2014-05-27 07:10:53 -06:00
Gregory Nutt
ecd768a9e2 Back out PX4 fixes that were reverted in PX4 repository 2014-05-25 07:53:00 -06:00
Gregory Nutt
795ecc3408 STM32 I2C: Final fixes from Max Kriegleder et al. 2014-05-23 08:42:14 -06:00
Gregory Nutt
2abe0dd6dd Change all variadic macros to C99 style 2014-05-22 09:01:51 -06:00
Gregory Nutt
9aba7598b0 Change bne to bne.n in irqrestore() 2014-05-22 09:01:25 -06:00
Gregory Nutt
11c29aebbc Make sure that all references to up_prioritize_irq() are conditioned on CONFIG_ARCH_IRQPRIO. Noted by Make Smith 2014-05-20 17:48:39 -06:00
Gregory Nutt
9d2d8d30ea STM32 lowputc: Fix an error in conditional compilation. From Sami Pelkonen 2014-05-20 08:12:07 -06:00
Gregory Nutt
1b39aff8b4 SAM4E GPIO: Fix some compile errors when CONFIG_DEBUG_GPIO is enabled 2014-05-15 11:41:58 -06:00
Gregory Nutt
de71f53351 SAM4E-EK: Ooops.. two touchscreen drivers(?) 2014-05-14 10:56:03 -06:00
Gregory Nutt
d78aa34ecb Fix one error that I made in the last check-in (there are probably more) 2014-05-14 08:09:08 -06:00
Gregory Nutt
6018da5181 Add an alternate STM32 I2C driver that works around errata in the F103 chip (and maybe others). From Patrizio Simona 2014-05-14 07:48:47 -06:00
Gregory Nutt
59e254d1f6 correct some columnar alignment and spacing 2014-05-13 14:14:57 -06:00
Gregory Nutt
47dad8d7cf STM32 I2C: Cosmetic changes in preparation to merge a change 2014-05-13 13:11:10 -06:00
Gregory Nutt
4e55571c21 SAM4E: PIO definition clean-up 2014-05-12 18:42:25 -06:00
Gregory Nutt
8ef77ac3d9 Updated README and comments 2014-05-10 11:36:20 -06:00
Gregory Nutt
75d3d33169 STM32 I2C: Bring in PX4 fix for I2C in very high noise environments or with rogue perpipherals. Taken from the PX4 commit by Tridge 2014-05-10 10:34:05 -06:00
Gregory Nutt
898e59f112 Couple of fixes for the latest STM32 additions / modifications. These are simple fixes dealing with conditional compile based on CONFIG items not being set. From Ken Pettit 2014-05-09 06:41:01 -06:00
Gregory Nutt
e2b8eb6aad Add support for the STM32152 and STM32162 Medium+ density parts (plus miscellaneous other improvements to the original STM32151 logic). From Jussi Kivilinna and Sami Pelkonen 2014-05-08 09:20:11 -06:00
Gregory Nutt
7594d8b8cf Add serial method so that lower half driver can provide RX flow control information. From Jussi Kivilinna 2014-05-08 09:00:33 -06:00
Gregory Nutt
d36724abbc STM32: Rename pinmap.h files to better reflect the chip naming conventions 2014-05-07 13:05:12 -06:00
Gregory Nutt
6a8a62c0c1 STM32: Fix STM32F100CB pin configuration (from Kosma Moczek); and make chip naming a little more consistent 2014-05-07 12:54:27 -06:00
Gregory Nutt
403b9f82d3 Ooops... last (cosmetic) changes were still in the editor 2014-05-06 15:00:39 -06:00
Gregory Nutt
b054463c9e Optimized memcpy() functin for the ARMv7-A from David Sidrane 2014-05-06 14:58:48 -06:00
Gregory Nutt
33c991dc41 STM32: Add more complication to STM32 Kconfig so the correct RNG and ETHMAC options presented for the F401RE. There are still invalid peripheral options being presented 2014-05-06 11:35:13 -06:00
Gregory Nutt
ade57e4cd8 Nucleo-F401RE: With these changes and the changes from previous commits, the basic Nucleo-F401RE NSH configuration is working. 2014-05-06 11:07:10 -06:00
Gregory Nutt
22733f9a79 The Nucleo-F401RE has no on-board cystal and, hence, must use the on-chip HSI oscillator for the PLL include clock 2014-05-06 10:01:02 -06:00
Gregory Nutt
f2ac4d6403 STM32: Add more complication to STM32 Kconfig so the correct ADC and CAN options presented for the F401RE. There are still invalid peripheral options being presented 2014-05-06 08:32:21 -06:00
Gregory Nutt
88abca5e5e STM32: Add some complication to STM32 Kconfig so the correct USART and TIM options are presented for the F401RE. There are still invalid peripheral options being presented 2014-05-05 17:59:07 -06:00
Gregory Nutt
2cbb9b907c Add SAM3/4 RTT driver. From Bob Doiron 2014-05-05 14:35:37 -06:00
Gregory Nutt
3ad8debd73 Correct some typos in STM32 RCC header files noted by Ramtin Amin 2014-05-05 07:23:26 -06:00
Gregory Nutt
d61a13c131 STM32 F401 has no CCM memory 2014-04-30 16:49:39 -06:00
Gregory Nutt
ccb98abaaa Fix configuration for F401: It has has FSMC and so the option should not be offered. But there are many more options available for the F401 that should be availalbe: CAN, nonexistent timers, etc. These will all need to be addressed 2014-04-30 16:12:36 -06:00
Gregory Nutt
8d758a13de The CONFIG_SYSTEMTICK_EXTCLK selection should only be available on systems that support it 2014-04-30 15:32:06 -06:00
Gregory Nutt
f7485ea962 Updated system timer logic from Bob Doiron 2014-04-30 14:46:26 -06:00
Gregory Nutt
aa44b8b588 SAM3/4: Enhanced timer/counter driver from Bob Doiron 2014-04-30 14:10:02 -06:00
Gregory Nutt
7857d716b5 Nucleo-F401RE: Fix memory usage 2014-04-30 08:20:30 -06:00
Gregory Nutt
2b2b799a23 ARMv7-M: Add FPU-related CFLAG settings for the CodeSourcery of Linux toolchain 2014-04-29 15:02:34 -06:00
Gregory Nutt
f25d69ff9a Sourceforge patch #40. Fix some conditional logic in clock configuration. From Luciano Neri 2014-04-29 11:32:33 -06:00
Gregory Nutt
33ddbeab16 STM32: More places where up_prioritize_irq is called when CONFIG_ARCH_IRQPRIO is not defined. Sourceforge ticket #26 2014-04-28 07:07:47 -06:00
Gregory Nutt
40972de8d7 Fix spelling, only one t in exiting 2014-04-27 15:49:38 -06:00
Gregory Nutt
dce1723faf Minor/cosmetic changes 2014-04-27 08:32:36 -06:00
Gregory Nutt
c46f1dc387 Zneo: ESPI needs to configure GPIO for ESPI 2014-04-26 13:58:38 -06:00
Gregory Nutt
1d4feaf88d Zneo: Misc minor updates from debugging 2014-04-26 12:42:44 -06:00
Gregory Nutt
590f31a473 Zneo: Fix UART1 buffer setup 2014-04-26 10:51:29 -06:00
Gregory Nutt
fe80779eb7 ZNeo Serial: Need to configure UART1 alternate function 2014-04-26 09:43:40 -06:00
Gregory Nutt
f8671a7ab4 Zneo Serial: Fix cut'n'paste error in some conditional configuration 2014-04-26 08:23:11 -06:00
Gregory Nutt
87c78d61bc Sourceforge ticket #26: STM32 up_prioritize_irq should not be called if CONFIG_ARCH_IRQPRIO is not defined 2014-04-25 16:23:00 -06:00
Gregory Nutt
7ee0706bc1 ZNeo: Calculation of timer reload and prescaler was wrong 2014-04-25 15:38:00 -06:00
Gregory Nutt
daf6d347fc Updates to ZNeo configurations + misc cosmetic changes to comments 2014-04-25 11:59:17 -06:00
Gregory Nutt
688b64632d 16z: Reduce size of stacks 2014-04-25 09:56:07 -06:00
Gregory Nutt
bdf4a991aa STM32 dmapreflight method must be conditioned on CONFIG_SDIO_PREFLIGHT. From Pelle Windestam 2014-04-25 07:22:14 -06:00
Gregory Nutt
31ede44671 Minor and cosmetic changes from initial 16z (v2) bringup 2014-04-24 15:55:53 -06:00
Gregory Nutt
e887473bde ZNEO: Add ESPI driver 2014-04-24 12:52:34 -06:00
Gregory Nutt
b3f2e651f0 Cosmetic update to comments and README files 2014-04-24 12:44:30 -06:00
Gregory Nutt
2a8d44eea9 Updated comments; minor correction in some naming 2014-04-23 14:46:39 -06:00
Gregory Nutt
465bfcb4cf Fix Bob's name in as many places as possible; Make sure that Bob is an author in as many files as I can think of (might be missing a few) 2014-04-22 13:42:38 -06:00
Gregory Nutt
972c4cbab5 Nucleo F401RE: Remove PX4 cruft that can in with the port 2014-04-22 12:18:08 -06:00
Gregory Nutt
18504d0d75 Back out a bad change in the last commit + add missing SAM4S Xplained Pro file 2014-04-22 11:04:31 -06:00
Gregory Nutt
5df14c7d40 Misc changes to get a clean compilation after incorporating all of Bob Doison's changes 2014-04-22 10:38:08 -06:00
Gregory Nutt
1fb0384fe7 SAM3/4 T/C driver updated to get closer to coding standard 2014-04-22 09:10:32 -06:00
Gregory Nutt
61555fe5e1 Various SAM4S related fixes, mostely related to the timer driver driver and the SAM4S timer/counter. All from Bob Doisin 2014-04-22 09:01:20 -06:00
Gregory Nutt
df33d9bcc8 examples/serialrx added by Bob Doison 2014-04-22 08:40:48 -06:00
Gregory Nutt
3d8e313995 Misc SAM4S-related changes from Bob Doison 2014-04-21 19:32:15 -06:00
Gregory Nutt
da66bc6434 SAM3/4: Add watchdog timer support. From Bob Doisin 2014-04-21 19:10:06 -06:00
Gregory Nutt
9aef2435d4 SAM3/4: Support for PDC based HSMCI ADMA from Bob Doiron 2014-04-21 17:18:30 -06:00
Gregory Nutt
c0f27d8aa6 SAM4S: Fix error in macro that disabled peripheral clocking. From Bob Doiron 2014-04-21 17:06:01 -06:00
Gregory Nutt
35bd5c9e65 SAM3/4 RTC driver from Bob Doiron 2014-04-21 17:04:22 -06:00
Gregory Nutt
f7dbe4b970 SAM3/4 RTC driver from Bob Doiron 2014-04-21 17:03:57 -06:00
Gregory Nutt
d53c3a2090 Add support for the STM32F041RE and for the Nucleo-F401RE board. From Frank Bennett 2014-04-20 13:42:23 -06:00
Gregory Nutt
0a52f24e7b ST32: Make selection of SDIO interrupt priority essentially impossible 2014-04-19 08:05:49 -06:00
Gregory Nutt
6a3a766b00 LPC17xx: Prioritized interrupts are not supported (although hooks are present to prioritize interrupts). Make LPC17 Ethernet default priority to be the system default, not the highest. If the unsupported feature is enabled, then at least it should do no harm 2014-04-19 07:56:59 -06:00
Gregory Nutt
4abb84524d Fix an error introduced in the last commit 2014-04-19 07:54:52 -06:00
Gregory Nutt
4e72f42468 LPC17xx, TIVA, and Kinetis interrupt initialization: use the NVIC ICTR register to determine how many interrupt lines/registers are supported by the MCU 2014-04-17 14:51:53 -06:00
Gregory Nutt
9485fbf66e SAM3/4 Interrupt initialization. Default interrupt priority not being set correctly 2014-04-17 14:02:22 -06:00
Gregory Nutt
d374d22738 STM32 OTGFS Host: If OTGFS_HCCHAR_ODDFRM is not goint to be set, then it should be cleared 2014-04-17 11:16:58 -06:00
Gregory Nutt
75e61f4b69 STM32 OTGFS Host: Changes from Leo for low-speed devices and interrupt endpoints 2014-04-17 10:52:27 -06:00
Gregory Nutt
c6d70e29bc SAMA5 EMAC: Missing right parens from last change. Noted by Luciano Neri 2014-04-17 09:02:55 -06:00
Gregory Nutt
3133ebfcee Move the un-definitions of __ramfuncs__ from the sam_clockconfig.c to the common up_internal.h header file so that the attribute will be applied the same to function definitions and prototypes. 2014-04-17 08:56:20 -06:00
Gregory Nutt
0184a957b7 Costmetic: Replace spaces with tabs 2014-04-16 16:26:46 -06:00
Gregory Nutt
d62455b0b8 STM32 OTGFS Host: Additional trace points from Leo 2014-04-16 12:56:21 -06:00
Gregory Nutt
80cded4e3e STM32 F2: Fix SPI2 MOSI pin mapping. From dlsitzer 2014-04-16 12:35:33 -06:00
Gregory Nutt
dc3ef08a66 SAMA5 TWI: If running from SDRAM, BOARD_MCK_FREQUENCY is not a constant and cannot be used in pre-processor conditionals 2014-04-16 12:09:55 -06:00
Gregory Nutt
bf2bb55aac SAMA5 SSC: If running from SDRAM, BOARD_MCK_FREQUENCY is not a constant and cannot be used in pre-processor conditionals 2014-04-16 10:58:23 -06:00
Gregory Nutt
1e35f1730d SAMA5 EMAC/GMAC: If running from SDRAM, BOARD_MCK_FREQUENCY is not a constant and cannot be used in pre-processor conditionals 2014-04-16 10:13:08 -06:00
Gregory Nutt
1927c147be SAMA5 CAN: If running from SDRAM, BOARD_MCK_FREQUENCY is not a constant and cannot be used in pre-processor conditionals 2014-04-16 10:00:32 -06:00
Gregory Nutt
c47816cbf6 Sourceforge Patch #37: Missing semicolon 2014-04-16 09:43:34 -06:00
Gregory Nutt
1b46ebc7f4 SAMA5 ADC: If running from SDRAM, BOARD_MCK_FREQUENCY is not a constant and cannot be used in pre-processor conditionals 2014-04-16 09:42:07 -06:00
Gregory Nutt
08218f977e Updates to the STM32 OTGFS host logic from Leo 2014-04-15 08:49:33 -06:00
Gregory Nutt
7ad2ace833 Costmetic changes to some comments 2014-04-14 16:36:07 -06:00
Gregory Nutt
48cdbfe5ba 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
1836e4eb6b Removing more trailing whitespace 2014-04-13 17:54:59 -06:00
Gregory Nutt
f8024cf409 More trailing whilespace removal 2014-04-13 16:22:22 -06:00
Gregory Nutt
f7e5953804 Cosmetic changes for coding style; removal of dangling spaces at the end of lines 2014-04-13 13:18:06 -06:00