Commit Graph

1940 Commits

Author SHA1 Message Date
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