Commit Graph

2813 Commits

Author SHA1 Message Date
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
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
bdf4a991aa STM32 dmapreflight method must be conditioned on CONFIG_SDIO_PREFLIGHT. From Pelle Windestam 2014-04-25 07:22:14 -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
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
Gregory Nutt
494387b33b Make sure that there is one space after for 2014-04-12 13:28:22 -06:00
Gregory Nutt
056aed1274 Make sure that there is one space between while and condition 2014-04-12 13:09:48 -06:00
Gregory Nutt
303cc1902b Make sure that there is one space between if and condition 2014-04-12 12:53:19 -06:00
Gregory Nutt
a7789ce91f 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
38728a35f5 STM32 OTG FS Hose and others: Remove some warnings 2014-04-12 09:58:23 -06:00
Gregory Nutt
3ae029fbe7 STM32 OTGFS Host: Fix a logic error introduced in the last check-in 2014-04-12 09:33:52 -06:00
Gregory Nutt
218554dc9d STM32 OTGFS: Host USB tracing instrumentation added by Leo 2014-04-12 08:44:22 -06:00
Gregory Nutt
d128b47c71 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
2fcc57edb0 mv ramlog.h and syslog.h to new include/nuttx/syslog 2014-04-10 09:29:30 -06:00
Gregory Nutt
c306884d84 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
27811d28f9 Cosmetic changes to comments and README 2014-04-07 15:28:04 -06:00
Gregory Nutt
ac3865fd89 Updated README files and comments 2014-04-07 07:43:28 -06:00
Gregory Nutt
177cb595d5 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
6c5535cc38 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
abca33bd6b Cosmetic update to comments 2014-04-05 11:35:05 -06:00
Gregory Nutt
120589434f 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
781f2804ee 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
0b7ec97370 SAMA5 boards: Operation at 528Mhz has been verified 2014-04-04 10:36:53 -06:00
Gregory Nutt
69c69c45c6 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
5eeb9f97fc 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
2efc4d6396 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
b884ab50f4 SAMA5: Fix SAMA5 so that interpretation of BMS bit is correct. From David Sidrane 2014-04-03 15:47:34 -06:00
Gregory Nutt
8d1781437d ARMv7-A: Typo fix from David Sidrane 2014-04-03 15:43:13 -06:00
Gregory Nutt
5fef770362 SAMA5: Cosmetic updates to comments and README files 2014-04-03 15:30:00 -06:00
Gregory Nutt
048230fb94 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
c9fc03d52f 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
11c7386dab 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
16c4ea72ec SAMA5: When running from SRAM, vectors must lie in ISRAM 2014-04-02 12:54:15 -06:00
Gregory Nutt
6201df6463 Updated comments and README 2014-04-02 09:03:29 -06:00
Gregory Nutt
0d66ba9c00 SAMA5 DBGU: Add logic to suppress DBGU reconfiguration when started from a bootloader 2014-04-02 09:03:27 -06:00
Gregory Nutt
0b8d635d96 Fix typo introduced to the serial driver when the DBGU driver was added 2014-04-02 09:02:15 -06:00
Gregory Nutt
cbdc9155ab SAMA5: Add support for DBGU. Xplained board now uses DBGU for the serial console 2014-04-01 11:24:15 -06:00
Gregory Nutt
3d8cbb415c Cosmetic update to comments and README files 2014-03-31 17:25:39 -06:00
Gregory Nutt
a29187bd34 SAMA5: Add DBGU register definition header file 2014-03-31 17:25:16 -06:00
Gregory Nutt
5dd8a2cfe4 Remove double mapping of SDRAM when running from SDRAM 2014-03-31 15:08:04 -06:00
Gregory Nutt
8e919137b2 cosmetic updates to comments 2014-03-30 10:25:01 -06:00
Gregory Nutt
d14940a375 Fix some backward conditional compilation 2014-03-30 08:29:21 -06:00
Gregory Nutt
ec60f6cd9d 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
4d6b1ed2c8 Fix a rounding problem in HSMCI divider calculation 2014-03-29 18:13:00 -06:00
Gregory Nutt
aac2a6759d 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
1b6ae2ccbb 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
8bc70e38ab SAMA5D3 Xplained: Has no NOR flash. Remove all NOR support from board configuration 2014-03-29 15:05:09 -06:00
Gregory Nutt
f12e37cae4 Documentatin updated; fix errors in some comments 2014-03-28 09:52:07 -06:00
Gregory Nutt
085d7dfe34 Add support for the SAMA5D36 2014-03-28 08:33:01 -06:00
Gregory Nutt
47baf7bf2b Fix a warning that happens with debug is disabled 2014-03-26 16:32:38 -06:00
Gregory Nutt
4c14053238 SAM4E CMCC: Fix some errors introducted in last check-in 2014-03-26 16:32:16 -06:00
Gregory Nutt
fb41a1104e Eliminate some warnings 2014-03-26 16:31:26 -06:00
Gregory Nutt
135b6b0ca2 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
3f4593dda8 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
f6dedaee30 tools/astyle.sh: Formatting tool based on logic from Lorenz Meier 2014-03-26 08:50:48 -06:00
Gregory Nutt
8fb610a537 SAMA5D3: Fix some typos in last blind changes backported from the SAM4e. And verified 2014-03-25 16:11:33 -06:00
Gregory Nutt
e68f6049c5 backport a serial console fix from the sam4e to the sama5d3 2014-03-25 14:34:07 -06:00
Gregory Nutt
aefe9637c7 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
93380d8156 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
bd52d9af21 SAM3/4 HSMCI: Update configuration names to match last change to Kconfig 2014-03-24 17:42:28 -06:00
Gregory Nutt
03bd2a6ad9 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
d508e6a370 SAM3/4 HSCMI: Another fix for complication with SAM4E 2014-03-24 10:25:02 -06:00
Gregory Nutt
7d3d1f79bb STM32 EMAC: Add support for IGMP hash table update. From Manuel Stühn 2014-03-24 09:32:48 -06:00
Gregory Nutt
5b1e019fdd SAM3/4: Changes for clean HSMCI compilation 2014-03-23 15:52:14 -06:00
Gregory Nutt
659783fad5 SAM3/4: Rename CONFIG_GPIO*_IRQ to CONFIG_SAM34_GPIO*_IRQ 2014-03-23 15:51:34 -06:00
Gregory Nutt
4cc814220e SAM3/4: Rename CONFIG_GPIO*_IRQ to CONFIG_SAM34_GPIO*_IRQ 2014-03-23 15:51:08 -06:00
Gregory Nutt
9d9631243a SAM4E-EK: Enable interrupt stack in all configurations 2014-03-23 10:12:57 -06:00
Gregory Nutt
a37ad4ecca Add logic to check interrupt stack usage 2014-03-23 10:11:58 -06:00
Gregory Nutt
ebf143a420 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
394ccb3932 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
3303e04e78 Every ARM architecture must export g_instackbase 2014-03-23 10:05:21 -06:00
Gregory Nutt
293b5d7723 SAM4E-EK UDP: prevent some bad recursive behavior 2014-03-22 17:30:17 -06:00
Gregory Nutt
266ef59280 SAM3/4 lowputc: Fix compile errors when there is no serial console 2014-03-22 10:18:06 -06:00
Gregory Nutt
0478a97eca SAM4E UDP: Fix handling of GLBSTAT:CONFIG bit. Was not being set 2014-03-21 13:31:45 -06:00
Gregory Nutt
06e60bab2b SAM4E UDP: Cosmetic updates to tracing and README 2014-03-21 10:45:12 -06:00
Gregory Nutt
c6127ad09d 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
f139391f8a SAM4E UDP: Several fixes related to bulk endpoint transfers 2014-03-20 14:25:56 -06:00
Gregory Nutt
a2d53bf950 Add option to dump buffered USB trace data on an assertion 2014-03-20 10:56:30 -06:00
Gregory Nutt
4f72c3b430 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
f3ce9ea2aa SAM4E: Fix handling of CSR:DIR bit 2014-03-19 13:34:15 -06:00
Gregory Nutt
01f71c9cbc SAM4E UDP: Fix to handling of FADDR:FEN and CSR:TXCOMP 2014-03-19 12:20:42 -06:00
Gregory Nutt
57516a8ede LPC17 USB Host: Minor clean-up after performing some regressin testing 2014-03-19 08:33:15 -06:00
Gregory Nutt
34467249b5 Improved description of CONFIG_ARMV7M_USEBASEPRI from Vijay Kumar 2014-03-19 07:16:44 -06:00
Gregory Nutt
cba9127a86 SAM4E UDP: Fix FIFO reset logic 2014-03-18 17:24:50 -06:00
Gregory Nutt
3da4e2fc4f SAM4E UDP: Remove spurious clearing of RXSETUP 2014-03-18 15:19:45 -06:00
Gregory Nutt
4b11d57f20 SAM4E UDP: Now receives one setup packet before dying 2014-03-18 12:38:34 -06:00
Gregory Nutt
a5bdccebe3 TM4C123G Launchpad: Corrected processor configuration from Daniel Pereira de Carvalho 2014-03-18 11:21:31 -06:00
Gregory Nutt
5f8304415d SAM4E: Fix a few more UDP bring-up bugs. Still not working 2014-03-18 11:00:20 -06:00
Gregory Nutt
fe9023752a SAM4E: Revise board-specific USB MSC support 2014-03-18 09:31:02 -06:00
Gregory Nutt
e869de4272 SAM4E: Add USB full speed device (UDP) driver 2014-03-17 12:37:55 -06:00
Gregory Nutt
1cde363251 SAM3/4: Fleshing out environment to support USB device (UDP) 2014-03-16 14:11:22 -06:00
Gregory Nutt
bda62b0502 SAM3/4: Fix debug logic in DMAC that was causing the loss of interrupts 2014-03-14 11:57:42 -06:00
Gregory Nutt
e2ab7d8a33 SAM3/4 DMA fixes in general for SPI DMA in particular 2014-03-14 11:25:16 -06:00
Gregory Nutt
dba6cca886 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
42e06fb503 SAM4E-EK: Add support for the SAM4E-EK AT25 serial flash 2014-03-13 14:07:35 -06:00
Gregory Nutt
7e16cee6b5 Backport SPI driver enhancements from SAMA5 to SAM3/4 2014-03-13 10:34:35 -06:00