Commit Graph

2607 Commits

Author SHA1 Message Date
Gregory Nutt
4b824e8d5f SAM4E: Add support for PIO and peripheral clocks 2014-02-21 12:34:04 -06:00
Gregory Nutt
74b4b1f054 SAM4E: Add memory map header file 2014-02-21 09:33:16 -06:00
Gregory Nutt
0a6942e068 SAM4E: Add vector definition header files 2014-02-21 08:46:16 -06:00
Gregory Nutt
bebb5d8c4d 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
33508df77f SAMD20: Some progress debugging SPI. Currently hangs 2014-02-20 15:20:42 -06:00
Gregory Nutt
8f469d70ed 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
8bbf4f3ec8 SAMD20: SPI driver is code-complete, but untested 2014-02-20 09:59:54 -06:00
Gregory Nutt
41afd1c3d8 SAMD: A little more SPI logic 2014-02-19 18:48:59 -06:00
Gregory Nutt
951f4ff4a3 LM3/4: Several errors were unmasked with UARTs > UART2 were enabled. Fromo Gosha 2014-02-19 17:02:30 -06:00
Gregory Nutt
ff899bf0e3 SAMD20: Add a framework for an SPI driver 2014-02-19 16:52:12 -06:00
Gregory Nutt
916308efc1 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
662622b5dc STM32 Timer: Set CCMR wehn selecting timer channel. From David Sidrane 2014-02-18 13:50:46 -06:00
Gregory Nutt
bbb65432d9 STM32 SPI: Disable SPI before modifying CR1 2014-02-18 13:42:20 -06:00
Gregory Nutt
06e7e5dfa1 More STM32F429 Discovery FPU-related changes from David Alessio 2014-02-18 12:07:17 -06:00
Gregory Nutt
1fcd2bfd10 SAMD20: Increase FLASH waitstates to 2 2014-02-18 10:37:42 -06:00
Gregory Nutt
7bcf29c72a Mostly cosmetic clean-up of comments 2014-02-17 19:22:53 -06:00
Gregory Nutt
246b949610 SAMD20: Fix BAUD calculation. Now comes up okay about 20% of the time 2014-02-17 18:09:17 -06:00
Gregory Nutt
0fd29be0d2 SAMD20: Now runs, but no serial output 2014-02-17 14:21:22 -06:00
Gregory Nutt
93ca836b85 SAMD20: Initial debug changes to get clocking 2014-02-17 11:36:52 -06:00
Gregory Nutt
05b5d78ae1 SAMD20: Misc changes for a clean build with debug enabled 2014-02-17 08:14:19 -06:00
Gregory Nutt
72e823a498 SAMD20: Add WDT and EVSYS register definition header files 2014-02-16 17:21:36 -06:00
Gregory Nutt
46ae018692 SAMD20: Add I2C slave register definition header file 2014-02-16 14:44:03 -06:00
Gregory Nutt
3c00c4f3fb SAM20D: Add SPI and I2C master register definition header files 2014-02-16 13:07:31 -06:00
Gregory Nutt
b3f4814e9f SAMD20: The basic port is complete but still untested 2014-02-16 11:34:32 -06:00
Gregory Nutt
cb6bf52939 SAMD20: Completes low-level USART logic 2014-02-16 09:42:29 -06:00
Gregory Nutt
1f9d3b67ff SAMD20: More SERCOM USART configuration logic 2014-02-15 17:53:55 -06:00
Gregory Nutt
3b0e6526a1 SAMD20: A little more USART logic 2014-02-15 15:58:48 -06:00
Gregory Nutt
de8f9e979c SAMD20: Beginning of SERCOM UART configuration logic 2014-02-15 14:22:56 -06:00
Gregory Nutt
7304c246d1 SAM D20: Add SERCOM USART register definition header file 2014-02-15 11:37:09 -06:00
Gregory Nutt
5caa92f463 SAMD20: Finishes basic clock configuration logic 2014-02-15 10:18:05 -06:00
Gregory Nutt
1ed6677f57 SAM D20: More clock configuration logic (still incomplete) 2014-02-14 16:46:21 -06:00
Gregory Nutt
293484ffed 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
294152fe36 SAM D20: A little more clock configuration logic (still incomplete) 2014-02-14 13:38:56 -06:00
Gregory Nutt
e98ef18df1 SAMD20: Add NVMCTRL register definition header file. Also empty framework for clock configuration 2014-02-14 11:03:22 -06:00
Gregory Nutt
8acdc31a6e STM32 serial: Fix clone typo.. FLOWCONROL vs FLOWCONTROL 2014-02-14 09:09:56 -06:00
Gregory Nutt
c0c22040b0 SAMD20: Add SYSCTRL register definition header file 2014-02-13 15:41:16 -06:00
Gregory Nutt
4c2b18dee0 SAMD20: Add GCLK and PM register definition header files 2014-02-13 14:07:58 -06:00
Gregory Nutt
69ffc4a351 SAMD20: Add port configuration logic 2014-02-13 12:44:22 -06:00
Gregory Nutt
12e96b8f51 Add SAMD20 pin configuration definitions 2014-02-13 10:56:15 -06:00
Gregory Nutt
1364850552 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
1bd5ff87c4 Fix-up some SAMD20 SERCOM conditionals 2014-02-12 18:29:23 -06:00
Gregory Nutt
bd15ec2565 Add initial support for the Atmel SAMD20 Xplained Pro board 2014-02-12 17:50:58 -06:00
Gregory Nutt
ca9a8e5875 Add basic framework to support the Atmel SAMD Cortex-M+ chip 2014-02-12 15:07:11 -06:00
Gregory Nutt
6b4796fa5a Fix typo cloned to many files: SAM32 vs SAM34 2014-02-12 13:00:24 -06:00
Gregory Nutt
b656602055 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
91b002a043 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
2b40128148 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
2d91804642 LPC17 USB Host: Fix a compile error when USB debug is enabled 2014-02-09 15:54:58 -06:00
Gregory Nutt
9d8ecdbefd Fix a compile error that crept into the LPC17xx USB host driver 2014-02-09 13:45:18 -06:00
Gregory Nutt
cde8e80302 A10 had the same cut'n'paste error as did the LM4F 2014-02-03 17:22:47 -06:00
Gregory Nutt
ef899c5115 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
e5bb99bfb9 A10: Make sure it is tolerant of CONFIG_BOOT_SDRAM_DATA 2014-01-29 08:16:02 -06:00
Gregory Nutt
764ba4da70 SAMA5: Fix logic for running with data in SDRAM 2014-01-29 07:49:23 -06:00
Gregory Nutt
3ddb0ebaef 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
72ee80b7cc SAMA5: Mostly cosmetic 2014-01-28 15:54:03 -06:00
Gregory Nutt
6188eb7472 SAMA5: More variables-in-SDRAM stuff 2014-01-28 15:05:19 -06:00
Gregory Nutt
34b94de8fe Add support for .data and .bss in SDRAM 2014-01-28 14:35:03 -06:00
Gregory Nutt
9f46dac1e2 Add option to indicatet that data is retained in SDRAM 2014-01-28 10:42:49 -06:00
Gregory Nutt
73d340e0bd Remove EFM32 from build system 2014-01-27 10:41:06 -06:00
Gregory Nutt
3b172e5f41 Remove support for EFM32. Not ready to be fielded 2014-01-27 08:03:39 -06:00
Gregory Nutt
2f837ccd2a rename up_led*() functions to board_led_*() 2014-01-24 14:28:49 -06:00
Gregory Nutt
f3f5378acc The optimization level can now be selected as part of the configuration 2014-01-24 07:45:35 -06:00
Gregory Nutt
e4142f65fb 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
7077d99f2f Basic support for the EFM32 processor family from Richar Cochran 2014-01-23 07:56:10 -06:00
Gregory Nutt
7ce90ef7e2 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
7834ff4ce3 Fix error in last ARMv7-M up_disable_irq checkin 2014-01-15 15:26:32 -06:00
Gregory Nutt
be474523c4 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
836057e340 Individual IRQs are not longer disabled on each interrupt. See ChangeLog for detailed explanation 2014-01-15 08:09:19 -06:00
Gregory Nutt
803cdfdaf1 Changes to get PX4 config to build. Also some warning removal 2014-01-14 13:30:22 -06:00
Gregory Nutt
b301471adb A10: Serial clock is OSC24M. From Alan Carvalho de Assis 2014-01-10 15:32:42 -06:00
Gregory Nutt
a6bb107d10 Fix types in conditional compilation 2014-01-10 13:36:18 -06:00
Gregory Nutt
37f0db6e0c Add support for the XPT2046 touchscreen controller on the Viewtool LCD module 2014-01-09 10:57:17 -06:00
Gregory Nutt
c31f2b6f78 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
a6d486557b Cosmetic spaces to tabs change 2013-12-08 10:38:33 -06:00
Gregory Nutt
7cbb001f98 A10: Fix serial TX interrupts 2013-12-08 09:26:53 -06:00
Gregory Nutt
764e117965 A10: Correct handling of the serial busy interrupt 2013-12-08 08:51:19 -06:00
Gregory Nutt
126bec4e55 Add more nops after enabling MMU for Cortex-A8 2014-01-07 08:38:00 -06:00
Gregory Nutt
9d393e167c 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
aa1700895e 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
6a9c63aa09 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
bb92016356 SVC is the preferred mnemonic vs. SWI for cortex A 2014-01-05 16:21:41 -06:00
Gregory Nutt
ab729802be Oops. Mnemonic changed from SWI to SVC in cortex A 2014-01-05 15:59:49 -06:00
Gregory Nutt
8bc6125b3c Add ARMv7-A syscall.h header file 2014-01-05 15:49:06 -06:00
Gregory Nutt
458465c8ed Viewtools STM32F103: Add SSD1289 LCD support 2014-01-05 14:14:59 -06:00
Gregory Nutt
c01e95584c STM32: Single wire UART support from Thomas Grubler 2014-01-02 07:56:46 -06:00
Gregory Nutt
bca90d1c28 STM3240G-EVAL knxwm: Work around CodeSourcery library bug by switching to buildroot 2013-12-31 10:55:46 -06:00
Gregory Nutt
2507017695 Decoupling NX user interfaces to support NX kernel build (phase 1) 2013-12-27 13:18:20 -06:00
Gregory Nutt
64bb8b3341 Fix naming of STM32 F3 SPI2 MOSI and MISO pins. From Brian Webb 2013-12-27 11:15:18 -06:00
Gregory Nutt
bee251006b STM32F107 OTG FS clock presecaler cannot be configurated after the USB clock is enabled 2013-12-26 10:45:21 -06:00
Gregory Nutt
4922f71703 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
e963a4d862 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
1c61bb0c53 Fix a duplicate label introduce in recent commit 2013-12-23 14:29:25 -06:00
Gregory Nutt
76b04f137f Need to protect state on stack to do nested interrupt handling 2013-12-23 14:11:32 -06:00
Gregory Nutt
d41bfe4d5b Fixes a few more high priority, nested interrupt logic 2013-12-23 11:13:56 -06:00
Gregory Nutt
22e208dbf9 Several fixes related to Cortex-M RAM vectors 2013-12-22 18:19:08 -06:00
Gregory Nutt
88faa55ac1 Fix some missing parameters in macros 2013-12-22 16:29:36 -06:00
Gregory Nutt
483a4d8d2b Finish the high priority, nested interrupt handler test (does not work) 2013-12-22 13:23:57 -06:00
Gregory Nutt
facf988cb2 Add logic to configure interrupt controller debug; Fix high priority, nested interrupt build problems 2013-12-22 11:16:29 -06:00
Gregory Nutt
5f89b91ad1 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
7bcfcb2544 Beginning of high priority nested interrupt support for the ARMv7-M family 2013-12-21 11:03:38 -06:00
Gregory Nutt
49f73c04ae Fix a typo that was cloned to several SAMA5 and MTD files 2013-12-21 09:45:27 -06:00
Gregory Nutt
1e7365eea4 Cosmetic: Changlog and update to comments 2013-12-20 16:24:22 -06:00
Gregory Nutt
67b5785d58 Kconfigs: Interrupt prioritization should not be automatically selected 2013-12-20 08:42:54 -06:00
Gregory Nutt
ed56d3aa83 Replace explicit hex MMU value with definition 2013-12-18 12:47:43 -06:00
Gregory Nutt
e9d7ab1ba3 A10: Extend register debug logic 2013-12-18 11:26:48 -06:00
Gregory Nutt
447e79dccc Fix bad register name in INTC debug function 2013-12-18 10:14:12 -06:00
Gregory Nutt
e23dcc6384 Cortex-A: Fix start-up cache invalidation logi 2013-12-18 09:01:43 -06:00
Gregory Nutt
d67eeb1f8a A10: Make sure that interrupts are disabled and cleared 2013-11-17 11:40:58 -06:00
Gregory Nutt
a542164b1d Page lies in SRAM A2 not A1 2013-11-17 10:37:10 -06:00
Gregory Nutt
fa3593a2c5 Remove executable mode bits 2013-11-17 08:27:11 -06:00
Gregory Nutt
d46dd5f8e2 A10: Fix DDR mapping 2013-12-17 09:22:27 -06:00
Gregory Nutt
1771b69b62 Cosmetic changes to comments and README files 2013-12-16 13:48:20 -06:00
Gregory Nutt
cbe5751c3b Trivial updates to comments and README files 2013-12-16 11:13:55 -06:00
Gregory Nutt
96918171ee Review Cortex-A9 CP15 registers and update register definitions 2013-12-16 10:23:29 -06:00
Gregory Nutt
93914d8686 Back port some A10 changes into the SAMA5 memory map definitions 2013-12-16 09:21:55 -06:00
Gregory Nutt
c4380b5a8f 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
9f01df47ea 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
623229057f A10 serial driver (still needs some work). From Alan Carvalho de Assis 2013-12-13 16:41:44 -06:00
Gregory Nutt
c5f56cb39b Eliminate some warnings in the pcDuino A10 build 2013-12-13 13:09:45 -06:00
Gregory Nutt
756fd631ca A10: Add A10 configuration header file 2013-12-13 12:53:33 -06:00
Gregory Nutt
d6b81cc7ef A10: Timer interrupt handler 2013-12-13 12:42:26 -06:00
Gregory Nutt
124bd68c6f Finish A10 Timer register definitions 2013-12-13 11:44:52 -06:00
Gregory Nutt
c0367fcc0a Beginning of Timer register definition file for the A10 2013-12-12 12:27:30 -06:00
Gregory Nutt
1f097aa856 A10/pcDuino/Linux build fixes 2013-12-11 17:05:08 -06:00
Gregory Nutt
70a8510fb9 A10: Re-vamp pin configuratin header file 2013-12-11 14:40:52 -06:00
Gregory Nutt
482d94cfd2 A10+pcDuino: PIO support, LED and button support 2013-12-11 13:23:40 -06:00
Gregory Nutt
06f08899dc A10 PIO register definition header file 2013-12-10 15:53:32 -06:00
Gregory Nutt
e282aad903 Move include/nuttx/fb.h to include/nuttx/video/fb.h 2013-12-10 09:23:54 -06:00
Gregory Nutt
bdfb2f7eb6 More OV2640 initialization logic 2013-12-10 09:10:39 -06:00
Gregory Nutt
ae10aea36c A10 peripheral selection logic 2013-12-09 15:24:54 -06:00
Gregory Nutt
59d5c8151d A little SAMA5 camera stuff 2013-12-09 14:20:11 -06:00
Gregory Nutt
0297ed0966 A10 UART: Register definition header file 2013-12-09 14:18:32 -06:00
Gregory Nutt
4d07c15932 Add OV2640 camera support to test the SAMA5 ISI peripheral 2013-12-09 10:51:22 -06:00
Gregory Nutt
227cddccfa A10: Re-write of interrupt management logic 2013-12-09 07:47:15 -06:00
Gregory Nutt
0e54839bf7 Add A10 interrupt numbers 2013-12-08 11:49:39 -06:00
Gregory Nutt
4a3629180e A10 interrupt logic 2013-12-08 10:18:28 -06:00
Gregory Nutt
c661c4014f A10 mmu configuration and INTC register definitions 2013-12-08 09:11:52 -06:00
Gregory Nutt
ae044a485c pcDuino: More changes to get the code fragments that are in place building successfully 2013-12-07 16:44:23 -06:00
Gregory Nutt
22fefb59da 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
05759e0721 Add basic directory structure to support the Allwinner A10 2013-12-07 13:06:34 -06:00
Gregory Nutt
7b6b2bbd7c Minor updates to comments and README files 2013-12-07 07:00:48 -06:00
Gregory Nutt
9afdaa6744 SAMA5 NAND: Fix some DMA-related issues 2013-12-06 13:04:15 -06:00
Gregory Nutt
08e027b42f SAMA5 NAND: bugfixes 2013-12-06 11:34:29 -06:00
Gregory Nutt
6157214f4c SAMA5 NAND: Fix several bugs associated with PMECC data transfers 2013-12-05 18:20:32 -06:00
Gregory Nutt
692b087d07 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
422b225401 Cosmetic updates to comments and READMEs 2013-12-04 16:41:45 -06:00
Gregory Nutt
698baf9baa LPC31 EHCI: Fix errors in DEBUGASSERT statements 2013-12-04 14:29:24 -06:00
Gregory Nutt
adc0b36c8f SAMA5 NAND: PMECC logic was reading past the end of the user buffer 2013-12-04 13:14:26 -06:00
Gregory Nutt
ae01f868b2 SAMA5 NAND: Fix some PMECC setup logic 2013-12-04 11:56:56 -06:00
Gregory Nutt
13010883eb SAMA5 NAND: Do not perform DMA on small transfers 2013-12-04 07:41:29 -06:00