Commit Graph

3445 Commits

Author SHA1 Message Date
Gregory Nutt
2b4464e716 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
462ea02c0c SAMD20: Some progress debugging SPI. Currently hangs 2014-02-20 15:20:42 -06:00
Gregory Nutt
9c1d9e44d4 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
d2bb6f3e0f SAMD20: SPI driver is code-complete, but untested 2014-02-20 09:59:54 -06:00
Gregory Nutt
07f750ba3d SAMD: A little more SPI logic 2014-02-19 18:48:59 -06:00
Gregory Nutt
7f8a0a01c7 LM3/4: Several errors were unmasked with UARTs > UART2 were enabled. Fromo Gosha 2014-02-19 17:02:30 -06:00
Gregory Nutt
172699fc96 SAMD20: Add a framework for an SPI driver 2014-02-19 16:52:12 -06:00
Gregory Nutt
0d47805ee4 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
c8757cb0e6 STM32 Timer: Set CCMR wehn selecting timer channel. From David Sidrane 2014-02-18 13:50:46 -06:00
Gregory Nutt
a916f2a008 STM32 SPI: Disable SPI before modifying CR1 2014-02-18 13:42:20 -06:00
Gregory Nutt
0c19cc2c13 More STM32F429 Discovery FPU-related changes from David Alessio 2014-02-18 12:07:17 -06:00
Gregory Nutt
c461be6b32 SAMD20: Increase FLASH waitstates to 2 2014-02-18 10:37:42 -06:00
Gregory Nutt
828dd726d9 Mostly cosmetic clean-up of comments 2014-02-17 19:22:53 -06:00
Gregory Nutt
26db6a7609 SAMD20: Fix BAUD calculation. Now comes up okay about 20% of the time 2014-02-17 18:09:17 -06:00
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