Commit Graph

3406 Commits

Author SHA1 Message Date
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
Gregory Nutt
0a456987c6 Condition out most of the recent NXFFS changes for NAND. NXFFS will never be able to support NAND 2013-12-03 13:11:11 -06:00
Gregory Nutt
d125a28b0d SAMA5 DMA: Address of next descriptor in list is a physical address 2013-12-03 09:48:13 -06:00
Gregory Nutt
8ad33030d3 SAMA5 NAND: Only CS3 can have NAND 2013-12-03 06:59:22 -06:00
Gregory Nutt
2fcec7e80c Kconfigs: Fix and issue with SERCOMM_CONSOLE being define in two places 2013-12-02 17:21:46 -06:00
Gregory Nutt
1de529cc42 SAMA5 NAND: Can't DMA using DMAC1. Add lots of NAND DMA debug instrumentation 2013-12-02 17:15:57 -06:00
Gregory Nutt
c62a9c269a SAMA5 NAND: Basic NAND access now work (software ECC and no DMA) 2013-12-01 18:21:41 -06:00
Gregory Nutt
06dca0d263 SAMA5 NAND: Return value should not be ignored 2013-12-01 13:39:28 -06:00
Gregory Nutt
cdaa0b9671 ViewTool STM32F107: Basic NSH checks out okay 2013-12-01 10:05:40 -06:00
Gregory Nutt
6cd5215759 SAMA5 NAND: Fix some race conditions in checking status bits 2013-11-30 14:17:32 -06:00
Gregory Nutt
394d1a8232 SAMA5 EHCI: Fix case when interrupt endpoints enabled 2013-11-29 16:42:44 -06:00
Gregory Nutt
b91ed67902 Make naming consistent for USB host initialiation functions 2013-11-29 14:31:44 -06:00
Gregory Nutt
d44b690dce LPC31 EHCI: Verified that driver works with keyboard (low-speed, interrupt endpoints) 2013-11-29 14:31:42 -06:00
Gregory Nutt
4b8ba0cddc SAMA5 NAND: Don't use HSMC interrupts. They occur to quickly and cause mysterious race conditions 2013-11-29 11:52:47 -06:00
Gregory Nutt
49bcf2da73 LPC31 EHCI: Fixes so that high- and low-speed devices work with the EHCI host 2013-11-28 15:13:56 -06:00
Gregory Nutt
0dddb37c36 LPC31 EHCI: Make stream disable a configurable option 2013-11-28 13:30:06 -06:00
Gregory Nutt
d2eee4b7f0 SAMA5 NAND: Still debugging 2013-11-28 12:21:33 -06:00
Gregory Nutt
ec3397dde6 STM32 F4: Add support for GPIOK and GPIOJ. From Ken Pettit 2013-11-28 08:13:59 -06:00
Gregory Nutt
4f714d2be4 LPC31 EHCI: Seems to work after re-ordering some initialization logic 2013-11-27 13:14:23 -06:00
Gregory Nutt
a0a17933fd SAMA5 NAND: A few bug fixes for integration. Still lots more to do 2013-11-27 11:04:40 -06:00
Gregory Nutt
e8c0512ea6 SAMA5 NAND: Fix some DMA related issues 2013-11-27 07:37:42 -06:00
Gregory Nutt
2f0326033b SAMA5 DMA: Add an option to disable DMA for debug purposes 2013-11-26 06:55:14 -06:00
Gregory Nutt
ce293c1e75 SAMA5 NAND: Changes made durint testing (still does not work) 2013-11-25 18:38:03 -06:00
Gregory Nutt
bafa5b1031 SAMA5 NAND: Trivial changes 2013-11-25 14:16:04 -06:00
Gregory Nutt
eb3a2335da SAMA5 NAND: Fix a few race conditions 2013-11-25 13:53:58 -06:00
Gregory Nutt
34bc3eea1d SAMA5D3x-EK NAND: Integrate SAMA5 NAND support into SAMA5D3x-EK board support 2013-11-25 12:10:24 -06:00