Commit Graph

1198 Commits

Author SHA1 Message Date
Gregory Nutt
a84bd3f433 M25P serial flash driver: Add subsector size of the M24P16 part. From Lazlo 2014-12-10 18:48:36 -06:00
Gregory Nutt
cdc8fc52d1 SmartFS: Implements wear-leveling in the SmartFS. From Ken Pettit 2014-12-09 14:11:15 -06:00
Gregory Nutt
8bd5556b47 Fix compilation errors if CONFIG_DISABLE_MOUNTPOINT is selected 2014-12-08 07:14:31 -06:00
Gregory Nutt
c0c108d5e2 Add support for ST Micro EEPROM device geometries. From Sebastien Lorquet 2014-12-05 09:13:34 -06:00
Gregory Nutt
3cc6bee189 Nucleo-f4x1re: Fix some joystick pin definitions 2014-12-04 12:04:21 -06:00
Gregory Nutt
1f2447502f SAMA5D3 Xplained: Add support for the Itead Joystick shield 2014-12-03 12:24:23 -06:00
Gregory Nutt
19d31412f7 Update/correct some comments 2014-11-29 07:08:30 -06:00
Gregory Nutt
2b8fe6709b Add an analog joystick driver. Initial checkin is only a little more of a clone of the discrete joystick driver and is as-of-yet untested 2014-11-28 19:59:27 -06:00
Gregory Nutt
24d4253e1f Fixes to get the discrete joystick driver and test working 2014-11-28 15:56:18 -06:00
Gregory Nutt
544322edb9 DJoystick: Add a new ioctl to get the support joystick discrete signals 2014-11-28 15:39:57 -06:00
Gregory Nutt
0d04a4e9ba Fix missing quote in Kconfig 2014-11-28 10:16:58 -06:00
Gregory Nutt
e42f7b552f This commit is a set of patches 02/11 through 03/11 correcting issues with the CC3000 networking (01/11 was committed separated). Among these 10 patches:
03/11: CC3000 driver was getting stuck at recv() when remote host closed connection and application tried to read data from remotely shutdown socket. This patch adds proper handling for remotely closed socket event.

07/11: Socket state initialization was done in 'register', while it should be initialized in 'open' and deinitialized in 'close'. Old way caused problems when device is closed, power-cycled and then reopened as old socket state was left enabled.

08/11: Select thread was getting stuck after 'close, power-cycle, reopen', since selectsem was not properly setup and cleaned up.

09/11 'maxFD' was not properly reset in select worker and not checked for before calling cc3000_select().

10/11: After wlan_stop()/cc3000_close(), irqsem was left with count '-1'. Therefore on next wlan_start()/cc3000_open(), initial value for irqsem was wrong. Additional repeated wlan_start()/wlan_stop() decreased irqsem value further. Obviously this causes driver not to function correctly and freeze.

Patch moves initialization and destruction of waitsem, irqsem and readysem to cc3000_open/cc3000_close.

All are: Signed-off-by: Jussi Kivilinna <jussi.kivilinna@haltian.com>
2014-11-28 08:52:52 -06:00
Gregory Nutt
5f0343bed9 Use usleep instead of usdelay as CONFIG_BOARD_LOOPSPERMSEC might not be calibrated correctly and CC3000 is fine with longer wait.
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@haltian.com>
2014-11-28 08:16:30 -06:00
Gregory Nutt
2d9bd07525 Some additional, minor improvements to djoystick interrupt controls 2014-11-27 20:20:10 -06:00
Gregory Nutt
0ec5043a4e Add an interface definition and upper half driver for a discrete joystick device 2014-11-27 17:42:16 -06:00
Gregory Nutt
57e57bba36 LPC4357 EVB: Ooops got sense of the LED GPIO backward 2014-11-27 12:38:04 -06:00
Gregory Nutt
f2603866e0 Widen the name space: Rename CONFIG_SPI_EEPROM to CONFIG_EEPROM so that I2C EEPROMs can live there too 2014-11-27 11:08:27 -06:00
Gregory Nutt
e3898a7911 Update README 2014-11-27 10:40:51 -06:00
Gregory Nutt
d5c808c1fe EEPROM: Add a README file 2014-11-27 09:14:19 -06:00
Gregory Nutt
bc3212d70e EEPROM: Add a README file 2014-11-27 09:14:00 -06:00
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