Gregory Nutt
d8107d2b97
Loop device should return -EINTR is interrupt by a signal
2014-11-27 09:12:15 -06:00
Gregory Nutt
b29925a63b
EEPROM: prevent writes past end of device. From Sébastien Lorquet
2014-11-27 07:59:43 -06:00
Gregory Nutt
3f2c90c1e9
Fix minor typo in C comments
2014-11-27 06:49:07 -06:00
Gregory Nutt
1a33afb66c
Fix to get a clean build with EEPROM support disabled
2014-11-26 15:37:01 -06:00
Gregory Nutt
40b27115cc
Add support for generic EEPROM access via a character driver. Add also the EEPROM driver itself. From Sebastien Lorquet
2014-11-26 13:55:34 -06:00
Gregory Nutt
9ac09db800
More fixes to problems noted by cppcheck. Some are kind of risky; some are real bugs.
2014-11-25 13:46:14 -06:00
Gregory Nutt
2994448d85
More fixes to problems noted by cppcheck. Some are kind of risky; some are real bugs.
2014-11-25 13:15:09 -06:00
Gregory Nutt
5d231b25f0
SAMA5D3 Xplained: Add an apps/examples/bridge configuration
2014-11-20 16:24:30 -06:00
Gregory Nutt
33627632a5
Network: Fix compilation problem when mutliple networks enabled
2014-11-17 10:22:30 -06:00
Gregory Nutt
b9cd425bc2
Rename CONFIG_NET_BUFSIZE to CONFIG_NET_ETH_MTU in all drivers/net (except slip.c)
2014-11-16 08:53:20 -06:00
Gregory Nutt
25a9005ce7
Remove use of NET_LL_HDRLEN from Ethernet drivers. Use ETH_HDRLEN instead
2014-11-15 09:05:34 -06:00
Gregory Nutt
2b758537ea
Network: Misc fixes for clean complete with both Ethernet and SLIP enabled
2014-11-15 08:55:50 -06:00
Gregory Nutt
388ef8db1a
Netwoek: Ada a parameter to netdev_register() to indicate the link protocol supported by the driver. Use this value to replace some logic commited yesterday
2014-11-15 08:22:51 -06:00
Gregory Nutt
8d00912207
Add mirror (x/y) and inverse video (black<->white) options to the ST7565 LCD driver. From Pierre-noel Bouteville.
2014-11-15 06:43:12 -06:00
Gregory Nutt
ebdff66c8b
ARP: Add support for the case where there are multiple networks: One being Etherenet and the other not (say slip or perhaps someday PPP). In that case, we need to suppress ARP-related operations on the SLIP/PPP interface only
2014-11-14 18:25:33 -06:00
Gregory Nutt
e03c764d92
I don't think that the net_route function has ever worked correctly. The source ip was updated in the match struct instead of the route ip. From Brennan Ashton.
2014-11-14 16:45:25 -06:00
Gregory Nutt
ca15802ae5
Trival fix to comment
2014-11-14 10:58:13 -06:00
Gregory Nutt
9f3d4b30fb
Add st7565.c to build
2014-11-14 06:55:16 -06:00
Gregory Nutt
3576e249b5
Add driver for ST7565 that works with NHD‐C12864KGZ display. From Pierre-noel Bouteville.
2014-11-13 16:03:52 -06:00
Gregory Nutt
c956d6d820
Add support for seeking in BCH. From Sébastien Lorquet.
2014-11-13 09:04:42 -06:00
Gregory Nutt
d9b238b002
Extend MTD support to M25P16. From Sébastien Lorquet
2014-11-07 10:35:03 -06:00
Gregory Nutt
b99db64f15
rwbuffer, fix compiler error
2014-11-05 15:26:48 -06:00
Gregory Nutt
5120d745fd
Fix some typos
2014-10-29 10:48:50 -06:00
Gregory Nutt
6c9f325e1e
Move selection for CONFIG_SERIAL_TERMIOS out of MCU Kconfigs to common drivers/serial/Kconfig. Add CONFIG_ARCH_HAVE_SERIAL_TERMIOS to indicate if an MCU supports TERMIOS
2014-10-27 11:31:16 -06:00
Gregory Nutt
0196b77961
EFM32: Add IDLE power management hooks. Nothing implemented; just define the hooks
2014-10-22 07:26:31 -06:00
Gregory Nutt
37e08c3b49
The olimex-efm32g880f128-stk now defaults to use LEUART1 as the serial console. Also fixes lots of compile bugs from the original LEUART checkin
2014-10-21 11:38:51 -06:00
Gregory Nutt
d13c9a08b9
EFM32: Add configuration support for LEUARTs
2014-10-21 09:37:02 -06:00
Gregory Nutt
fa3753c466
rivers: enable usage of ili9341
...
This enables build and configuration of the ili9341 lcd interface driver.
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-10-20 15:27:56 -06:00
Gregory Nutt
beff697bc7
drivers: implements lcd interface for ili9341
...
This implements the lcd interface to displaying data on the lcd display powered
by the ili9341 lcd driver.
This driver implements all methods defined in the lcd_dev_s structure except
getcontrast and setcontrast. They are not supported by the hardware.
Furthermore the driver allows to use multiple displays powered by the ili9342 IC
with only one driver instance. So it is theoretically possible to support more
than one connected ili9341 lcd display. The displays can be configured
independently. Currently two lcd devices supported. This should be enough for
now. Read the corresponding code section of how to add more devices if
neccessary.
The following settings are configurable:
1. Pixel format
Define the pixel format of the connected display. Currently only
RGB-565 supported.
2. Orientation
Define the orientation of the display. This can be portrait or
landscape and reversed values.
1. Write only
The driver allows to disable any getrun method if not neccessary to
reduce code size. This is done by enable CONFIG_LCD_NOGETRUN in the nuttx
configuration.
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-10-20 15:19:43 -06:00
Gregory Nutt
1a27a4d4c0
Eliminate warnings
2014-10-11 17:02:35 -06:00
Gregory Nutt
c38b81431f
Cosmetic updates to comments
2014-10-11 15:20:21 -06:00
Gregory Nutt
d7d759f7a7
Update everything under nuttx/drivers to use the corrected syslog interfaces
2014-10-08 10:18:58 -06:00
Gregory Nutt
b33f8b3013
MTD read-ahear/write buffering layer seems functional
2014-09-25 13:35:10 -06:00
Gregory Nutt
a5bc26db4a
Fixes for compile of rwbuffer.c
2014-09-25 11:02:30 -06:00
Gregory Nutt
7c89724b99
A few fixes for clean apps/examples/mtdrwb build
2014-09-25 10:41:47 -06:00
Gregory Nutt
6626f62b08
In at45db_bwrite, the buffer is not increased when writing more than 1 page. Sourceforge bug #34
2014-09-25 06:48:04 -06:00
Gregory Nutt
34a057334c
Update SMART FS procfs support. From Ken Pettit
2014-09-22 11:19:49 -06:00
Gregory Nutt
b37c0a832a
Fixes to avoid some hang conditions using STM32 CAN
2014-09-17 08:35:03 -06:00
Gregory Nutt
47d55c28dc
Mostly cosmetic changes
2014-09-04 10:28:38 -06:00
Gregory Nutt
23147c40a5
Remove final traces of the 8015 from the NuttX source tree
2014-09-01 13:21:15 -06:00
Gregory Nutt
205260d5e2
Reanem kzalloc to kmm_zalloc for consistency
2014-08-31 17:34:44 -06:00
Gregory Nutt
1780810d3d
Rename kmalloc to kmm_malloc for consistency
2014-08-31 17:26:36 -06:00
Gregory Nutt
54fa3b0b59
Rename kfree to kmm_free for consistency with other naming conventions
2014-08-31 17:04:02 -06:00
Gregory Nutt
9cd1ddada4
Rename kmemalign to kmm_memalign and krealloc to kmm_realooc for consistency with other naming
2014-08-31 15:27:37 -06:00
Gregory Nutt
2906ff6a4a
Cosmetic: Fix all comments, defaults, etc. that references the defunct name user_start
2014-08-30 11:14:51 -06:00
Gregory Nutt
e3ff0689bb
Rename CONFIG_NUTTX_KERNEL to CONFIG_BUILD_PROTECTED; Partially integrate new CONFIG_BUILD_KERNEL
2014-08-29 14:47:22 -06:00
Gregory Nutt
98cf3b06e5
nuttx/drivers: Remove explicity references to errno. That is a problem from within the kernel for certain configurations
2014-08-28 16:59:06 -06:00
Gregory Nutt
ad9b3f8ab8
wdog.h does not contain any application interface, only internal OS interface. Further, it is non-standard. Move wdog.h from include/ to include/nuttx. For the same reason, move the description of the watchdog timer interfaces from the Users Guide to the Porting Guide.
2014-08-21 11:16:55 -06:00
Gregory Nutt
cf242fbeb4
SAM4E-EK: Add ILI9341-based LCD driver
2014-08-20 11:45:01 -06:00
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