Commit Graph

2307 Commits

Author SHA1 Message Date
Gregory Nutt
1bd343b690 configs/olimex-stm32-p107: Failes to build is SPI3 for UEXT is not remapped 2014-01-21 10:01:51 -06:00
Gregory Nutt
297896fe0e getopt(): Could leave optind in undefined state if argc == 1 2014-01-20 13:13:36 -06:00
Gregory Nutt
006a430029 ctypes.h: Fix typo in macro name iscontrol->iscntrl 2014-01-18 13:22:20 -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
2382af1e7b You can again specify the default board sub-directory when CONFIG_ARCH_BOARD_CUSTOM is used 2014-01-16 10:42:54 -06:00
Gregory Nutt
ebc3a64e35 Back out last change to configs/Kconfig. It has some bad side-effects 2014-01-16 10:13:20 -06:00
Gregory Nutt
0309c63a23 You can now specify or override the default board sub-directory. This is only useful when CONFIG_ARCH_BOARD_CUSTOM is used and the default board sub-directory is not available 2014-01-16 09:43:09 -06:00
Gregory Nutt
be14ee1f95 Move strol(), stroul(), and friends from libc/string to libc/stdlib where they belong 2014-01-16 08:03:26 -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
c9cb7972fb FAT: Fix some root directory logic that was conditionally done only for FAT32. Apparently this needs to be done for all FAT types. From Tridge via Lorenz Meier 2014-01-14 18:24:21 -06:00
Gregory Nutt
2bfad60c85 If write buffering is enabled, then it is necessary to release the write buffer resources (callback structure) when the socket is closed 2014-01-14 18:19:43 -06:00
Gregory Nutt
806af1f4e2 When dup'ing sockets, need to clone fields for TCP write buffering too 2014-01-14 15:17:53 -06:00
Gregory Nutt
85e7e13bb0 Fix a FAT cluster allocation bug. From Tridge 2014-01-14 13:45:26 -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
a9e44cdfe0 The first set of changes to incorporate Jason Jiangs TCP write buffering logic 2014-01-13 17:11:01 -06:00
Gregory Nutt
0142b3cf5f NET: prevent tcp_connect callback from being double freed. From Max Holtzberg. 2014-01-13 12:04:01 -06:00
Gregory Nutt
cbb5e4889b Add support for the SO_LINGER socket option. Based on logic from Jason Jiang. Utestested on initial commit 2014-01-13 11:58:45 -06:00
Gregory Nutt
fd54cfb213 Add support for the STM32VL-Discovery board. Contributed by Alan Carvalho de Assis 2014-01-12 17:59:38 -06:00
Gregory Nutt
95b63762fb Fix a memory leak in dynamic loader 2014-01-11 14:11:41 -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
4e2c140124 Add stpcpy() 2014-01-09 14:08:48 -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
8edac663d8 Still recovering from recent NX reorganization. Reported by Steve Redler IV 2014-01-08 17:28:54 -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
0bdee120a1 Add lib_libfgets() to better support the small differences between gets(), gets_s(), and fgets() 2014-01-08 10:47:34 -06:00
Gregory Nutt
2060d75ba2 Add a quick'n'dirty implementation of C11 threads.h 2014-01-07 18:09:35 -06:00
Gregory Nutt
e3b12cbaa9 Add x qualifier to fopen to support exlusive open 2014-01-07 17:18:38 -06:00
Gregory Nutt
c5f9b8768e Add type rsize_t and function gets_s() 2014-01-07 16:27:45 -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
72f00b9bb6 mkconfig: Cast RAM size to unsigned to avoid complains about integer overflow in calculatino of CONFIG_RAM_END 2014-01-06 12:09:13 -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
b46aa97ac4 Makefile.win: Native windows build fixes from Max Holtzberg 2014-01-04 09:14:42 -06:00
Gregory Nutt
f9189ae64e Olimex STM32 P107: Add native Windows build support. From Max Holtzberg 2014-01-04 09:11:20 -06:00
Gregory Nutt
b9a38cea22 nuttx/tools: Fixes for some Windows native build issues from Max Holtzberg 2014-01-04 09:08:14 -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
892784538d sim/mount: Converted to use kconfig-frontends tools 2014-01-01 08:52:58 -06:00
Gregory Nutt
43e47f8e78 NX server needs to be on a kernel thread for the kernel build 2013-12-30 17:55:19 -06:00
Gregory Nutt
f51f85db37 NX: Use a consistent allocator in all configurations 2013-12-30 12:42:18 -06:00
Gregory Nutt
b2a68d8b17 Move nuttx/configs/stm3240g-eval/src/up_cxxinitialize.c to apps/platform/stm3240g-eval/ 2013-12-29 15:02:51 -06:00
Gregory Nutt
804e80d0cb STM3240G-EVAL: Add kernel build mode support and an NxWM kernel mode configuration 2013-12-29 13:15:08 -06:00
Gregory Nutt
5c7a4896cc Add nx_start() to simplify starting the NX server from within the RTOS 2013-12-29 11:11:48 -06:00
Gregory Nutt
c144669782 Move more files from graphics/nxmu to libnx/nxmu 2013-12-29 08:48:06 -06:00
Gregory Nutt
715177d861 Add sem_timedwait to syscalls 2013-12-28 12:04:39 -06:00
Gregory Nutt
af40e36466 Move graphics/nxtk to libnx/nxtk 2013-12-28 11:33:21 -06:00
Gregory Nutt
e88922bce1 Move graphics/nxfonts to libnx/nxfonts 2013-12-28 09:33:12 -06:00
Gregory Nutt
a457105a0b Move the NX components out of libc and into its own library, libnx 2013-12-28 08:40:03 -06:00
Gregory Nutt
090a18f863 Decoupling NX user interfaces to support NX kernel build (phase 5) 2013-12-27 16:30:18 -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
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
091e5fdf66 Viewtools netnsh configuration supports Telnet console; A framework for SD card and USB device support 2013-12-25 14:51:56 -06:00
Gregory Nutt
53bc0bce00 Viewtool STM32F107: Add a NSH configuration with network support 2013-12-25 12:14:24 -06:00
Gregory Nutt
0d6a046e67 Add support for Sharp Memory LCD on the Maple board 2013-12-23 16:47:31 -06:00
Gregory Nutt
560ae31a99 Improved debug output in the high pri, nested interrupt test 2013-12-23 14:16:30 -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
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
540ab63aa6 Initial framework for a test of high-pri, nested interrupts. Incomplete and does not work 2013-12-22 10:12:26 -06:00
Gregory Nutt
b718fd007c viewtool configuration will not support boad with STM32F103VC mounted; converted one stm3210e-eval configuration to use kconfig-frontends 2013-12-22 08:51:36 -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
461a8b4433 Remove all configuration variable documentation from configs/README.txt and Docuemntation/NuttXPortingGuidle.html. The current NuttX configuration is documented in Kconfig files and in Documentation/NuttXSonfigVariables.html. The older configuration variable documentation is not being maintained and, hence, is a liability 2013-12-20 18:25:36 -06:00
Gregory Nutt
1e7365eea4 Cosmetic: Changlog and update to comments 2013-12-20 16:24:22 -06:00
Gregory Nutt
e23dcc6384 Cortex-A: Fix start-up cache invalidation logi 2013-12-18 09:01:43 -06:00
Gregory Nutt
ad5e086625 Use kconfig-qconf or kconfig-gconfig if they are available 2013-11-16 12:59:59 -06:00
Gregory Nutt
96918171ee Review Cortex-A9 CP15 registers and update register definitions 2013-12-16 10:23:29 -06:00
Gregory Nutt
7fdf57b7bb procfs now shows stack thread information 2013-12-15 14:35:47 -06:00
Gregory Nutt
1f115c76eb procfs now shows information about the group that each thread belongs: Like parents, group member, open file, and open sockets 2013-12-15 11:22:48 -06:00
Gregory Nutt
66f330331b NxConsole: Fix typo that caused compile error when CONFIG_NXCONSOLE_BPP is less than 8. From Librae 2013-12-15 07:25:49 -06:00
Gregory Nutt
46b77e2544 Support /proc/uptime 2013-12-14 10:34:08 -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
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
7aff059fd0 Move sleep() and usleep() from sched/ to libc/unistd/. These functions now are simple wrappers for nanosleep(). Remove sleep() and usleep() from system calls; add nanosleep() to system calls 2013-12-13 07:57:13 -06:00
Gregory Nutt
342e777029 Add nanosleep() 2013-12-12 20:12:33 -06:00
Gregory Nutt
2fac3de49e strftime(): Need null-termination on generated string. From Max Holtzberg 2013-12-12 17:41:07 -06:00
Gregory Nutt
c0367fcc0a Beginning of Timer register definition file for the A10 2013-12-12 12:27:30 -06:00
Gregory Nutt
0a91686566 configs/Kconfig: Typo fix from Ken Pettit 2013-12-12 09:25:31 -06:00
Gregory Nutt
e4471dc8e0 procfs/: Extenstive architectural changes and enhancements by Ken Pettit 2013-12-12 09:21:55 -06:00
Gregory Nutt
33a3bb0e37 Pattern matching logic extended by Ken Pettit 2013-12-12 08:40:54 -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
f821e74ebb Move smart.h to include/nuttx/fs/smart.h 2013-12-10 09:38:48 -06:00
Gregory Nutt
beda9787b4 Move rgbcolors.h to include/nuttx/video 2013-12-10 09:29:20 -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
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
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
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
604361ac6b Prep for the NuttX-6.32 Release 2013-12-07 11:04:08 -06:00
Gregory Nutt
ed9756c137 MTD NAND: Check if block number is out of ragne at top of loop, not bottom, to avoid some bogus transfers 2013-12-05 18:19:48 -06:00
Gregory Nutt
40e0253189 mkfatfs: Fix an error in logic that determines if FAT16 is possible 2013-12-05 18:17:22 -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
68ccbc0855 Add drivers/mtd/README.txt 2013-12-04 07:46:10 -06:00
Gregory Nutt
0d8ac38e59 SAMA5D3x-EK: Cosmetic improvements to the NOR boot printfs; updated README 2013-12-02 17:22:55 -06:00
Gregory Nutt
5b9d07e5c0 NXFFS: When dumping the MTD content, don't abort on a read error. For NAND, the read error probably just means that an uncorrectable ECC was encountered 2013-12-01 20:17:09 -06:00
Gregory Nutt
5c1f0946c2 NXFFS: First of many changes for NAND. NAND reports read errors on ECC failures. NXFFS can't just give up in these cases and must treat read failures like bad blocks 2013-12-01 18:22:33 -06:00
Gregory Nutt
5978e04411 ViewTool STM32F107: Add support for on-board LEDs and buttons 2013-11-30 14:15:15 -06:00
Gregory Nutt
22fb787c86 Basic board support for the ViewTool STM32F103/F107 board 2013-11-30 12:14:15 -06:00
Gregory Nutt
2aa0809e8b Inode semaphore must be entrant or a deadlock can occur in certain scenarios 2013-11-28 13:12:14 -06:00
Gregory Nutt
f171394ba9 STM32F429I-Discovery: Add support for external SST25 FLASH. From Ken Pettit 2013-11-28 08:21:15 -06:00
Gregory Nutt
755ee7f34b STM32 F4: Add support for GPIOK and GPIOJ. From Ken Pettit 2013-11-28 08:13:59 -06:00
Gregory Nutt
a791b1070b Fix error in SMARTFS partition number reporting 2013-11-28 08:11:13 -06:00
Gregory Nutt
5a18f048ce Add MTD SST25 driver for larger SST25 parts. From Ken Pettit 2013-11-28 08:04:46 -06:00
Gregory Nutt
1fed0407b3 MTD: Pack the geometry structure so that is can handle larger erase blocks 2013-11-27 11:04:11 -06:00
Gregory Nutt
45a4eba015 SAMA5D3x-EK NAND: Integrate SAMA5 NAND support into SAMA5D3x-EK board support 2013-11-25 12:10:24 -06:00
Gregory Nutt
b6da35e12c Add a script to produce ctags. From Ken Pettit 2013-11-23 06:49:40 -06:00
Gregory Nutt
641a3387ab Add README file for SMARTFS. From Ken Pettit 2013-11-23 06:44:17 -06:00
Gregory Nutt
38042f641a LPC-H3131: SDRAM support (untested) 2013-11-21 06:37:50 -06:00
Gregory Nutt
8f0c334d04 ARM9: More cache control functions 2013-11-20 15:24:14 -06:00
Gregory Nutt
9e804749e9 Olimex LPC-H3131: Drop loops-per-second by a factor of 4. Why is the H3131 only 25% as fast as the EA3131 at the same clocking? 2013-11-19 15:54:23 -06:00
Gregory Nutt
c9c6d0c0d1 Olimex LPC_H3131: Add GPIO support for LEDs and for USB host power enable and overcurrent detection. 2013-11-19 15:52:10 -06:00
Gregory Nutt
da5670d10b LPC3131 EHCI: Add USB host tracing support 2013-11-19 15:48:02 -06:00
Gregory Nutt
448c8572cd Rethinking some NAND interfaces 2013-11-19 08:50:12 -06:00
Gregory Nutt
3faa880ef1 MTD NAND: Beginning of software ECC logic 2013-11-18 09:43:44 -06:00
Gregory Nutt
22d4eb9cca More NAND stuff 2013-11-17 14:35:57 -06:00
Gregory Nutt
d54832a942 More NAND stuff 2013-11-17 12:22:09 -06:00
Gregory Nutt
0e7a8668a5 Continuing NAND integration 2013-11-17 08:56:30 -06:00
Gregory Nutt
03b9f5a8e6 More NAND logic (still not complete) 2013-11-16 18:26:07 -06:00
Gregory Nutt
854e50b48e Further NAND support 2013-11-16 12:22:43 -06:00
Gregory Nutt
7ccbbe07cb Further NAND development 2013-11-16 11:46:35 -06:00
Gregory Nutt
c7657c9c5e EA3131: Framework for USB host support 2013-11-15 15:56:24 -06:00
Gregory Nutt
e53ba01b64 Add support for ONFI compatible NAND devices (NAND logic still incomplete) 2013-11-15 14:11:21 -06:00
Gregory Nutt
897572a552 Moved include/nuttx/mtd.h to include/nuttx/mtd/mtd.h 2013-11-15 11:22:23 -06:00
Gregory Nutt
121de26583 SAMA5 NAND: Basic support for access to NAND FLASH 2013-11-15 09:30:05 -06:00
Gregory Nutt
517546bb47 tools/mkconfig.c: CONFIG_FS_SMARTFS must be included in the list of writable file systems 2013-11-15 07:33:39 -06:00
Gregory Nutt
fb2988042e FS mount logic: Fix error in conditional compilation. Reported by Daniel Palmer 2013-11-15 07:21:52 -06:00
Gregory Nutt
8353d234aa LPC31 EHCI: First cut at an EHCI driver for the LPC31 2013-11-14 16:12:22 -06:00
Gregory Nutt
b3faf95a7c LPC31: Configuration and build support for a forthcoming USB host driver; configs/ea3131/nsh converted to use kconfig-frontend tools 2013-11-14 15:33:43 -06:00
Gregory Nutt
b7ef5917be SAMA5 PCK: Add support for programmable clock outputs 2013-11-14 11:16:04 -06:00
Gregory Nutt
bc58422444 STM32 CAN: Options for TSEG1 and TSEG2 quanta missing from Kconfig file 2013-11-14 08:29:36 -06:00
Gregory Nutt
015072a4d4 fs/binfs/README.txt: Add a README file 2013-11-13 16:40:03 -06:00
Gregory Nutt
6e7c9b93c6 fs/procfs: Add a tiny, primitive procfs file system. Might get more interesting in the future 2013-11-13 15:59:14 -06:00
Gregory Nutt
5e4d01f626 SAMA5D3x-EK updated README 2013-11-12 17:00:37 -06:00
Gregory Nutt
2dec8fbf58 Various fixes from initial attempts to integrate the SAMA5 SSC/I2C driver with the I2C character driver loopback test 2013-11-11 15:18:57 -06:00
Gregory Nutt
0db55f5b4c STM32F429 LTDC header files and framebuffer driver framework from Ken Pettit 2013-11-11 14:05:29 -06:00
Gregory Nutt
390378bfcf Remove unused apb_prepare function 2013-11-11 08:14:56 -06:00
Gregory Nutt
6e1523cc45 Support for the Atmel SAM4E family. From Mitko 2013-11-11 07:45:09 -06:00
Gregory Nutt
64a7e96f1f I2S simplifed audio buffer queuing 2013-11-10 14:51:33 -06:00
Gregory Nutt
725ef58a19 SAMA5 SSC: Add support for loopback mode. Plus unrelated Make.defs file from the last checkin 2013-11-10 11:46:45 -06:00
Gregory Nutt
8b73558ad7 Moved audio/buffer.c to libc/audio/lib_buffer.c so that it can be shared betweent he OS and applications in a kernel build 2013-11-10 11:20:06 -06:00
Gregory Nutt
926e91555d VS1053 worker thread stack size is now configurable; Worker thread is named via pthread_setname_np(). From Ken Pettit 2013-11-10 11:03:19 -06:00
Gregory Nutt
f7f5923d9d Freedom KL25Z: Add PWM support. From Alan Carvalho de Assis 2013-11-10 10:39:03 -06:00
Gregory Nutt
c9d3cdb85e Kinetis KL: PWM driver from Alan Carvalho de Assis 2013-11-10 10:34:45 -06:00
Gregory Nutt
f5c82c0df9 Add an I2S character driver. This driver is only intended to support I2S testing and is inappropriate for use with real I2S devices 2013-11-10 10:24:09 -06:00
Gregory Nutt
4216e66fc7 STM32F429I-Discovery: Add support for the usbnsh and usbmsc configurations using the OTG HS peripheral in FS mode. From Ken Pettit. 2013-11-10 07:30:34 -06:00
Gregory Nutt
4db4c4d770 STM32 OTG FS device and host drivers extended so that they can support either the OTG FS peripheral or the OTG HS peripheral (in FS mode). This was done as a quick way to get USB support on the STM32F429 which has only OTG HS. From Ken Pettit 2013-11-10 07:23:06 -06:00
Gregory Nutt
ac120d60c3 SAMA5 I2S: Driver is code complete, untested and subject to some rethinking 2013-11-09 13:08:20 -06:00
Gregory Nutt
4171db9da2 Add an apps/examples/usbserial configuration for the Spark. From David Sidrane 2013-11-07 18:31:08 -06:00
Gregory Nutt
78a239f79e Add CDC/ACM serial driver for the Spark composite configuration 2013-11-07 17:39:13 -06:00
Gregory Nutt
d8d469fa58 STM32 F1 USB: Fix OUT SETUP command bug. From David Sidrane 2013-11-07 17:25:05 -06:00
Gregory Nutt
55b592faf8 Add support for the STM32F429I-Discovery board from Ken Pettit 2013-11-07 16:55:45 -06:00
Gregory Nutt
9d653bdfee Support for the STM32F429 from Ken Pettit 2013-11-07 16:47:43 -06:00
Gregory Nutt
4214dc9ce9 SAMA5 SSC: Add framework (only) for a forthcoming SSC-based I2S driver 2013-11-07 12:26:53 -06:00
Gregory Nutt
143c8042b8 Initial I2S interface defintion 2013-11-07 09:39:46 -06:00
Gregory Nutt
e231270215 SAMA5 PWM: PWM driver is now functional 2013-11-07 09:17:46 -06:00
Gregory Nutt
3aa348035d SAMA5D3x-EK: Add support board-specific PWM testing 2013-11-06 14:38:19 -06:00
Gregory Nutt
b5791ac7a6 SAMA5 PWM: Driver now in build and configuration system 2013-11-06 12:24:51 -06:00
Gregory Nutt
e73d77c73f SAMA5 PWM: Add first cut at PWM driver 2013-11-06 10:55:12 -06:00
Gregory Nutt
f67ee984f3 Correct unitialization of composite USB device. A stale pointer was being reused. From David Sidrane 2013-11-05 09:12:08 -06:00
Gregory Nutt
4cb6c0ad80 STM32 F1 USB device: Fix handling of EP0 start for large buffers; Add support for decoded USB trace strings. From Davice Sidrane 2013-11-05 08:56:06 -06:00
Gregory Nutt
120075577f configs/mikroe-stm32f4/fulldemo updated by Ken Pettit 2013-11-04 09:29:27 -06:00
Gregory Nutt
14b4fa3c72 configs/sim/configdata: MTD configuration data driver unit test. From Ken Pettit 2013-11-04 09:17:31 -06:00
Gregory Nutt
a4a18241d5 Updated configuration driver from Ken Pettit 2013-11-04 08:52:16 -06:00
Gregory Nutt
b9130ff601 SAMA5 CAN: Fix a data alignment problem 2013-11-03 10:41:24 -06:00
Gregory Nutt
93aae8c2c5 SAMA5 CAN: Add board-specific initialization logic 2013-11-03 10:03:52 -06:00
Gregory Nutt
a2b6d12271 Fix to SST25 driver to permit faster write modes. From David Sidrane 2013-11-02 08:27:13 -06:00
Gregory Nutt
861b8bd511 MTD config: Reduce configuration header overhead. From Ken Pettit 2013-11-01 12:22:55 -06:00
Gregory Nutt
7bbc46f721 Avoid calling pthread_join() to wait for USB MSC thread to terminate: This does not work if the caller of usb_mscuninitialize() is in a different task group than the MSC thread. From David Sidrane 2013-11-01 12:09:25 -06:00
Gregory Nutt
af4c5246b0 FAT: Fix error return value. In one failure case, success was being returned 2013-11-01 11:49:13 -06:00
Gregory Nutt
dae191ec3a Updated spark configuration from David Sidrane, including new USB MSC configuration 2013-11-01 11:28:23 -06:00
Gregory Nutt
f8b3dbaa61 Extend stack debug logic to include IDLE and interrupt stacks. Also color the heap as well. Based on suggestions from David Sidrane 2013-11-01 11:16:51 -06:00
Gregory Nutt
b102d01046 The Mikroe STM32 F4 board now uses /dev/config for configuration data storage. From Ken Pettit 2013-11-01 07:50:35 -06:00
Gregory Nutt
b01900d7e6 Add an MTD device wrapper that can used to provide a /dev/config that can be used for retaining configuration data. From Ken Pettit 2013-11-01 07:39:20 -06:00
Gregory Nutt
532d4c7cbe arch/arm/src/stm32/stm32_usbdev.c: On a failure to bind the class driver, the driver reference was being nullified too soon. This caused an exception in usbdev_reset() later. The driver reference will be null
ified later usbdev_unregister when the caller gets the error.  From David Sidrane
2013-10-31 15:27:52 -06:00
Gregory Nutt
adeb33fdd2 Fix erase block vs page block confusion in MTD partition logic. From Ken Pettit 2013-10-31 10:40:10 -06:00
Gregory Nutt
aebeb50a91 SAMA5 PWM register definition header file 2013-10-31 10:33:43 -06:00
Gregory Nutt
37d8faff37 SAMA5 SSC: Add SSC register definition header file 2013-10-30 16:15:51 -06:00
Gregory Nutt
6b8c1cc480 CC3000 driver updates from David Sidrane 2013-10-30 10:50:26 -06:00
Gregory Nutt
8c5fc5fa88 Spark configuration updated by David Sidrane 2013-10-30 10:29:51 -06:00
Gregory Nutt
62edceecd4 Prep for release 6.31 2013-10-28 14:08:34 -06:00
Gregory Nutt
de234b3a89 Add for audio sub-format in audion system. From Ken Pettit 2013-10-28 12:11:52 -06:00
Gregory Nutt
3fd4629bd7 SAMA5 ADC: Seems functional in all modes including DMA 2013-10-28 10:08:12 -06:00
Gregory Nutt
d812f25496 sched/sched_releasetcb.c: Fix an error handling case where a pthread start-up fails early, before the task type has been saved in the TCB. It is safer to use the sched_releasetcb() task type argument instead of relying on the task type in the TCB to be valid. Reported by David Sidrane 2013-10-27 17:22:28 -06:00
Gregory Nutt
1027d9f751 STM32 SPI DMA: Fix related to CONFIG_STM32_DMACAPABLE from Ken Pettit 2013-10-27 16:23:44 -06:00
Gregory Nutt
376652f293 Updated Mikroe STM32F4 configuration from Ken Pettit 2013-10-27 08:06:39 -06:00
Gregory Nutt
5fe465749f Updated VS1053 audio driver from Ken Pettit 2013-10-27 08:00:16 -06:00
Gregory Nutt
ff682d5292 SAMA5: Register definition file for camera interface 2013-10-26 08:25:58 -06:00
Gregory Nutt
8c094aeda8 CC3000 driver update from David Sidrane (part 2 of 2) 2013-10-25 16:39:27 -06:00
Gregory Nutt
ad3539209b Updated Spark board configuration from David Sidrane 2013-10-25 15:51:38 -06:00
Gregory Nutt
f39467339e Add ioctl to support software triggering of ADC/DAC conversions 2013-10-25 14:19:09 -06:00
Gregory Nutt
28d50790f2 SAMA5D3x-EK: Add support for app/examples/adc 2013-10-24 15:39:56 -06:00
Gregory Nutt
18e651b670 KL25: Update build for compatibility with recent CC3000 changes 2013-10-24 13:59:53 -06:00
Gregory Nutt
aab5b6b2d9 SAMA5: Hook in timer/counter logic so that it can driver periodic ADC sampling 2013-10-24 12:35:42 -06:00
Gregory Nutt
21c59c0aa7 Added support for the Olimex STM32 P207 board. From Martin Lederhilger 2013-10-24 08:48:04 -06:00
Gregory Nutt
f10069907a Add support for the STM32F207ZE chip. From Martin Lederhilger 2013-10-24 08:25:05 -06:00
Gregory Nutt
ba5e6669d0 CC3000 driver update from David Sidrane 2013-10-24 08:03:32 -06:00
Gregory Nutt
f6f2d2b961 SAMA5 Timer/counter library 2013-10-23 14:53:37 -06:00
Gregory Nutt
fe0f5ce44b STM32 F1 DAM fix from David Sidrane 2013-10-23 14:05:26 -06:00
Gregory Nutt
76764003a5 Add logic to enable DEBUG_NET if NET=n but WL_CC3000=y 2013-10-23 11:48:57 -06:00
Gregory Nutt
e019782db5 Update Changelog 2013-10-23 09:13:28 -06:00
Gregory Nutt
e5c2496d6a SAMA5 CAN: Driver is now code complete but still untested 2013-10-22 15:47:52 -06:00
Gregory Nutt
f5674c21fa SAMA5: Beginning of a CAN driver 2013-10-21 15:52:23 -06:00
Gregory Nutt
781119c0e6 SAMA5 CAN: Add register definition file 2013-10-21 12:22:27 -06:00
Gregory Nutt
545cef3223 scanf() fixes from kfrolov: 1) sscanf() function hangs in the following example: sscanf(2, %u,%u,%u,%u, ...), 2) sscanf() returns incorrect number of parsed numbers if some arguments can't be parsed: sscanf(=2, %u,%u,%u,%u,...)==1 instead of 0, and 3) using of char* instead of const char* in vsscanf function leads to warnings from GCC. 2013-10-21 10:41:15 -06:00
Gregory Nutt
ba1ea91e37 SAMA5 TC: Add timer/counter register definition file 2013-10-20 14:47:02 -06:00
Gregory Nutt
06c87638ae SAMA5 demo configuration: TRNG and /dev/random are now enabled 2013-10-20 12:16:17 -06:00
Gregory Nutt
0ebdbfbc88 SAMA5 TRNG: Add a /dev/random driver based on the SAMA5D3 TRNG peripheral 2013-10-20 11:38:31 -06:00
Gregory Nutt
6ee8857f9b SAMA5: Initial WDT timer (untested) 2013-10-19 12:26:47 -06:00
Gregory Nutt
8954161288 SAMA5: Hook RTC into build system; Finish RTC alarm logic; Verify correct behavior of the basic RTC functionality 2013-10-19 10:41:20 -06:00
Gregory Nutt
9e8bc003e5 Add instructions to enable RTC in the nsh/ configuration; RTC enabled by default in the demo configuration 2013-10-19 10:38:23 -06:00
Gregory Nutt
fc3889b154 Add CONFIG_DEBUG_RTC 2013-10-19 10:35:01 -06:00
Gregory Nutt
a1df31266c SAMA5: Add GPBR register definitions 2013-10-19 10:22:21 -06:00
Gregory Nutt
6fda497bc1 Updated Spark/cc3000 files from David Sidrane 2013-10-18 17:14:58 -06:00
Gregory Nutt
b05bf917b8 SAMA5 RTC: Beginning of an RTC driver for the SAMA5 2013-10-18 16:56:46 -06:00
Gregory Nutt
f479f5d698 Enhanced the FAT32 filesystem code to understand DMA preflight failures, and to use the file sector buffer as a bounce buffer when a user-supplied buffer is not suitable for DMA. From Mike Smith 2013-10-18 08:38:44 -06:00
Gregory Nutt
6a524b5734 Enhanced the mmcdd_sdio driver to perform DMA preflight operations and fail DMA read/write requests that fail preflighting. From Mike Smith 2013-10-18 08:24:18 -06:00
Gregory Nutt
46bf97abfc Add SDIO preflight method 2013-10-18 08:15:09 -06:00
Gregory Nutt
944e0fe81d Changes to stm32_dmacapable interfaces from Mike Smith 2013-10-18 08:06:23 -06:00
Gregory Nutt
973d11f625 STM32 DMA priority corrections from Mike Smith 2013-10-18 07:37:24 -06:00
Gregory Nutt
2b70abad0d Typo fixes for UART7 and UART8 DMA configs. From Mike Smith 2013-10-18 07:17:55 -06:00
Gregory Nutt
b38468d49f net_sendfile: Let the ACK callback handle the REXMIT flag and don't return until all data has been ACK'd. From Max Holtzberg 2013-10-17 09:54:48 -06:00
Gregory Nutt
8ca54913e2 Move tcp connection into SYN_RCVD state after aception instead of bypassing and moving directly into ESTABLISHED. From Max Holtzberg. 2013-10-17 09:49:33 -06:00
Gregory Nutt
cbed482747 TCP: Change how initial MSS is handled. From Max Holtzberg 2013-10-17 09:45:38 -06:00
Gregory Nutt
69dac5c775 In net_sendfile(), correct parameter passed to netdev_txnotifiy. From Max Holtzberg 2013-10-17 09:24:25 -06:00
Gregory Nutt
bf5ae4a374 Reset TCP timeout timer when data is ACKed, not when data is sent. From Max Holtzberg 2013-10-17 09:19:03 -06:00
Gregory Nutt
408ff55b7e Changed net_close debug output to verbose. From Max Holtzberg (2013-10-17) 2013-10-17 09:13:31 -06:00
Gregory Nutt
4e3d02b216 Add support for the SST25VF016B serial FLASH. From Davide Sidrane 2013-10-16 08:28:58 -06:00
Gregory Nutt
6d3bb7f51c SAMA5D3x-EK NxWM configuration: use 320x320 NuttX logo as the background 2013-10-15 16:11:33 -06:00
Gregory Nutt
96885a3afd Use NxWidgets::CScaledBitmap to scale icons in the NxWM taskbar 2013-10-15 14:29:06 -06:00
Gregory Nutt
d19eb19af4 SAMA5D3x-EK: Add NxWM configuration for the SAMA5D3x-EK boards 2013-10-13 18:49:32 -06:00
Gregory Nutt
fa71c8211c SAMA5 LCDC: Correct how framebuffer memory was being mapped; Remove options to get framebuffer memory in various. Because of the mapping and aligment requirements, those options really cannot be supported 2013-10-13 13:08:05 -06:00
Gregory Nutt
02f7c5d8d5 SAMA5 LCDC: Fixed backlight PWM divider. Backlight no longer flashes 2013-10-11 17:12:35 -06:00
Gregory Nutt
edf984df2d ENCX24J600: Improved descriptor handling, free packets on rx abort interrupt. From Max Holtzberg 2013-10-11 10:57:58 -06:00
Gregory Nutt
8f7c6e23a6 Changed the meaning of the uip_*input functions. They now return success when a packet is dropped; This is needed for the ENCX24J600 driver that must make a decision to return the packet or not: It should not retain dropped packets. From Max Holtzberg 2013-10-11 10:48:00 -06:00
Gregory Nutt
ffdaa6b5c5 Notify the socket layer if a connection is lost before the monitoring callback has been registered. From Max Holtzberg 2013-10-11 10:04:54 -06:00
Gregory Nutt
e9187d3199 SAMA5 LCDC: Wait when the LCDC is resynchronizing (SIF); Try start-up parameters from Barebox (this still don't work) 2013-10-10 18:44:08 -06:00
Gregory Nutt
b641545f93 SAMA5 LCDC: Move DMA descriptors out of internal SRAM and into SDRAM. I am not completely clear, but it looks like the LCDC cannot support DMA from internal SRAM 2013-10-10 12:02:41 -06:00
Gregory Nutt
3b6e63199a Add option to enable Aduino Due specific logic, like pull-up on UART0 RXD. Suggested by gdi@embedders.org 2013-10-09 07:35:00 -06:00
Gregory Nutt
baf1353743 SAMA5: Add an examples/nx configuration for testing the LCD 2013-10-08 16:52:21 -06:00
Gregory Nutt
f8397f8238 SAMA5: LCDC driver incorporated into the build system. 2013-10-08 15:30:38 -06:00
Gregory Nutt
1807a662a8 SAMA5: LCD driver is code complete but untested 2013-10-08 12:16:30 -06:00
Gregory Nutt
d5ec15fc78 Update to net_close() improvement from Max Holtzberg 2013-10-08 09:14:27 -06:00
Gregory Nutt
423cc009ef Cosmetic changes to comments 2013-10-06 10:46:56 -06:00
Gregory Nutt
4c884a5079 Make net_close() nonblocking and free unestablished connections if no free connections available. From Max Holtzberg 2013-10-06 09:48:54 -06:00
Gregory Nutt
d3fa588250 SAMA5 LCDC: Add 'skeleton' files that will eventually become an LCDC driver for the SAMA5 2013-10-06 09:08:52 -06:00
Gregory Nutt
f6a90114b1 Use the new signature of rxnotify caused by the routing table. From Max Holtzberg 2013-10-06 07:38:15 -06:00
Gregory Nutt
52797b84a1 Another case where we should use the routing table: There may be multiple routers on the same network. In that case, we have to search for the routing table for the router that forwards to the destination address. We do this when we determine the MAC address we want in the ARP logic 2013-10-05 19:08:57 -06:00
Gregory Nutt
95ed790c54 netdev_findbyaddr() will not use a routing table if one is available. It will also make a better decision in the case there there is no routing table but only a single network interface. 2013-10-05 13:16:18 -06:00
Gregory Nutt
d7426cd34d SAMA5: Add LCD register definition header file 2013-10-04 10:11:12 -06:00
Gregory Nutt
0ff3852b2f Add a user interface to manage the routing table 2013-10-02 10:51:48 -06:00
Gregory Nutt
fee65851ca Add framework for Spark Core board support. The initial commit is a clone of the Maple Mini and still needs Spark customizations 2013-10-02 08:24:46 -06:00
Gregory Nutt
6d2eba842c Add candidate net/route.h. Not yet integrated 2013-10-02 06:58:37 -06:00
Gregory Nutt
ca8ec81688 Partial implementation of a simple network routing table. 2013-10-01 18:55:20 -06:00
Gregory Nutt
a737c93ea2 SAMA5 touchscreen and ADC: A little more progress 2013-10-01 11:23:24 -06:00
Gregory Nutt
12c1aef7c2 Fix some funny 'cut' results 2013-09-30 19:28:46 -06:00
Gregory Nutt
3ea00af9aa net/net_sendfile: High performance sendfile is now functional. From Max Holtzberg 2013-09-30 14:37:04 -06:00
Gregory Nutt
50123bd30f Add freedom-kl25z/minnsh configuration: This is an experiment to see just how small we and get an NSH configuration. From Alan Carvalho de Assis. 2013-09-30 09:20:11 -06:00
Gregory Nutt
744f3776b7 SAMA5: Framework for an touchscreen driver (incomplete) 2013-09-30 09:04:21 -06:00
Gregory Nutt
ecd7502c34 SAMA5 ADC: Framework for an ADC driver (incomplete) 2013-09-30 07:22:34 -06:00
Gregory Nutt
0e02d2b7b4 SAMA5 ADC: Beginning ADC register definition file 2013-09-29 18:34:09 -06:00
Gregory Nutt
c038f4efe0 Dependency generation fix for directories that keep object files in a sub-directory 2013-09-29 11:46:10 -06:00
Gregory Nutt
41f0c86cad Optimized sendfile() from Max Holtzberg 2013-09-28 14:47:49 -06:00
Gregory Nutt
f3a7625fca ENCX24J600: Use separate pools for RX and TX descriptors. From Max Holtzberg 2013-09-28 09:09:00 -06:00
Gregory Nutt
7b9b7cbdec configs/compal_e88 converted to use the kconfig-frontends tools 2013-09-27 16:12:44 -06:00
Gregory Nutt
d6503f4dd2 Add support for the Motorola C139 phone 2013-09-27 15:11:31 -06:00
Gregory Nutt
e1f9d22482 OS startup logic should not call group_setupidelfiles() if there is no file system support configured 2013-09-27 13:11:34 -06:00
Gregory Nutt
95bfcafb47 ENCX24J600: Remove poll for new TX data from TX done interrupt handling 2013-09-27 08:34:11 -06:00
Gregory Nutt
cdb56b81b8 Networking: Fix backward conditional in test to see if address is in ARP table. From Max Holtzberg 2013-09-27 08:27:35 -06:00
Gregory Nutt
95d462cb02 Networking: If sending out of the subnet, device lookup by IP will fail. Fall back to ETH0 for now. From Max Holtzberg 2013-09-27 08:21:33 -06:00
Gregory Nutt
e4af9572d0 Beginng of support for GMII/RGMII PHYs 2013-09-26 15:55:21 -06:00
Gregory Nutt
d417ff6460 SAMA5 GMAC: Initial driver check-in is just the EMAC driver forced to compile with the GMAC register definitions 2013-09-26 10:35:52 -06:00
Gregory Nutt
b3ecd158ac Mov apps/examples/composite to apps/system/composite; convert configs/stm3210e-eval/composite to use kconfig-frontend tools -- untested 2013-09-25 18:50:14 -06:00
Gregory Nutt
fa027d30e0 Move apps/examples/cdcacm to apps/system/cdcacm 2013-09-25 17:23:03 -06:00
Gregory Nutt
0b450bc202 Move apps/examples/usbmsc to apps/system/usbmsc 2013-09-25 16:54:39 -06:00
Gregory Nutt
bbccd73dd0 SAMA5 EMAC: Need to pace RX and TX because and RX can result in a TX; Process TX interrupt events before TX interrupt events for the same reason 2013-09-25 14:22:35 -06:00
Gregory Nutt
22fe508443 Move CONFIG_NET_DUMPPACKET from LPC17 and STM32 to commong network drivers. Automatically enabled CONFIG_NETDEVICES when any Ethernet driver is enabled 2013-09-25 11:50:05 -06:00
Gregory Nutt
7affa54e7e Standardize stack checking interface 2013-09-24 11:45:13 -06:00
Gregory Nutt
368867f06e ENCx24J600 UDP backlog support from Maz Holtzberg 2013-09-24 09:03:16 -06:00
Gregory Nutt
c68c0cb268 SAMA5 HSMCI: Disable TX DMA. it is not reliable 2013-09-23 13:54:32 -06:00
Gregory Nutt
8f57ee9e07 ZKIT-ARM-1769: LED1 is now user controllable. From Rashid Fatah 2013-09-23 07:47:56 -06:00
Gregory Nutt
f22e60c392 Use a valid interval for the interrupt endpoint in the CDC/ACM driver 2013-09-22 11:35:44 -06:00
Gregory Nutt
3ceac07042 SAMA5 OHCI: Back out a change, the real root cause was a bug in the cache logic so the hack is no longer necessary 2013-09-22 07:53:51 -06:00
Gregory Nutt
9cb23c5ccb ARMv7-A: Fix some error in alignment to cache line boundaries in the cache operations 2013-09-21 15:47:00 -06:00
Gregory Nutt
34804c8ee7 SAMA5 OHCI: Fix some problems with D-Cache coherency and physical addressing related to interrupt endpoints 2013-09-20 15:22:09 -06:00
Gregory Nutt
ad1d9d2a44 Several usability improvements the SAMA5D3x-EK configurations 2013-09-20 12:37:36 -06:00
Gregory Nutt
5d0131fc73 Names of some USB device definitions changed to avoid collisions 2013-09-20 10:00:30 -06:00
Gregory Nutt
dbf07d6d01 SAMA5 OHCI: When UPLL drives OHCI the logically correct divider of 10 does not work; But a divider of 5 does. Why? 2013-09-19 16:10:46 -06:00
Gregory Nutt
ac3dfce614 Fix inconsistency in USB host tracing definitions 2013-09-19 08:46:33 -06:00
Gregory Nutt
0c62e5797e SAMA5: Add support for the FPU OS test 2013-09-18 10:35:03 -06:00
Gregory Nutt
8f88387712 LPC17xx SPI: Remove an unused static prototype that caused a compile time warning 2013-09-17 17:14:08 -06:00
Gregory Nutt
226839692d SAMA5 EMAC: Resolve issues with DUAL PHY support needed for both EMAC and GMAC peripherals. EMAC driver is now code complete and builds without complaint 2013-09-17 10:55:13 -06:00
Gregory Nutt
af61f846f9 Freescale Kinetis KL25Z PIT and TPM module register definitions 2013-09-15 17:00:50 -06:00
Gregory Nutt
ed7c7a25e7 SAMA5 Ethernet: Add support for PHY interrupts 2013-09-15 12:24:42 -06:00
Gregory Nutt
5450d6405d Prep for release 6.30 2013-09-14 10:40:18 -06:00
Gregory Nutt
14b3417a85 SAMA5 EMAC: Create a empty, skeleton file that will eventually become the SAMA5 EMAC driver 2013-09-13 15:04:46 -06:00
Gregory Nutt
50f482f902 STM32: Support for the LeafLabs Maple and Maple Mini boards. From Librae 2013-09-13 12:45:33 -06:00
Gregory Nutt
b5bdde09cc STM32 Kconfig: Fix STM32 UART7/8 kconfig names and UART DMA. Provided by Lorenz Meier 2013-09-13 11:45:32 -06:00
Gregory Nutt
a28c697cfb ROMFS: Fix for file names longer than 15 characters. Provided by Lorenz Meier 2013-09-13 11:29:58 -06:00
Gregory Nutt
03413cb676 CDC/ACM: Backward condtional compilation fixed. Provided by Lorenz Meier 2013-09-13 11:27:03 -06:00
Gregory Nutt
b5254cc5af Make filter register accessible for CAN1 and CAN2. Provided by Lorenz Meier 2013-09-13 11:20:10 -06:00
Gregory Nutt
f2f40f35bd SAMA5: Beginning of EMAC and GMAC register definition header files 2013-09-12 15:45:12 -06:00
Gregory Nutt
0330eea54d SAMA5 TWI: Cleanup compilation errors that occur when I2C debug is enabled 2013-09-12 09:46:20 -06:00
Gregory Nutt
b3018d8bf0 Add support for the AT 24C512 EEPROM 2013-09-12 09:44:38 -06:00
Gregory Nutt
382a066eae SAMA5: Framework for a TWI driver (incomplete) 2013-09-11 12:28:52 -06:00
Gregory Nutt
e49069b92b SAMA5: TWI register definition file 2013-09-11 10:23:46 -06:00
Gregory Nutt
349677aaf9 Fix a reference counting error in the USB host mass storage class 2013-09-10 11:38:40 -06:00
Gregory Nutt
a992004b0e USB MSC host class driver: Don't bother retrying to initialize the FLASH if the interface is returning fatal transfer errors 2013-09-09 10:00:16 -06:00
Gregory Nutt
9a9de5de81 Fix warnings in USB MSC when compiled for a high speed device; also fix USB MSC default VID/PID configuration 2013-09-07 10:12:02 -06:00
Gregory Nutt
0585cd5692 Extend USB trace logic. When we are configured to decode and stringify trace data, de-stringification support is not included for class driver trace output 2013-09-06 17:24:02 -06:00
Gregory Nutt
b95886626e Back-port some bugfixes from the ENCX24J600 to the ENC28J60 driver (unverified). From Max Holtzberg 2013-09-06 13:17:12 -06:00
Gregory Nutt
8912bcb1ea SAMA5D3x-EK: Add support for USB MSC device on AT25 serial flash 2013-09-06 13:07:29 -06:00
Gregory Nutt
d361bce93a Networking: Important bug fix. The backlog buffer pointer was not being incrmented so that only the first backlog buffer was getting added to the freelist. From Max Holtzberg 2013-09-06 11:43:59 -06:00
Gregory Nutt
e30cb1d470 SAMA5D3x-EK: Add a new 'demo' configuration 2013-09-06 11:40:46 -06:00
Gregory Nutt
abc006453f Networking: Fix race condition that can cause missing loss-of-connection events. From Max Holtzberg 2013-09-06 08:25:03 -06:00
Gregory Nutt
fb37248343 CDC/ACM and PL2303 device drivers: Don't use the max packet size assigned to an endpoint in order to determine the request buffer size. The endpoint has not yet been configured that max packet size may be wrong. 2013-09-05 18:00:16 -06:00
Gregory Nutt
a5612af642 Rename examples/usbstorage to examples/usbmsc. From CCTSAO 2013-09-05 08:07:03 -06:00
Gregory Nutt
29d4748b1b Initial cut of a driver for the TI CC3000 network module with support on the Freescale KL25Z board from Alan Carvalho de Assis 2013-09-03 14:59:48 -06:00
Gregory Nutt
393b44f059 STM32 Timer Register Bit Definitions: Some CCER bit settings changed per SourceForge bug #18 submitted by CCCTSAO 2013-09-02 08:01:09 -06:00
Gregory Nutt
5c950889cf SAMA5 UDPHS: Support USPHS clock configuration 2013-09-01 11:29:51 -06:00
Gregory Nutt
ac130dc2f3 CDC/ACM Device: Fixe compilation errors when dual speed support is enabled 2013-09-01 11:27:59 -06:00
Gregory Nutt
147dc5206d Fix typo in Freedom KL25Z function name. From Alan Carvalho de Assis 2013-08-31 13:22:25 -06:00
Gregory Nutt
75c9ba5fbb Remove empty README.txt files 2013-08-31 13:17:04 -06:00
Gregory Nutt
3b1323a74b SAMA5: Initial framework for a UDPHS USB device side driver 2013-08-29 16:29:27 -06:00
Gregory Nutt
be88385911 SAMA5: Add high-speed USB register definition header file 2013-08-28 17:50:05 -06:00
Gregory Nutt
e862d5d197 SAMA5 EHCI: Implemented (but did not test) interrupt endpoint logic 2013-08-28 13:07:35 -06:00
Gregory Nutt
beb58c2520 SAMA5: Fixes a bug in the way that the heap regions were being allocated 2013-08-27 16:43:19 -06:00
Gregory Nutt
bc46b447dc Fix all occurrences of "the the" in documentation and comments 2013-08-27 09:40:19 -06:00
Gregory Nutt
c5802dd5a0 Add hooks to select Cortex-A8 2013-08-27 08:46:37 -06:00
Gregory Nutt
12beaf4b1a Add a new method to the USB host driver interface: getdevinfo. This method will return information about the currently connected device. At present, it only returns the device speed. The speed is needed by the enumeration logic in order to set a credible initial EP0 max packet size 2013-08-26 15:46:16 -06:00
Gregory Nutt
463c40c42e ENCX24J600: Use the ENC's SRAM from multiple TX packets. From Max Holtzberg 2013-08-26 09:11:58 -06:00
Gregory Nutt
03ad60426d #17 Fix if CONFIG_SDIO_BLOCKSETUP defined, OS will crash. From CCTSAO 2013-08-26 08:54:46 -06:00
Gregory Nutt
65c32bea59 Fix an bug where long ROMFS file names are not read correctly. From Mike Smith 2013-08-25 16:58:41 -06:00
Gregory Nutt
70be601ea2 Add ENCX24J600 Ethernet driver and support for the ENCX24J600 with the Olimex STM32 P107 board. From Max Holtberg 2013-08-25 11:21:54 -06:00
Gregory Nutt
f1a20f49ff SAMA5 OHCI: Fix semaphore handling bug. OHCI is now function by itself again after changes to integrate with EHCI 2013-08-25 08:57:35 -06:00
Gregory Nutt
20b1b584e7 Network ARP harvesting: Corect backward condition in netmask task. From Max Holtzberg 2013-08-25 07:33:47 -06:00
Gregory Nutt
cd84d1bec4 SAMA5: EHCI now handles low- and full-speed connections by giving them to OHCI; OHCI now uses the work queue to defer interrupt processing; If both OHCI and EHCI are enabled, EHCI is the master of the UHPHS interrupt 2013-08-24 11:34:24 -06:00
Gregory Nutt
2d5313a931 Fix #endif with missing #if condition. Reported by Andrew Bradford 2013-08-23 16:40:30 -06:00
Gregory Nutt
db1b3c421b SourceForge bug #16 Fix IO pin map. Add CONFIG_SERIAL_TERMIOS support. From CCTSAO 2013-08-23 11:48:53 -06:00
Gregory Nutt
f356586fd3 SAMA5 EHCI: No complete for bulk and control endpoints 2013-08-22 13:36:16 -06:00
Gregory Nutt
320a2e2a0a Beginning of support for SAMA5 EHCI. Not much there yet 2013-08-20 15:46:36 -06:00
Gregory Nutt
19d7c90d4e USB host: Add device address management support in preparation for USB hub support 2013-08-18 14:31:57 -06:00
Gregory Nutt
dc07d65e14 STM32 F1 I2C: Fix a typo that crept in with some recent changes. From Yiran Liao 2013-08-18 07:45:14 -06:00
Gregory Nutt
e2f68ac85f Add EHCI header file (not quite complete) 2013-08-17 14:19:18 -06:00
Gregory Nutt
11086f34d0 SAMA5 OHCI: Driver is now basically functional 2013-08-16 13:13:21 -06:00
Gregory Nutt
10daf06976 STM32 SPI: nbits interface extended to handle LSB- or MSB-first operation. From Teemu Pirinen 2013-08-16 11:35:22 -06:00
Gregory Nutt
79d5239023 SAMA5 OHCI: Use physical address and flush and/or invalidate data caches as necessary 2013-08-14 12:23:06 -06:00
Gregory Nutt
3f4b90cc3b SAMA5: Major restructuring of the the OHCI driver drivers to better handle the multiple root hub ports and concureent transfers on each port. 2013-08-13 16:48:14 -06:00
Gregory Nutt
1700d06d89 Separate wait() and enumerate() methods from struct usbhost_driver_s and move to new interface, struct usbhost_connection_s. This is part of the necessary restructuring of the USB host interface to support multiple root hub ports. 2013-08-13 15:03:46 -06:00
Gregory Nutt
9220a748bd Fix re-entry problem in SAMA5 up_putc 2013-08-13 09:42:40 -06:00
Gregory Nutt
1ec49f08b4 STM32 F3 fixes from John Wharington 2013-08-13 07:48:18 -06:00
Gregory Nutt
120a3604c9 More changes to USB host interface to support multiple downstream ports 2013-08-12 16:29:33 -06:00
Gregory Nutt
a384129490 Convert olimex-stm32-p107/nsh configuration to use kconfig-frontends tool. From Max Holtzberg 2013-08-12 15:00:28 -06:00
Gregory Nutt
e09bd50fdd First of several changes needed to support multiple USB host root hubs 2013-08-12 14:44:06 -06:00
Gregory Nutt
0da218483d SAMA5: Add logic to control VBUS power for OHCI 2013-08-12 11:59:10 -06:00
Gregory Nutt
e2d7ab9487 SAMA5: Add support for initialization of the USB host and mass storage class 2013-08-11 17:52:36 -06:00
Gregory Nutt
ed49812d2c Add untested OHCI driver for the SAMA5; structure naming and header files for USB host initialization prototypes 2013-08-11 17:11:32 -06:00
Gregory Nutt
544185c683 Added option to disable STM32 serial port re-ordering 2013-08-10 19:29:44 -06:00
Gregory Nutt
0f20d4581b Added FIONREAD and FIONWRITE to CDC/ACM driver. From Lorenz Meier 2013-08-10 19:21:39 -06:00
Gregory Nutt
82b528e0c8 Serial FIONREAD, FIONWRITE, and TERMIOS I/O processing from Mike Smith, Andrew Tridgell, and and Lorenz Meier 2013-08-10 19:14:05 -06:00
Gregory Nutt
97e13b33ab MMC/SD SDIO: Correct return values when multiple block transfers are suppressed. From Andrew Tridgell via Lorenz Meier 2013-08-10 18:29:22 -06:00
Gregory Nutt
da4cebf572 SAMA5: Fix HSMCI race condition. Now memory card interface is functional with DMA 2013-08-10 18:01:23 -06:00
Gregory Nutt
efabe4aaff SAMA5: Centralize logic for conversion between physical and virtual addresses 2013-08-09 17:25:53 -06:00
Gregory Nutt
619cd66f33 Fix some cache-related issues with the SAMA5 DMA driver 2013-08-09 15:25:13 -06:00
Gregory Nutt
bfaf64e54e Fix SAM bug: Parmaters reversed in DMA function call 2013-08-06 15:47:09 -06:00
Gregory Nutt
b0e8231fa3 SAM3,4,A5 DMAC driver fixes 2013-08-06 13:27:48 -06:00
Gregory Nutt
6a429e675f SAM3,4,A5: Fix some masked status checks that can generate false error reports 2013-08-06 12:36:56 -06:00
Gregory Nutt
fa011d9aca SAMA5: Add PIO interrupt support. Massive name changes for consistency in PIO vs GPIO naming. SAMA5D3x-EK: Add support for SD card detection PIO interrupts 2013-08-06 10:20:17 -06:00
Gregory Nutt
369bf26b20 SAMA5: Add HSMCI memory card driver support 2013-08-05 16:21:24 -06:00
Gregory Nutt
8c88dcd0c7 SAMA5: SPI Driver + AT25 FLASH work; SAM3/4: Correct an error, SPI will not be correctly configured if CONFIG_SPI_OWNBUS=n 2013-08-05 10:29:43 -06:00
Gregory Nutt
cbe8c5ed56 SAMA5: Add logic to auto-mount a file system on AT25 SPI FLASH for NSH 2013-08-05 08:24:39 -06:00
Gregory Nutt
906506c61c SAMA5D3x-EK: At support for the AT25 serial FLASH 2013-08-04 16:56:41 -06:00
Gregory Nutt
1060b232e9 SAMA5: Add register level debug option for SPI 2013-08-04 14:45:24 -06:00
Gregory Nutt
83af194db1 SAMA5: SPI driver now supports both SPI0 and SPI1 2013-08-04 12:50:20 -06:00
Gregory Nutt
163ec613b1 SAMA5: Add basic SPI suppport (untested) 2013-08-04 11:08:20 -06:00
Gregory Nutt
1ea55fc2a7 SAMA5: Add DMA suppport (untested) 2013-08-04 10:44:18 -06:00
Gregory Nutt
5cdc3db214 SAMA5: Add DMA controller register definitions 2013-08-03 12:13:42 -06:00
Gregory Nutt
6422792f57 Standard configuration variables used to enable interupt controller debug; SAMA5: Correct handling of spurious interrupts 2013-08-03 08:22:37 -06:00
Gregory Nutt
3ee10f0f08 Correct some typos int he MPADDRCS register address definitions 2013-08-02 12:06:11 -06:00
Gregory Nutt
2feb83a2f8 SAMA5: More MMU-related changes to properly initialize SDRAM 2013-08-02 11:11:57 -06:00
Gregory Nutt
2ac9669a87 SAMA5: Add logic to initialize SAMA5D3x-EK on-board SDRAM 2013-08-01 16:58:55 -06:00
Gregory Nutt
8b8fe4d073 SAMA5: Add DDR controller register definitions 2013-08-01 12:27:41 -06:00
Gregory Nutt
b148465beb ARMv7-A: Map all of .text, .bss, .data., stacks before enabling the MMU and caching. This is simpler and avoids fears I have about caching 2013-08-01 10:05:33 -06:00
Gregory Nutt
f2195a16b2 ARMv7-A: Separate CONFIG_PAGING start-up logic into a different startup file. Too much conditional compilation. 2013-08-01 07:41:00 -06:00
Gregory Nutt
8b44b8fce7 Prep for NuttX-6.29 release 2013-07-31 14:25:06 -06:00
Gregory Nutt
ffdd034c35 SAMA5: Add an NSH configuration of the SAMA5D3x-EK board 2013-07-31 10:46:13 -06:00
Gregory Nutt
2c6b370c4a Add ARMv7-A irqdisable() inline function 2013-07-30 11:37:09 -06:00
Gregory Nutt
5a94767c52 STM32 F3 I2C driver from John Wharington 2013-07-30 10:35:17 -06:00
Gregory Nutt
b57f54fbd0 STM32 DAC DMA fixes from John Wharington 2013-07-30 08:54:32 -06:00