Commit Graph

1026 Commits

Author SHA1 Message Date
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
881c12cad8 Fixes a couple of errors in MTD NAND logic 2013-11-27 15:02:21 -06:00
Gregory Nutt
5fb0062d2d SAMA5 NAND: A few bug fixes for integration. Still lots more to do 2013-11-27 11:04:40 -06:00
Gregory Nutt
4483117a60 SAMA5 NAND: Trivial changes 2013-11-25 14:16:04 -06:00
Gregory Nutt
2be17cd41f SAMA5 NAND: Fix a few race conditions 2013-11-25 13:53:58 -06:00
Gregory Nutt
d1b4f1c466 SAMA5 PMECC: More progress, still not complete 2013-11-24 09:37:59 -06:00
Gregory Nutt
448c8572cd Rethinking some NAND interfaces 2013-11-19 08:50:12 -06:00
Gregory Nutt
d8a3f21a47 Finishes up NAND software ECC logic 2013-11-18 11:42:17 -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
d421eb4fd6 Futher NAND development 2013-11-16 13:19:09 -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
f1671bb6a7 Alloc CONFIG_FS_READABLE/WRITABLE to be defined in Kconfig files while preserving backward compatibility with legacy configurations (for the time being) 2013-11-15 09:49:27 -06:00
Gregory Nutt
c33fe29c6b I2S character driver now supports configurable timeouts 2013-11-12 10:18:49 -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
64a7e96f1f I2S simplifed audio buffer queuing 2013-11-10 14:51:33 -06:00
Gregory Nutt
9f10539750 Add apps/examples/i2schar that will eventually use the I2C character drvier to verify I2S 2013-11-10 14:08:45 -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
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
4214dc9ce9 SAMA5 SSC: Add framework (only) for a forthcoming SSC-based I2S driver 2013-11-07 12:26:53 -06:00
Gregory Nutt
b5791ac7a6 SAMA5 PWM: Driver now in build and configuration system 2013-11-06 12:24:51 -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
4dec2e4b27 Fix a badly applied patch (actually, non-applied because --dry-run was set) 2013-11-04 11:36:16 -06:00
Gregory Nutt
a4a18241d5 Updated configuration driver from Ken Pettit 2013-11-04 08:52:16 -06:00
Gregory Nutt
bfdee0f0c7 SST25 driver: Added one more use of sst25_cmd. From David Sidrane 2013-11-03 07:56:29 -06:00
Gregory Nutt
fd7126771f Make default request size in the Kconfig file match default in C code 2013-11-03 07:42:25 -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
4d39db749b Need to lock mutex before signal 2013-11-02 08:10:24 -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
0d0c3e66fb Updates to sparck configuration from David Sidrane 2013-11-01 11:40:19 -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
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
890417a0f4 Missing files from last CC3000 driver update from David Sidrane 2013-10-31 09:00:05 -06:00
Gregory Nutt
85e90b0064 Updated CC3000 driver from David Sidrane 2013-10-30 14:37:13 -06:00
Gregory Nutt
6b8c1cc480 CC3000 driver updates from David Sidrane 2013-10-30 10:50:26 -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
77c0c6c2d6 CC3000 driver updates from David Sidrane 2013-10-27 18:54:10 -06:00
Gregory Nutt
6eba2e7897 drivers/mtd/sst.c: Fixes for 512 byte sector mode. From David Sidrane 2013-10-27 18:53:09 -06:00
Gregory Nutt
5fe465749f Updated VS1053 audio driver from Ken Pettit 2013-10-27 08:00:16 -06:00
Gregory Nutt
70a191159b drivers/wireless/cc3000: CC3000 driver update from David Sidrane 2013-10-26 17:42:08 -06:00
Gregory Nutt
ba6fe788ea SAMA5 serial: Restore logic to minimize TX interrupts. Oddly, seems to improve ADC stability 2013-10-26 16:02:07 -06:00
Gregory Nutt
0ab6d8382f SAMA5 TC: Debug instrumentation 2013-10-26 14:03:30 -06:00
Gregory Nutt
607acec781 CC3000 driver update from David Sidrane 2013-10-25 16:23:53 -06:00
Gregory Nutt
ba5e6669d0 CC3000 driver update from David Sidrane 2013-10-24 08:03:32 -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
4cf9540563 CC3000 driver updates from David Sidrane 2013-10-23 09:07:32 -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
6fda497bc1 Updated Spark/cc3000 files from David Sidrane 2013-10-18 17:14:58 -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
944e0fe81d Changes to stm32_dmacapable interfaces from Mike Smith 2013-10-18 08:06:23 -06:00
Gregory Nutt
8ad32012ab New touchscreen scaling algorithm for the case where measured X values vary with y position (and vice versa) 2013-10-17 12:07:14 -06:00
Gregory Nutt
8cd7eea7ad CC3000 driver changes from David Sidrane 2013-10-16 13:18:53 -06:00
Gregory Nutt
4e44868f12 CC3000 driver changes from David Sidrane 2013-10-16 11:59:26 -06:00
Gregory Nutt
48a8364267 CC3000 driver changes from David Sidrane 2013-10-16 11:59:22 -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
e555cfaa5b Updated CC30000 example from David Sidrane 2013-10-16 07:29:25 -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
63b6d3bde3 Add NSH addroute and delroute commands 2013-10-05 15:42:20 -06:00
Gregory Nutt
417f67c132 Clean up some naming: fd vs. fildes vs. filedes and filep vs filp 2013-09-28 16:50:07 -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
95bfcafb47 ENCX24J600: Remove poll for new TX data from TX done interrupt handling 2013-09-27 08:34:11 -06:00
Gregory Nutt
e4af9572d0 Beginng of support for GMII/RGMII PHYs 2013-09-26 15:55:21 -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
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
788d1623ae Fix badly applied patch to ENCX24J600 2013-09-25 08:26:56 -06:00
Gregory Nutt
9a9fc90794 SAMA5 UDPHS: Dont' reject read request submissions while stalled. That causes an infinite loop. When stalling, cancel all pending write requests, but cancel only a reqd request if it is in progress. It will be immediately requeued 2013-09-24 15:06:17 -06:00
Gregory Nutt
368867f06e ENCx24J600 UDP backlog support from Maz Holtzberg 2013-09-24 09:03:16 -06:00
Gregory Nutt
773a693ee2 Cosmetic changes to comments and coding style fixes 2013-09-22 14:48:22 -06:00
Gregory Nutt
cf5cf0da72 SAMA5D3x-EK AT25 Serial FLASH: Dropping SPI frequency to 10MHz gives more reliable behavior 2013-09-22 12:22:55 -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
5b17e9da79 Cosmetic changes to USB host class driver files 2013-09-21 12:19:12 -06:00
Gregory Nutt
60bd791dec SAMA5 + HID Keyboard. Fixes to initialize the HID keyboard class 2013-09-20 15:23:00 -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
72340b85fe Add support for multiple PHY selections for multiple Ethernet MAC drivers 2013-09-17 10:52:23 -06:00
Gregory Nutt
b3018d8bf0 Add support for the AT 24C512 EEPROM 2013-09-12 09:44:38 -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
89c829d1ae SAMA5 EHCI: Did not work with DEBUG off. Appears to be because of some D-Cache flushing that was performed only with DEBUG ON. Now is unconditional 2013-09-10 10:12:51 -06:00
Gregory Nutt
c6bf25bca0 Extent the the USB host trace logic to include verbose debug output 2013-09-09 17:27:21 -06:00
Gregory Nutt
3ba64b0cfe USB monitor extended so that it can also be used with USB host trace data 2013-09-09 15:02:33 -06:00
Gregory Nutt
fbd5ab0758 Beginning of support for USB host side tracing 2013-09-09 14:01:52 -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
40f84dfa19 Trivial updates assocaited with USB host mass storage and SAMA5 EHCI 2013-09-08 13:42:56 -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
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
ce6368793a Some restructing of the CC3000 build 2013-09-04 16:40:57 -06:00
Gregory Nutt
64f1c78367 CC3000 driver updates from Alan Carvalho de Assis 2013-09-04 09:45:59 -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
c162cca9e8 SAMA5 UDPHS: Some very early debug corrections. Not yet working. 2013-09-02 12:26:15 -06:00
Gregory Nutt
67a126a5dc Misc USB device changes reated to SAMA5, trace support, and USB monitoring 2013-09-01 11:52:21 -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
a3af5b3aaf SAMA5 OHCI+EHCI: Using cp15_clean instead of cp15_coherent; EHCI: Need to set alt pointer in order to handle short transfers. 2013-08-27 13:07:21 -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
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
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
e5208a6e92 ENC28J60 errors reported by Max Holtzberg 2013-08-21 08:10:32 -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
a65ac5bc72 Back out most of the changes of 3b04d08043742b9e65cf38d45988b35bff91daed 2013-08-13 14:12:27 -06:00
Gregory Nutt
b575450a04 Separate SAMA5 OHCI interrupt handling into separate functions 2013-08-13 13:34:35 -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
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
dd3c682443 SAMA5: Some improvements to the HSCMI card removal/insertion logic 2013-08-11 11:13:11 -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
968b2553cd Rearrange configuration settings so that ARCH_HAVE_SDIO is moved to higher, sharable level 2013-08-10 09:06:53 -06:00
Gregory Nutt
628f50ba61 SAM3,4,A5 DMA fixes; SAMA5 SPI driver now supports DMA transfers 2013-08-09 13:12:16 -06:00
Gregory Nutt
ce9eb71495 SAMA5: A few early, easy bug fixes. The rest will all be difficult 2013-08-06 11:29:53 -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
77e1c27005 Update SAMA5D3x-EK board configuration to support on-board UART connections, LEDs, and push buttons 2013-07-24 12:27:12 -06:00
Gregory Nutt
c6b141d190 Fix typoes in drivers/rwbuffer.c from Chia Cheng Tsao 2013-07-09 07:59:28 -06:00
Gregory Nutt
37ed44a1ee Fix type in the USB composite device driver 2013-07-04 07:47:32 -06:00
Gregory Nutt
0ff5a0c791 Correct port direction for Arduino MISO signal 2013-07-02 12:37:20 -06:00
Gregory Nutt
cfb156f286 Add support for touchscreen on ITEAD Arduino shield. Untested 2013-07-02 08:25:53 -06:00
Gregory Nutt
bdf96a93db Revise how delays are calculated in SPI bit bang driver so that we may get a little better frequency resolution 2013-07-01 20:55:36 -06:00
Gregory Nutt
652c33a53a clean up of SPI bit bang logic 2013-07-01 17:49:43 -06:00
Gregory Nutt
e1dab23711 Add a general bit-bang SPI lower-half driver and implement the bit-bang driver for the Arduino ITEAD TFT shield 2013-07-01 16:50:16 -06:00
Gregory Nutt
8b68ea2f94 Add a general bit-bang SPI upper-half driver 2013-07-01 12:23:26 -06:00
Gregory Nutt
09faaccc02 Created new directories to hold SPI-related files 2013-07-01 08:11:54 -06:00
Gregory Nutt
3d975e0a08 Fix UG-2832HSWEG04 landscape. Add reverse landscape support to UG_2864AMBAG01 and UG-9964HSWAG01. Fixe NXHELLO default colors for 1-bit mono modes 2013-06-24 12:37:02 -06:00
Gregory Nutt
d971650440 Fix UG-2832HSWEG04 configuration values 2013-06-23 15:17:22 -06:00
Gregory Nutt
d11050e978 Add support for the UG-2843HHSWEG04 OLED and for the SAM4L Xplained Pro OLED module that uses that OLED. 2013-06-23 14:39:56 -06:00
Gregory Nutt
a60e38e13a Fix error in MMC/SD SPI driver introduced with some recent changes; Update TODO list 2013-06-23 10:45:37 -06:00
Gregory Nutt
b41c96e1f8 Beginning debug of SAM4L Xplained SLCD 2013-06-22 17:01:44 -06:00
Gregory Nutt
d7ec0089a7 Fix for ENC28J60 from Dave 2013-06-22 08:55:16 -06:00
Gregory Nutt
161af4bf33 MMC/SD SPI speed field is only used if CONFIG_SPI_OWNBUS is not defined 2013-06-17 18:27:25 -06:00
Gregory Nutt
b9ad057972 MMC/SD driver needs to manage SPI mode and data width as well 2013-06-17 12:31:24 -06:00
Gregory Nutt
c9f1d1857c SAM3U-EK: Correct polarity of the PENIRQ signal 2013-06-16 14:31:18 -06:00
Gregory Nutt
c7fd7a4e27 Re-architected SAM3/4 SPI interface; Change BUSY bit handling in the ADS7843E driver 2013-06-16 10:09:21 -06:00
Gregory Nutt
dd2983e26a SAM MMCSD/SPI related changes 2013-06-15 17:00:52 -06:00
Gregory Nutt
9cf942bcb2 SAM3/4: Loop counter for PLL delay must be volatile or it may get optimized away 2013-06-13 16:18:25 -06:00
Gregory Nutt
83ecc03d17 Remove CONFIG_XYZ_BUILTIN configurations, replace with the single CONFIG_NSH_BUILTIN_APPS. Add SAM3/4 sam_periphclks.h which is just a header file that includes the right header file. Misc SAM3U-EK cleanup 2013-06-12 17:32:00 -06:00
Gregory Nutt
3edec35c51 Add flow control support to the STM32 serial driver; Fix some issues with UART2 and 5. From Lorenz Meier and Mike Smith 2013-06-06 14:49:14 -06:00
Gregory Nutt
0e37ec1bfc Add NSRF42L01 driver. From Laurent Latil 2013-06-01 08:03:55 -06:00
Gregory Nutt
4748599a43 .dSYM only needs to be in the same .gitignore files as .exe 2013-05-30 15:02:04 -06:00