Commit Graph

3451 Commits

Author SHA1 Message Date
Gregory Nutt
8d6565b85d 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
d303194e22 SAM4E: Update PMC and SPI register definition header files 2014-02-22 10:32:28 -06:00
Gregory Nutt
a3acfc785f SAM4E: Pin multiplex definition header file 2014-02-21 18:10:53 -06:00
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
fdccfe930b Remove the unusable m68332evb configuration 2014-02-16 07:54:23 -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
74cb19cfb2 Fix some typos in some documents 2014-02-08 10:46:29 -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
ca807a4ed3 Update dependencies for CONFIG_BOOT_SDRAM_DATA. This should not be available if the system boots from SDRAM (via a bootloader) 2014-01-29 09:08:58 -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
2c8a2bfffc x86: fix 'Error: .size expression for idle_stack does not evaluate to a constant' bug from Matt Campbell 2014-01-25 13:53:23 -06:00
Gregory Nutt
2f837ccd2a rename up_led*() functions to board_led_*() 2014-01-24 14:28:49 -06:00
Gregory Nutt
7b9a71eff2 Suppress option to use custom optimization levels for architectures that do not support it 2014-01-24 08:07:27 -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
d2472c7494 Should enable external bus after configuring it 2014-01-23 17:41:29 -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
806b01deef 16z: Fix option bits; adjust system clock frequency 2014-01-23 12:06: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
7f8c50aa51 16Z: Some early bring-up fixes 2014-01-22 13:46:42 -06:00
Gregory Nutt
564fe7e232 configs/16z: Add support for 16z board 2014-01-22 11:50:37 -06:00
Gregory Nutt
d96bfc2d9b X86: Add a configuration option to select the -m32 compiler option when needed 2014-01-18 07:38:50 -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
32b4a48e7a Misc changes from Richard Cochran 2014-01-15 11:05:15 -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
c49b0b09d9 ZNEO: Fix lost serial interrupt bug 2014-01-02 10:03:08 -06:00
Gregory Nutt
c01e95584c STM32: Single wire UART support from Thomas Grubler 2014-01-02 07:56:46 -06:00
Gregory Nutt
5a8517b849 Add Z16F NSH configuration 2014-01-01 12:40:18 -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
5c28d5a15b Disable CONFIG_ARCH_INT_DISABLEALL: It does not work in its current form 2013-12-23 14:15:11 -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
a4e72dec0e More separation of debug symbols and optimization selections 2013-12-20 12:36:02 -06:00
Gregory Nutt
67b5785d58 Kconfigs: Interrupt prioritization should not be automatically selected 2013-12-20 08:42:54 -06:00
Gregory Nutt
a00e2987c4 Various changes for a clean ZNEO ZDS-II build 2013-12-19 10:01:52 -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
62bf4d158d Move ramdisk.h to include/nutt/fs/ramdisk.h 2013-12-10 09:42:58 -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