Commit Graph

3431 Commits

Author SHA1 Message Date
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
85a2821284 Remove the unusable m68332evb configuration 2014-02-16 07:54:23 -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
Gregory Nutt
f30412753e SAMD20: Add SYSCTRL register definition header file 2014-02-13 15:41:16 -06:00
Gregory Nutt
6fd6c6e11d SAMD20: Add GCLK and PM register definition header files 2014-02-13 14:07:58 -06:00
Gregory Nutt
6efc562419 SAMD20: Add port configuration logic 2014-02-13 12:44:22 -06:00
Gregory Nutt
f1b69a0460 Add SAMD20 pin configuration definitions 2014-02-13 10:56:15 -06:00
Gregory Nutt
eb769a9a0d 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
c9b48b043c Fix-up some SAMD20 SERCOM conditionals 2014-02-12 18:29:23 -06:00
Gregory Nutt
991a897f09 Add initial support for the Atmel SAMD20 Xplained Pro board 2014-02-12 17:50:58 -06:00
Gregory Nutt
6fea68c36e Add basic framework to support the Atmel SAMD Cortex-M+ chip 2014-02-12 15:07:11 -06:00
Gregory Nutt
05cf59feef Fix typo cloned to many files: SAM32 vs SAM34 2014-02-12 13:00:24 -06:00
Gregory Nutt
e3b409a436 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
b3792fcd86 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
16e3293e69 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
0920195725 LPC17 USB Host: Fix a compile error when USB debug is enabled 2014-02-09 15:54:58 -06:00
Gregory Nutt
976e178ac4 Fix a compile error that crept into the LPC17xx USB host driver 2014-02-09 13:45:18 -06:00
Gregory Nutt
270afe8c90 Fix some typos in some documents 2014-02-08 10:46:29 -06:00
Gregory Nutt
2865608743 A10 had the same cut'n'paste error as did the LM4F 2014-02-03 17:22:47 -06:00
Gregory Nutt
06008553a2 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
a85df67a68 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
0d325c213f A10: Make sure it is tolerant of CONFIG_BOOT_SDRAM_DATA 2014-01-29 08:16:02 -06:00
Gregory Nutt
6e6b048e5a SAMA5: Fix logic for running with data in SDRAM 2014-01-29 07:49:23 -06:00
Gregory Nutt
e29e0f1cc4 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
93bd80b080 SAMA5: Mostly cosmetic 2014-01-28 15:54:03 -06:00
Gregory Nutt
51e64910a0 SAMA5: More variables-in-SDRAM stuff 2014-01-28 15:05:19 -06:00
Gregory Nutt
c930554c2c Add support for .data and .bss in SDRAM 2014-01-28 14:35:03 -06:00
Gregory Nutt
4aee332cd1 Add option to indicatet that data is retained in SDRAM 2014-01-28 10:42:49 -06:00
Gregory Nutt
ddd678e45b Remove EFM32 from build system 2014-01-27 10:41:06 -06:00
Gregory Nutt
26b7316609 Remove support for EFM32. Not ready to be fielded 2014-01-27 08:03:39 -06:00
Gregory Nutt
c903fffc4a 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
a26b03d0d0 rename up_led*() functions to board_led_*() 2014-01-24 14:28:49 -06:00
Gregory Nutt
58d53a3599 Suppress option to use custom optimization levels for architectures that do not support it 2014-01-24 08:07:27 -06:00
Gregory Nutt
231889c888 The optimization level can now be selected as part of the configuration 2014-01-24 07:45:35 -06:00
Gregory Nutt
74630ea610 Should enable external bus after configuring it 2014-01-23 17:41:29 -06:00
Gregory Nutt
64aa48c60f 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
86fd6af866 16z: Fix option bits; adjust system clock frequency 2014-01-23 12:06:57 -06:00
Gregory Nutt
07d12a800d Basic support for the EFM32 processor family from Richar Cochran 2014-01-23 07:56:10 -06:00
Gregory Nutt
186f6ce828 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
4b74cf594f 16Z: Some early bring-up fixes 2014-01-22 13:46:42 -06:00
Gregory Nutt
e44748d1c3 configs/16z: Add support for 16z board 2014-01-22 11:50:37 -06:00
Gregory Nutt
8794536cf2 X86: Add a configuration option to select the -m32 compiler option when needed 2014-01-18 07:38:50 -06:00
Gregory Nutt
1061e67f14 Fix error in last ARMv7-M up_disable_irq checkin 2014-01-15 15:26:32 -06:00
Gregory Nutt
271fdb5bc6 Misc changes from Richard Cochran 2014-01-15 11:05:15 -06:00
Gregory Nutt
e43f86071d 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
4de5e40669 Individual IRQs are not longer disabled on each interrupt. See ChangeLog for detailed explanation 2014-01-15 08:09:19 -06:00
Gregory Nutt
dd4e64d9f3 Changes to get PX4 config to build. Also some warning removal 2014-01-14 13:30:22 -06:00
Gregory Nutt
e37c12e88c A10: Serial clock is OSC24M. From Alan Carvalho de Assis 2014-01-10 15:32:42 -06:00
Gregory Nutt
fc2ff5ad75 Fix types in conditional compilation 2014-01-10 13:36:18 -06:00
Gregory Nutt
b4a577a49e Add support for the XPT2046 touchscreen controller on the Viewtool LCD module 2014-01-09 10:57:17 -06:00
Gregory Nutt
162e240ed3 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
363d44b7d0 Cosmetic spaces to tabs change 2013-12-08 10:38:33 -06:00
Gregory Nutt
1cbb15db1a A10: Fix serial TX interrupts 2013-12-08 09:26:53 -06:00
Gregory Nutt
e4358ad7ff A10: Correct handling of the serial busy interrupt 2013-12-08 08:51:19 -06:00
Gregory Nutt
c131e94d04 Add more nops after enabling MMU for Cortex-A8 2014-01-07 08:38:00 -06:00
Gregory Nutt
25abb10ef3 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
e40cc00b06 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
f1e44300c6 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
e86f940374 SVC is the preferred mnemonic vs. SWI for cortex A 2014-01-05 16:21:41 -06:00
Gregory Nutt
0673a9564c Oops. Mnemonic changed from SWI to SVC in cortex A 2014-01-05 15:59:49 -06:00
Gregory Nutt
b9816723a5 Add ARMv7-A syscall.h header file 2014-01-05 15:49:06 -06:00
Gregory Nutt
e83bd3e961 Viewtools STM32F103: Add SSD1289 LCD support 2014-01-05 14:14:59 -06:00
Gregory Nutt
e370c5fc72 ZNEO: Fix lost serial interrupt bug 2014-01-02 10:03:08 -06:00
Gregory Nutt
b1d61b4e82 STM32: Single wire UART support from Thomas Grubler 2014-01-02 07:56:46 -06:00
Gregory Nutt
e8cf8801e6 Add Z16F NSH configuration 2014-01-01 12:40:18 -06:00
Gregory Nutt
3f4064281a STM3240G-EVAL knxwm: Work around CodeSourcery library bug by switching to buildroot 2013-12-31 10:55:46 -06:00
Gregory Nutt
f51b69b198 Decoupling NX user interfaces to support NX kernel build (phase 1) 2013-12-27 13:18:20 -06:00
Gregory Nutt
543c16de75 Fix naming of STM32 F3 SPI2 MOSI and MISO pins. From Brian Webb 2013-12-27 11:15:18 -06:00
Gregory Nutt
2d92d7825d STM32F107 OTG FS clock presecaler cannot be configurated after the USB clock is enabled 2013-12-26 10:45:21 -06:00
Gregory Nutt
515fad9616 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
8660aed4a9 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
4100de6648 Fix a duplicate label introduce in recent commit 2013-12-23 14:29:25 -06:00
Gregory Nutt
136f262c1d Disable CONFIG_ARCH_INT_DISABLEALL: It does not work in its current form 2013-12-23 14:15:11 -06:00
Gregory Nutt
9c2c1e8589 Need to protect state on stack to do nested interrupt handling 2013-12-23 14:11:32 -06:00
Gregory Nutt
29c43b0b24 Fixes a few more high priority, nested interrupt logic 2013-12-23 11:13:56 -06:00
Gregory Nutt
c9f18483b3 Several fixes related to Cortex-M RAM vectors 2013-12-22 18:19:08 -06:00
Gregory Nutt
1705b3f894 Fix some missing parameters in macros 2013-12-22 16:29:36 -06:00
Gregory Nutt
e73291a8ea Finish the high priority, nested interrupt handler test (does not work) 2013-12-22 13:23:57 -06:00
Gregory Nutt
161a172dc1 Add logic to configure interrupt controller debug; Fix high priority, nested interrupt build problems 2013-12-22 11:16:29 -06:00
Gregory Nutt
eaed4c04a2 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
3855ce04e8 Beginning of high priority nested interrupt support for the ARMv7-M family 2013-12-21 11:03:38 -06:00
Gregory Nutt
f8d608a054 Fix a typo that was cloned to several SAMA5 and MTD files 2013-12-21 09:45:27 -06:00
Gregory Nutt
f3198d5812 Cosmetic: Changlog and update to comments 2013-12-20 16:24:22 -06:00
Gregory Nutt
ce5e133821 More separation of debug symbols and optimization selections 2013-12-20 12:36:02 -06:00
Gregory Nutt
f53f269a84 Kconfigs: Interrupt prioritization should not be automatically selected 2013-12-20 08:42:54 -06:00
Gregory Nutt
74b2ac023d Various changes for a clean ZNEO ZDS-II build 2013-12-19 10:01:52 -06:00
Gregory Nutt
d28622a628 Replace explicit hex MMU value with definition 2013-12-18 12:47:43 -06:00
Gregory Nutt
9462db3d3c A10: Extend register debug logic 2013-12-18 11:26:48 -06:00
Gregory Nutt
891ca0c590 Fix bad register name in INTC debug function 2013-12-18 10:14:12 -06:00
Gregory Nutt
b48685b34b Cortex-A: Fix start-up cache invalidation logi 2013-12-18 09:01:43 -06:00
Gregory Nutt
2dcf15944f A10: Make sure that interrupts are disabled and cleared 2013-11-17 11:40:58 -06:00
Gregory Nutt
89a1cff17b Page lies in SRAM A2 not A1 2013-11-17 10:37:10 -06:00
Gregory Nutt
9ab637d218 Remove executable mode bits 2013-11-17 08:27:11 -06:00
Gregory Nutt
a8fa901535 A10: Fix DDR mapping 2013-12-17 09:22:27 -06:00
Gregory Nutt
77c2cf2aa8 Cosmetic changes to comments and README files 2013-12-16 13:48:20 -06:00
Gregory Nutt
05d6d3c252 Trivial updates to comments and README files 2013-12-16 11:13:55 -06:00
Gregory Nutt
ccd5763003 Review Cortex-A9 CP15 registers and update register definitions 2013-12-16 10:23:29 -06:00
Gregory Nutt
1ebe9bdae2 Back port some A10 changes into the SAMA5 memory map definitions 2013-12-16 09:21:55 -06:00
Gregory Nutt
0ef05b06d7 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
726557c712 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
4d89d0f383 A10 serial driver (still needs some work). From Alan Carvalho de Assis 2013-12-13 16:41:44 -06:00
Gregory Nutt
94da6b82d2 Eliminate some warnings in the pcDuino A10 build 2013-12-13 13:09:45 -06:00
Gregory Nutt
cbecff0f2f A10: Add A10 configuration header file 2013-12-13 12:53:33 -06:00
Gregory Nutt
41ce419ebc A10: Timer interrupt handler 2013-12-13 12:42:26 -06:00
Gregory Nutt
009c65c25a Finish A10 Timer register definitions 2013-12-13 11:44:52 -06:00
Gregory Nutt
6190664203 Beginning of Timer register definition file for the A10 2013-12-12 12:27:30 -06:00
Gregory Nutt
b46501fafc A10/pcDuino/Linux build fixes 2013-12-11 17:05:08 -06:00
Gregory Nutt
212e8bf655 A10: Re-vamp pin configuratin header file 2013-12-11 14:40:52 -06:00
Gregory Nutt
7076b5ac51 A10+pcDuino: PIO support, LED and button support 2013-12-11 13:23:40 -06:00
Gregory Nutt
e92a15df7f A10 PIO register definition header file 2013-12-10 15:53:32 -06:00
Gregory Nutt
b3745e36b7 Move ramdisk.h to include/nutt/fs/ramdisk.h 2013-12-10 09:42:58 -06:00
Gregory Nutt
b4144e21d6 Move include/nuttx/fb.h to include/nuttx/video/fb.h 2013-12-10 09:23:54 -06:00
Gregory Nutt
a35d366dea More OV2640 initialization logic 2013-12-10 09:10:39 -06:00
Gregory Nutt
69710d1657 A10 peripheral selection logic 2013-12-09 15:24:54 -06:00
Gregory Nutt
753df33e55 A little SAMA5 camera stuff 2013-12-09 14:20:11 -06:00
Gregory Nutt
bda70b1dd6 A10 UART: Register definition header file 2013-12-09 14:18:32 -06:00
Gregory Nutt
fe2f4aff1f Add OV2640 camera support to test the SAMA5 ISI peripheral 2013-12-09 10:51:22 -06:00
Gregory Nutt
8f11a14535 A10: Re-write of interrupt management logic 2013-12-09 07:47:15 -06:00
Gregory Nutt
1a8d5b343c Add A10 interrupt numbers 2013-12-08 11:49:39 -06:00
Gregory Nutt
641767965b A10 interrupt logic 2013-12-08 10:18:28 -06:00
Gregory Nutt
509cf450b6 A10 mmu configuration and INTC register definitions 2013-12-08 09:11:52 -06:00
Gregory Nutt
38eee28af6 pcDuino: More changes to get the code fragments that are in place building successfully 2013-12-07 16:44:23 -06:00
Gregory Nutt
0f14b63afb 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
d460e8d7fa Add basic directory structure to support the Allwinner A10 2013-12-07 13:06:34 -06:00
Gregory Nutt
b0859ea286 Minor updates to comments and README files 2013-12-07 07:00:48 -06:00
Gregory Nutt
f5bc559417 SAMA5 NAND: Fix some DMA-related issues 2013-12-06 13:04:15 -06:00
Gregory Nutt
e92d493d8e SAMA5 NAND: bugfixes 2013-12-06 11:34:29 -06:00
Gregory Nutt
1b21322f06 SAMA5 NAND: Fix several bugs associated with PMECC data transfers 2013-12-05 18:20:32 -06:00
Gregory Nutt
d01808c603 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
10143f89f4 Cosmetic updates to comments and READMEs 2013-12-04 16:41:45 -06:00
Gregory Nutt
333a49152b LPC31 EHCI: Fix errors in DEBUGASSERT statements 2013-12-04 14:29:24 -06:00
Gregory Nutt
39c3b783ae SAMA5 NAND: PMECC logic was reading past the end of the user buffer 2013-12-04 13:14:26 -06:00
Gregory Nutt
8a97561ceb SAMA5 NAND: Fix some PMECC setup logic 2013-12-04 11:56:56 -06:00
Gregory Nutt
9632d2a7f6 SAMA5 NAND: Do not perform DMA on small transfers 2013-12-04 07:41:29 -06:00