Commit Graph

1229 Commits

Author SHA1 Message Date
Gregory Nutt
004788d7c0 Change the way PHY interrupts work: disable automatically. Then we have to re-subscribe each time after the interrupt fires 2014-08-17 16:51:56 -06:00
Gregory Nutt
7cc93b708a SAMA5 PHY: Add more debug instrumentation; Fix logic that would be used to disable PHY interrupts 2014-08-17 14:07:53 -06:00
Gregory Nutt
e04ab2bcfc In order to get PHY interrupts, they must be enabled at the PHY (still don't get PHY interrupts) 2014-08-17 13:03:18 -06:00
Gregory Nutt
eb5e2e4b20 Finishes the ioctl definition to subscribe to PHY events. Revamp network ioctl signature to support arguments other than struct mii_ioctl_data. 2014-08-16 14:08:04 -06:00
Gregory Nutt
8428a58bdc Add support for an ioctl that can be used to notify an application when there is a change in the network status signalled by a PHY interrupt 2014-08-16 12:56:02 -06:00
Gregory Nutt
4beb3c0ad7 Move SLIP prototypes from net.h to new slip.h 2014-08-16 10:23:17 -06:00
Gregory Nutt
c52f634b79 Standardize a PHY interrupt attachment interface 2014-08-16 08:34:36 -06:00
Gregory Nutt
320707fdfa SAMA5: Fix bugs in timer/counter interrupts and one-shot timer 2014-08-10 10:47:38 -06:00
Gregory Nutt
a3e28c2c16 audio NULL driver: Fix an error in a variable name 2014-08-09 10:33:31 -06:00
Gregory Nutt
6e0acd7cd4 WM8904: Don't use MSEC2TICK in timeout calculation 2014-08-08 11:02:45 -06:00
Gregory Nutt
c9661ad5a7 Change all time conversions. Yech. New timer units in microseconds breaks all existing logic that used milliseconds in the conversions. Something likely got broken doing this, probably because I confused a MSEC2TICK conversion with a TICK2MSEC conversion. Also, the tickless OS no appears fully functional and passes the OS test on the simulator with no errors 2014-08-07 18:00:38 -06:00
Gregory Nutt
bb29ba0a00 Costmetic changes 2014-08-05 10:03:29 -06:00
Gregory Nutt
8065ab73a4 WM8904: Add reset logic to put the part back in its initial state after playing each WAV file. Base samles per second on frame length, not bits-per-sample. Use a different frame length for 8-bit and 16-bit data 2014-08-04 19:26:43 -06:00
Gregory Nutt
dc8b040573 WM8904: Correct calculation of bitrate (I am not sure why this is correct). LR clock divisor is now a constant 32-bits per frame. Conditioned out interrupt logic; it is not being used. Also added some FLL lock interrupt/poll logic (which was subsequently disabled). 2014-08-04 15:08:20 -06:00
Gregory Nutt
c68e42c437 WM8904: Restore mystery bit in setup that was accidentally tossed before 2014-08-03 19:29:02 -06:00
Gregory Nutt
678c0aac8d WM8904: Tried disabling the SYSCLK while updating the FLL. Didn't help but is still probably a correct change 2014-08-03 18:44:51 -06:00
Gregory Nutt
72b739fbcb WM8904: Add logic to analyze BCLK setup 2014-08-03 17:11:38 -06:00
Gregory Nutt
b9384ced60 WM8904: Various updates to get BCLK/LRCLK correct. Acutally worse the parent, but I think is on the right track 2014-08-03 13:28:20 -06:00
Gregory Nutt
b0d0ac72a7 WM8904 driver: Disable the FFL at the end of playing. 2014-08-02 14:28:10 -06:00
Gregory Nutt
a2d6c0c2b4 WM8904: Add logic to program the FLL to achieve the bitrate 2014-08-02 12:40:57 -06:00
Gregory Nutt
f4bc0ad99a WM8904: Add an option to control WM8904 register dumping 2014-08-02 06:52:42 -06:00
Gregory Nutt
7e576e308a WM8904 I2C: Fix an error in writing. I am not sure why this fixes the problem 2014-08-01 18:22:33 -06:00
Gregory Nutt
e59bb45b33 Add debug logic to dump WM8904 registers 2014-08-01 18:07:20 -06:00
Gregory Nutt
3e1e15b04a WM8904: Can't reset the WM8904 unless we also reinitiailize all registers. Try to get a saner timeout based on sample rate, bits-per-sample, and buffer size. 2014-07-31 19:14:41 -06:00
Gregory Nutt
e214382264 Audio: Change how the end of the audio stream is detected by the leaf audio component. This used by be done by looking for the first partial buffer. That does not work with the in-place sub-sampling performed by the PCM decoder: That always reduces the size of the buffer so that all buffers only partially filled by the time they get to the leaf. Now, a flag is set in the audio buffer flags set to indicate the final buffer in the stream. 2014-07-31 16:36:09 -06:00
Gregory Nutt
487a672d76 WM8904: Was not saving i2s interface instance 2014-07-31 15:00:45 -06:00
Gregory Nutt
9c80dfb31c Updated README file, cosmetic changes to comments and debug output 2014-07-30 10:19:09 -06:00
Gregory Nutt
be8fe9a311 Costmetic update to comments 2014-07-29 20:03:52 -06:00
Gregory Nutt
75daeb75a3 Fix some compile problems with the WM8904 driver due to recent audio subsystem changes 2014-07-28 16:33:25 -06:00
Gregory Nutt
c9f15ffd3d PCM: First cut at fast forward by subsampling 2014-07-27 18:33:17 -06:00
Gregory Nutt
0cc9b06eca Add definitions to support fast forward and rewind configuration 2014-07-27 12:25:40 -06:00
Gregory Nutt
014dd77237 Audio: Fix some compilation issues introduced with some of the recent changes 2014-07-25 11:27:29 -06:00
Gregory Nutt
08fa9a9d54 Costmetic change 2014-07-25 10:04:20 -06:00
Gregory Nutt
0399be55d3 Fix some compile errors when audio DEBUG is enabled 2014-07-24 15:05:13 -06:00
Gregory Nutt
22f8503d0a Convert ac_format and ac_controls to unions to make access a little cleaner 2014-07-24 10:21:04 -06:00
Gregory Nutt
dba43a9c75 Audio: Get rid of the decoder->driver IOCTLs that I added a couple of commits back; Use existing configure method 2014-07-24 09:56:39 -06:00
Gregory Nutt
e100726a41 Fix a type in the audio Kconfig file, UDIO->AUDIO 2014-07-23 14:48:21 -06:00
Gregory Nutt
72133f5d95 Add ioctls so that PCM decoder can configure the driver bitrate, num channels, and sample width 2014-07-23 12:21:04 -06:00
Gregory Nutt
516b343666 Flesh out missing PCM decoder methods 2014-07-23 11:58:43 -06:00
Gregory Nutt
ca7d7c34ce Audio: Add a NULL audio device that can be used to simply unit-level testing of audio decoders 2014-07-23 10:12:32 -06:00
Gregory Nutt
cfa76b5278 Flesh out a few more PCM methods, still incomplete. Re-vision PCM structure definition 2014-07-22 19:23:05 -06:00
Gregory Nutt
d7a9633dcd Rename pcm_decode.h to pcm.h since it will hold more than just decoding definitions. Fix some porting errors like idbg should auddbg, etc. Add wav file header and a few low-level wav utilities. 2014-07-22 15:54:56 -06:00
Gregory Nutt
8548c64915 Remove WM8904 driver unused paramters, clean-up comments, remove some kruft in capability reporting 2014-07-22 11:47:27 -06:00
Gregory Nutt
05e82d4f01 Add missing configuration option to select the MAX11802 touchscreen controller 2014-07-22 07:09:48 -06:00
Gregory Nutt
0b3ff976ff Fix an error in SLIP escaping 2014-07-22 06:55:42 -06:00
Gregory Nutt
78d7925ce0 Kconfig: MW8904 driver no longer depends on EXPERIMENTAL (it probably still should) 2014-07-20 10:27:25 -06:00
Gregory Nutt
f4bcb730d2 WM8904 w/NxPlayer: Fix some compile errors and warnings with debug enabled 2014-07-20 09:17:36 -06:00
Gregory Nutt
4f6625380b The WM8904 audio driver is mostly code complete and ready to begin initial testing 2014-07-19 18:52:58 -06:00
Gregory Nutt
6d9f9e37bf SAMA5D4-EK: Add WM8904 initialization logic 2014-07-19 11:58:53 -06:00
Gregory Nutt
89ed7ab558 WM8904: Add initialization logic 2014-07-19 10:20:19 -06:00
Gregory Nutt
3b8c4a399d Framework for a WM8904 audio driver. The initial driver check-in is simply Ken Pettit's VS1053 driver forced to compile with only WM8904 definitions 2014-07-18 15:35:12 -06:00
Gregory Nutt
1ff0536c7f WM8904: Add header file support for this forcoming driver 2014-07-18 13:28:51 -06:00
Gregory Nutt
cc09d75180 MXT driver: Fix error in thread test... backward logic 2014-07-16 22:13:41 -06:00
Gregory Nutt
44e6516213 maXTouch: Add thresholding so that MOVE reports are not generated unless there is a significant change in the reported position 2014-07-12 14:00:33 -06:00
Gregory Nutt
4548ea731e maXTouch: Fix error in state machine 2014-07-12 11:23:07 -06:00
Gregory Nutt
58ab6ec03f NX graphics library: Macroize some color operators that become trivial when there is only one color plane 2014-07-12 07:44:56 -06:00
Gregory Nutt
3042fc5bc0 Missing closing quote in Kconfig file 2014-07-11 16:51:50 -06:00
Gregory Nutt
e91704c432 Minor Kconfig improvements 2014-07-11 16:25:35 -06:00
Gregory Nutt
ab1ab379dd Addition rwbuffer interfaces should not be enabled unless they are needed; if rwbuffer support is enabled, it should not be unconditionally enabled in SMART and FTL 2014-07-11 16:19:17 -06:00
Gregory Nutt
8516551e54 Add an MTD layer that will add read-ahead or write buffering to any MTD driver (incomplete) 2014-07-11 11:20:11 -06:00
Gregory Nutt
f97113c5ef SAMA5D4-EK: The maXTouch controller and test is now enabled by default in the NSH configuration 2014-07-10 08:42:25 -06:00
Gregory Nutt
3b0a797216 MXT driver works 2014-07-10 07:16:38 -06:00
Gregory Nutt
22fbcbb852 MXT driver is now at least partially functional 2014-07-09 18:56:53 -06:00
Gregory Nutt
e9362128bd SAMA5 TWI: Add support for up_i2creset 2014-07-09 09:51:28 -06:00
Gregory Nutt
0da9aaeb09 Fix some recurring typos: postion->position, *atino->*ation 2014-07-08 13:12:36 -06:00
Gregory Nutt
25f419d487 MXT Driver: Make sure that all return values are checked: Fix worker thread -- it must hold the MXT device semaphore to access I2C 2014-07-08 08:55:43 -06:00
Gregory Nutt
ab8506163a maXTouch: Fix some issues with interrupt handling 2014-07-07 13:25:20 -06:00
Gregory Nutt
5bbc0a0dd9 maXTouch: Check for successful memory allocation was backward 2014-07-07 09:55:39 -06:00
Gregory Nutt
0d14befb88 SAM3/4: Fix compile of sam_aes.c if CONFIG_CRYPTO_AES is defined. rom Max Nekludov 2014-07-07 08:03:18 -06:00
Gregory Nutt
dc7bcb0c1d BCH: Add configurable AES encryption support to block-to-character (BCH) driver. This allows any block device to be accessed as an encrypted character device. From Max Nekludov 2014-07-07 08:00:00 -06:00
Gregory Nutt
09d0e2bdd2 maXTouch: Be consistent. Failure return values are not just non-zero, but negative 2014-07-06 09:08:38 -06:00
Gregory Nutt
4afc23d16d maXTouch: Fix test of I2C_TRANSFER return value 2014-07-06 08:51:38 -06:00
Gregory Nutt
b4d3cebc2f maXTouch: Fix I2C address, errors when debug enable, reorganize some data 2014-07-06 08:03:34 -06:00
Gregory Nutt
c5fc24e110 NET: Standardize naming of all protocal header lengths 2014-07-05 13:04:48 -06:00
Gregory Nutt
c2fc299332 Forgot to add a file in the last commit 2014-07-05 11:57:03 -06:00
Gregory Nutt
3e9f29ba07 Add very basic support for the Atmel maXTouch touchscreen controller 2014-07-05 11:47:54 -06:00
Gregory Nutt
60246e613b NET: emoved all includes of uip.h; added includes of ip.h wherever needed. Tried to fix problems of the now missing sneak inclusions because uip.h was removed. There are probably a few of these that were missed. 2014-07-04 19:13:08 -06:00
Gregory Nutt
0bb153b8cb Remove all inclusion of uip.h 2014-07-04 16:58:22 -06:00
Gregory Nutt
a6b39d1879 NET: in-progress change... don't use 2014-07-04 16:38:51 -06:00
Gregory Nutt
cce35ce975 NET: More renaming 2014-07-04 15:40:49 -06:00
Gregory Nutt
b732388fcb TSC2007: Cosmetic updates 2014-07-04 15:03:41 -06:00
Gregory Nutt
b36b29b4c3 SMARTFS: Increase some variables from uint16_t to uint32_t to handle larger device sizes. From Ken Pettit 2014-07-04 07:28:12 -06:00
Gregory Nutt
f881abe2da Fix for a bug that would show up if CONFIG_MTD_BYTE_WRITE was not selected and the SMART sector size was larger than the mtd device's block size (like it would be if using SMARTFS on larger flash devices). From Ken Pettit 2014-07-03 18:14:51 -06:00
Gregory Nutt
8e9df8ade0 NET: Misc naming clean-up 2014-07-02 17:23:25 -06:00
Gregory Nutt
400edda109 NET: Rename XYZ_uiptxpoll to just XYZ_txpoll 2014-07-01 18:41:08 -06:00
Gregory Nutt
3b31e1ac80 SAMA5D4-EK: NSH configuration now has the RAMLOG enabled by default 2014-07-01 15:09:47 -06:00
Gregory Nutt
2630411332 RAMLOG: syslog_putc must set errno and return EOF on a failure 2014-07-01 15:09:07 -06:00
Gregory Nutt
3ee5b9209b Rename CONFIG_RAMLOG_CONSOLE_BUFSIZE to just CONFIG_RAMLOG_BUFSIZE 2014-07-01 12:00:40 -06:00
Gregory Nutt
77330679d4 NET: Rename uip_mss to tcp_mss 2014-06-30 19:09:23 -06:00
Gregory Nutt
b0c1b7ef47 Rename uip_poll->devif_poll and uip_timer->devif_timer 2014-06-30 18:40:41 -06:00
Gregory Nutt
da7379ed18 Rename uip_input to devif_input 2014-06-30 18:11:17 -06:00
Gregory Nutt
dd8bb71cbc Remove empty ADC write method. From Kosma Moczek 2014-06-30 07:55:28 -06:00
Gregory Nutt
f1dcb6674a Extend erase block size to 18-bits in order (decrease block size to 14-bits) to handle parts with large erase blocks. From Kosma Moczek 2014-06-30 07:52:57 -06:00
Gregory Nutt
ed1aa8c594 E1000: Rename uip_dev to netdev 2014-06-29 13:03:19 -06:00
Gregory Nutt
fce2a79abd Rename uip_driver_s net_driver_s 2014-06-27 16:48:12 -06:00
Gregory Nutt
64ba574ecc Move files to net/utils; make appropriate name changes, most for uip_lock to net_lock 2014-06-26 14:23:21 -06:00
Gregory Nutt
621097b6c8 Rename ip_eth_hdr to eth_hdr_s 2014-06-25 09:57:52 -06:00
Gregory Nutt
5d1f8180d4 Move the remaining files from include/nuttx/net/uip to include/nuttx/net; Rename *_internal.h header files in net/ to just *.h 2014-06-24 10:14:15 -06:00
Gregory Nutt
37646044ac Move include/nuttx/net/uip/uip-arch.h to include/nuttx/net/netdev.h 2014-06-24 09:28:44 -06:00
Gregory Nutt
8b450d6d1b SAMA5D4: Add EMAC driver 2014-06-11 12:23:31 -06:00
Gregory Nutt
6f9bcd321c Config/build changes to better support the RTL8187 2014-06-09 09:11:04 -06:00
Gregory Nutt
2e08560fa0 Clear rxhead on disconnect to prevent data from being resent on re-connect 2014-06-06 10:34:58 -06:00
Gregory Nutt
90e4b55e0c Move include/nuttx/net/uip/uip-arch.h to include/nuttx/net/arp.h; rename all uip_arp_ functions to arp_ 2014-05-30 12:13:06 -06:00
Gregory Nutt
6f3cb90c05 Cosmetic changes 2014-05-28 14:09:58 -06:00
Gregory Nutt
2abe0dd6dd Change all variadic macros to C99 style 2014-05-22 09:01:51 -06:00
Gregory Nutt
2a509d560f CC3000: Fix build when POLL is enabled. From Jussi Kivilinna. 2014-05-21 07:37:46 -06:00
Gregory Nutt
b584ecb967 CC3000: Fix a race condition in start-up of unsoliced_thread. From Jussi Kivilinna 2014-05-21 07:32:32 -06:00
Gregory Nutt
b2d26436de Configuration has CC3000_SPI_MODE settings but source uses CONFIG_CC3000_SPIMODE. From Jussi Kivilinna 2014-05-21 07:20:09 -06:00
Gregory Nutt
a9d89b5442 Correct SPI mode for CC3000 is CPOL=0 CHPA=1. From Jussi Kivilinna 2014-05-21 07:17:46 -06:00
Gregory Nutt
c48bd737d0 SAM4E-EK: Add a driver for the on-board LCD (not tested on initial check-ing) 2014-05-13 10:38:46 -06:00
Gregory Nutt
ddf151c226 A fix to the last MB85RS1MT patch 2014-05-12 21:42:06 -06:00
Gregory Nutt
e3373aaf39 Add support for Fujitsu MB85RS1MT part. From Charles Ash 2014-05-12 18:43:06 -06:00
Gregory Nutt
b5efb9dd77 Add serial method so that lower half driver can provide RX flow control information. From Jussi Kivilinna 2014-05-08 09:01:14 -06:00
Gregory Nutt
7594d8b8cf Add serial method so that lower half driver can provide RX flow control information. From Jussi Kivilinna 2014-05-08 09:00:33 -06:00
Gregory Nutt
35e94a5be4 LIS331DL driver: Correct build dependency. Sourceforge ticket #41 from Kosma Moczek 2014-05-08 07:39:10 -06:00
Gregory Nutt
f06e9dbcaa Timer driver updates from Bob Doiron 2014-05-05 14:40:19 -06:00
Gregory Nutt
d897b4de76 Enhanced timer interface from Bob Doiron 2014-04-30 14:08:34 -06:00
Gregory Nutt
020583efa2 drivers/mtd/w25.c: Add support for the 8Mbit W25Q80BV part. From Mark Whitehorn. 2014-04-30 13:31:42 -06:00
Gregory Nutt
d119e4c977 Update TODO list and comments 2014-04-23 13:02:00 -06:00
Gregory Nutt
465bfcb4cf Fix Bob's name in as many places as possible; Make sure that Bob is an author in as many files as I can think of (might be missing a few) 2014-04-22 13:42:38 -06:00
Gregory Nutt
972c4cbab5 Nucleo F401RE: Remove PX4 cruft that can in with the port 2014-04-22 12:18:08 -06:00
Gregory Nutt
5df14c7d40 Misc changes to get a clean compilation after incorporating all of Bob Doison's changes 2014-04-22 10:38:08 -06:00
Gregory Nutt
61555fe5e1 Various SAM4S related fixes, mostely related to the timer driver driver and the SAM4S timer/counter. All from Bob Doisin 2014-04-22 09:01:20 -06:00
Gregory Nutt
df33d9bcc8 examples/serialrx added by Bob Doison 2014-04-22 08:40:48 -06:00
Gregory Nutt
3884117ae9 Missing watchdog timer configuration setting 2014-04-21 19:13:21 -06:00
Gregory Nutt
5d7da97a35 SDIO-based MMC/SD improvements from Bob Doiron 2014-04-21 17:15:42 -06:00
Gregory Nutt
9485fbf66e SAM3/4 Interrupt initialization. Default interrupt priority not being set correctly 2014-04-17 14:02:22 -06:00
Gregory Nutt
b83702dd8a HID mouse: Don't include NAKs in error count. From Leo 2014-04-17 11:47:00 -06:00
Gregory Nutt
f58767ce79 MIO183QT-9A LCD driver updated to support reading from the LCD. From Toby Duckwork 2014-04-16 12:17:35 -06:00
Gregory Nutt
7ad2ace833 Costmetic changes to some comments 2014-04-14 16:36:07 -06:00
Gregory Nutt
48cdbfe5ba examples/touchscreen: Add a configuration option to indicate that there is or is not an architecture-specific initialization function 2014-04-14 12:26:49 -06:00
Gregory Nutt
3a1324741a More trailing whilespace removal 2014-04-13 14:32:20 -06:00
Gregory Nutt
f7e5953804 Cosmetic changes for coding style; removal of dangling spaces at the end of lines 2014-04-13 13:18:06 -06:00
Gregory Nutt
494387b33b Make sure that there is one space after for 2014-04-12 13:28:22 -06:00
Gregory Nutt
056aed1274 Make sure that there is one space between while and condition 2014-04-12 13:09:48 -06:00
Gregory Nutt
303cc1902b Make sure that there is one space between if and condition 2014-04-12 12:53:19 -06:00
Gregory Nutt
3ae029fbe7 STM32 OTGFS Host: Fix a logic error introduced in the last check-in 2014-04-12 09:33:52 -06:00
Gregory Nutt
2fcc57edb0 mv ramlog.h and syslog.h to new include/nuttx/syslog 2014-04-10 09:29:30 -06:00
Gregory Nutt
6578d646da Back out part of 610e2aa0c224e2936fe8009ef4a2351ce607067a: Need to be able to select USB console devices when there is no /dev/console enabled. Noted by Librae 2014-04-08 11:04:25 -06:00
Gregory Nutt
27811d28f9 Cosmetic changes to comments and README 2014-04-07 15:28:04 -06:00
Gregory Nutt
4d25119e62 Fix various typos in comments. From Alan Carvalho de Assis 2014-04-06 09:02:02 -06:00
Gregory Nutt
6c5535cc38 SAMA5 clocking: USB clock setup needs to be done no matter the state of BMS and not matter how we are booting 2014-04-05 11:53:20 -06:00
Gregory Nutt
abca33bd6b Cosmetic update to comments 2014-04-05 11:35:05 -06:00
Gregory Nutt
cbdc9155ab SAMA5: Add support for DBGU. Xplained board now uses DBGU for the serial console 2014-04-01 11:24:15 -06:00
Gregory Nutt
060b84240b Add macro UNUSED to eliminate warnings about variables that are set to unused values 2014-03-30 07:58:58 -06:00
Gregory Nutt
a37c158659 Add missing MIO283QT-9A to the drivers/lcd/Kconfig 2014-03-27 07:38:02 -06:00
Gregory Nutt
6179cdfb91 Eliminate a warning when debug is off 2014-03-26 17:04:13 -06:00
Gregory Nutt
b951732a2b Reimagine the USB MSC worker thread as a kernel thread (instead of a pthread) 2014-03-25 14:19:27 -06:00
Gregory Nutt
30c34c07cf Add an MTD driver to wrap another MTD driver and makes is sector size look like 512 bytes 2014-03-24 17:45:45 -06:00
Gregory Nutt
baa91448e6 net/netdev_findbyaddr.c: Skip network devices that are in the down state. They have no meaning address 2014-03-20 17:27:59 -06:00