Gregory Nutt
e9a5477506
Add an instance argument to the SPIDEV definitions.
2017-04-29 12:26:52 -06:00
Gregory Nutt
d5207efb5a
Be consistent... Use Name: consistent in function headers vs Function:
2017-04-21 16:33:14 -06:00
Gregory Nutt
6c4dac459a
lcd/: PCF8574 backpack logic needs to include poll.h CONFIG_DISABLE_POLL is not set.
2017-03-27 12:28:34 -06:00
Masayuki Ishikawa
e336d24898
drivers/lcd/st7565.c: Use ST7565_POWERCTRL_INT instead of ST7565_POWERCTRL_BRF
2017-03-22 08:21:22 +09:00
Masayuki Ishikawa
591f91ebd3
drivers/lcd/st7565.c: Extend to include support for the AQM_1248A
2017-03-21 15:30:23 +09:00
no1wudi
5528b2836c
fixed the debug method selection of ssd1306
2017-03-07 19:49:18 +08:00
Mark Schulte
28226198a7
memlcd: Mark Schulte <mark@mjs.pw>
2017-03-01 08:52:58 -06:00
Gregory Nutt
0df1c556dc
drivers/lcd: ssd1306_configspi() must have global scope.
2017-02-09 07:45:25 -06:00
Gregory Nutt
d9e040d76b
Remove all Calypso board configurations
2016-12-13 18:24:49 -06:00
Gong Darcy
44b7975a5e
SSD1306: Fix errors in SPI mode configuration
2016-12-04 10:07:46 -06:00
Alpo Leinonen
7d5173ca09
USB host composite: Several syntactic errors fixed
2016-08-29 07:53:57 -06:00
Gregory Nutt
32ebeb15b4
Trivial changes from review of PR 115
2016-08-14 13:47:07 -06:00
Gregory Nutt
ade02a513b
Merged in v01d/nuttx/ssd1306-128 (pull request #115 )
2016-08-14 13:42:24 -06:00
v01d
943c853939
semantic changes
2016-08-14 16:23:13 -03:00
v01d
02a7fd2430
Make OLED 132x64 use 128x64 for the time being
2016-08-14 14:54:58 -03:00
Gregory Nutt
4b582f0ae9
Fix some comments
2016-08-14 07:16:18 -06:00
Gregory Nutt
e963e8d879
Changes from review of PR 112
2016-08-13 16:53:23 -06:00
Gregory Nutt
72a2fed1d0
Merged in v01d/nuttx/ssd1306_fixes (pull request #112 )
...
SH1106 0.96 OLED module support (SSD1306 compatible) + I2C fixes
2016-08-13 16:33:28 -06:00
v01d
21e930cdba
SH1106 0.96 OLED module support (SSD1306 compatible) + I2C fixes
2016-08-13 19:20:20 -03:00
Gregory Nutt
caea59b340
SPI bit order: Add configuration setting to indicate if an architecture-specif SPI implementation does or does not support LSB bit order.
2016-08-08 12:21:20 -06:00
Gregory Nutt
6df28bc74e
Make bit-order SPI H/W feature configurable for better error detection
2016-08-08 11:54:13 -06:00
Gregory Nutt
21859af6d9
Add check of return value in drivers affected by last change: Report the error on a failure to set the bit order.
2016-08-08 08:40:37 -06:00
Gregory Nutt
7d4cb73bd6
STM32 and EFM32 SPI drivers adopted an incompatible conventions somewhere along the line. The set the number of bits to negative when calling SPI_SETBITS which had the magical side-effect of setting LSB first order of bit transmission. This is not only a hokey way to pass control information but is supported by no other SPI drivers.
...
This change three things: (1) It adds HWFEAT_LSBFIRST as a new H/W feature. (2) It changes the implementations of SPI_SETBITS in the STM32 and EFM32 derivers so that negated bit numbers are simply errors and it adds the SPI_HWFEATURES method that can set the LSB bit order, and (3) It changes all calls with negative number of bits from all drivers: The number of bits is now always positive and SPI_HWFEATUREs is called with HWFEAT_LSBFIRST to set the bit order.
2016-08-08 08:28:13 -06:00
Gregory Nutt
2a751068e6
Without lowsyslog() *llerr() is not useful. Eliminate and replace with *err().
2016-06-20 12:44:38 -06:00
Gregory Nutt
0c8c7fecf0
Add _ to the beginning of all debug macros to avoid name collisions
2016-06-16 12:33:32 -06:00
Gregory Nutt
24c51ec1ff
Centralize definitions associated with CONFIG_DEBUG_LCD
2016-06-15 11:40:33 -06:00
Gregory Nutt
0665c7e06c
drivers/: Change some nerr() ERRORS to ninfo() and nwarn() WARNINGS.
2016-06-12 09:26:12 -06:00
Gregory Nutt
a1469a3e95
Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err()
2016-06-11 15:50:49 -06:00
Gregory Nutt
e99301d7c2
Rename *lldbg to *llerr
2016-06-11 14:55:27 -06:00
Gregory Nutt
1cdc746726
Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES
2016-06-11 14:14:08 -06:00
Gregory Nutt
fc3540cffe
Replace all occurrences of vdbg with vinfo
2016-06-11 11:59:51 -06:00
Gregory Nutt
3a74a438d9
Rename CONFIG_DEBUG_VERBOSE to CONFIG_DEBUG_INFO
2016-06-11 11:50:18 -06:00
Gregory Nutt
d76d889efd
Restore FLASH_ERASALL in configurations where it was previously selected
2016-06-03 09:10:21 -06:00
Pierre-noel Bouteville
7e2aed942a
Correct conditioinal compilation in ST7565 driver
2016-06-03 08:42:32 -06:00
Gregory Nutt
22044edd12
Merged in ziggurat29/nuttx/stm32l4_i2c_lcd_mjkdz_001 (pull request #35 )
...
correct bugs and add enhancements to pcf8574 lcd backpack driver
2016-05-29 14:02:39 -06:00
ziggurat29
bb7a579681
fleshed out rest of fileops interface; read now takes into consideration current file position (so the display can be read in multiple operations, and indiate EOF correctly), seek (really just to facilitate rewind), and unlink (to facilitate dropping from system at runtime).
2016-05-29 14:53:37 -05:00
ziggurat29
4643fcdfd8
correct logic hazard in latch and load nybble; was transitioning control lines at the same time as enable, causing spurious behaviour on less-tolerant displays
...
improve timing parameters in init sequences for better display compatibility
correct (row,col) -> address calculation; affects 4-line displays
update comments in header and readme
2016-05-29 11:09:00 -05:00
Gregory Nutt
1571575d54
Perhaps this is a little clearer
2016-05-26 13:44:10 -06:00
Gregory Nutt
e57a6d14c3
lcd/Kconfig, Make.defs: Remove dependency of CONFIG_LCD_NXDRIVER for building non-graphic, SLCD drivers.
2016-05-26 07:21:14 -06:00
Gregory Nutt
d58e4acf17
Remove whitespace from the end of lines
2016-05-25 08:48:55 -06:00
Gregory Nutt
51504a032e
Oops... forgot to add PCF8574 LCD Backpack files before doing the commit.
2016-05-25 08:48:54 -06:00
Dave
dc1c27cee7
* This driver supports the 'I2C lcd backpack' design that is based on the PCF8574 io expander. There's a myriad of different vendors of such, but they are principally the same, save wiring and minor features like jumpers for I2C addresses. This driver supports known and unknown variants.
...
* The interface board supports HD44780-based LCD modules up to 4x32, and this driver accommodates all those formats.
2016-05-25 08:06:32 -06:00
Gregory Nutt
69ce24c70c
I2C: Remove the setfrequency method from the interface
2016-02-01 16:31:13 -06:00
Gregory Nutt
6ad641888b
Add I2C frequency to the i2c_msg_s structure
2016-02-01 14:17:20 -06:00
Gregory Nutt
f9053182d3
I2C: Remove setaddress method
2016-02-01 12:14:31 -06:00
Gregory Nutt
3a781a2d3f
Remove I2C slave methods from I2C master interface; rename i2c_dev_s to i2c_master_s.
2016-01-30 08:36:47 -06:00
Gregory Nutt
ceb415204e
Move include/nuttx/i2c.h to include/nuttx/i2c/i2c_master.h
2016-01-30 08:00:16 -06:00
Gregory Nutt
31cf7e0900
Fix missing semicolon
2016-01-23 21:21:15 -06:00
Gregory Nutt
d87f7e99d2
NOkia LCD needs to initialize SPI before using it
2016-01-23 19:45:30 -06:00
Gregory Nutt
7ee6c5bcfc
Minor clean-up for last big commit
2016-01-23 19:18:55 -06:00
Gregory Nutt
7edf921c5e
Remove CONFIG_SPI_OWNBUS: Now it is not just a good idea, it is the law
2016-01-23 18:54:36 -06:00
Gregory Nutt
f6e49caba8
All SPI-based device drivers needs to call SPI_HWFEATURES() with zero in order to co-exist with drivers that use H/W features
2016-01-23 16:18:13 -06:00
Marco Krahl
b1b97e89c8
drivers/lcd/ili9432.c: Fixed errors in orientation. Portrait, RPortrait, and RLandscript should work correly now. They were displayed mirrored. From Marco Krahl
2015-11-25 13:01:37 -06:00
Gregory Nutt
cf14f8d1b5
drivers/: Fixes to spacing and alignement
2015-10-10 10:41:00 -06:00
Pierre-noel Bouteville
59e5e2f5cc
drivers/lcd/st7565.c: Extend to include support for the ERC12864-3. From Pierre-noel Bouteville
2015-10-07 14:30:08 -06:00
Gregory Nutt
af086c40ff
Remove dangling whitespace
2015-10-04 15:28:54 -06:00
Gregory Nutt
0b12dbf95d
Fix some spacing problems
2015-10-04 15:04:00 -06:00
Gregory Nutt
16b32bbadd
Standardize the width of all comment boxes in C files
2015-10-03 07:25:53 -06:00
Gregory Nutt
ac394041bf
Standardize nameing of the pre-processor definitiongs group header
2015-10-02 14:17:29 -06:00
Gregory Nutt
bb595777fd
Eliminate warnings
2015-09-08 10:21:19 -06:00
Paul A. Patience
c080146748
SSD1351 driver: add 8-bit parallel interface
2015-09-06 13:28:28 -04:00
Gregory Nutt
9c66bde5b0
Fix typo in pre-processor command noted by Pierre-noel Bouteville. Also move # of pre-processior command to column 1
2015-09-05 09:10:48 -06:00
Paul A. Patience
01b68e90d0
Add SSD1351 OLED controller support
2015-08-28 18:37:01 -04:00
Alan Carvalho de Assis
d7d15072c4
Updated SSD1306 driver
2015-07-15 13:28:31 -06:00
Gregory Nutt
8580d37352
SSD1306: Rename ssd1306_helpers.h to ssd1306.h. Move all SSD1306 driver definitions from ssd1306_base.c to ssd1306.h
2015-07-15 11:46:28 -06:00
Alan Carvalho de Assis
a3e24a0b6c
Modify the SSD1306 LCD driver to support either the SPI or I2C interface. From Alan Carvalho de Assis,
2015-07-15 11:21:54 -06:00
Gregory Nutt
342f5fe33d
Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation
2015-06-28 08:08:57 -06:00
Gregory Nutt
8ab4ea531e
Update README
2015-04-24 07:48:53 -06:00
Gregory Nutt
a8a3790139
RA8875 LCD driver contributed by Marten Svanfeldt
2015-04-24 07:46:03 -06:00
Gregory Nutt
e4d2822af8
Make some file section headers more consistent with standard
2015-04-08 07:15:32 -06:00
Gregory Nutt
e9e386ac6e
Add ILI9488 header file
2015-04-03 07:12:11 -06:00
Gregory Nutt
e7470e0834
Update dates in all skeleton files
2015-02-13 06:13:34 -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
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
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
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
d7d759f7a7
Update everything under nuttx/drivers to use the corrected syslog interfaces
2014-10-08 10:18:58 -06:00
Gregory Nutt
cf242fbeb4
SAM4E-EK: Add ILI9341-based LCD driver
2014-08-20 11:45:01 -06:00
Gregory Nutt
2abe0dd6dd
Change all variadic macros to C99 style
2014-05-22 09:01:51 -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
3a1324741a
More trailing whilespace removal
2014-04-13 14:32:20 -06:00
Gregory Nutt
494387b33b
Make sure that there is one space after for
2014-04-12 13:28:22 -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
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
a37c158659
Add missing MIO283QT-9A to the drivers/lcd/Kconfig
2014-03-27 07:38:02 -06:00
Gregory Nutt
86d7618733
configs/skp16c26/ostest: Configuration converted to use the kconfig-frontends tools
2014-03-06 08:28:49 -06:00
Gregory Nutt
9fd85aec9e
configs/olimex-lpc1766stk/nx converted to use the kconfig-frontends
2014-03-02 12:26:52 -06:00
Gregory Nutt
077b211456
Bug fix for the MIO283QT-9A driver from Toby Duckwork
2014-02-19 10:57:32 -06:00
Gregory Nutt
91b002a043
Many changes to reduce complaints from CppCheck. Several latent bugs fixes, but probably some new typos introduced
2014-02-10 18:08:49 -06:00
Gregory Nutt
8ef272911e
Update comments in file headers
2014-02-10 13:58:08 -06:00
Gregory Nutt
a9b01d5824
Support for the MIO283QT9A LCD from Toby Duckworth
2014-02-10 12:26:08 -06:00
Gregory Nutt
0d6a046e67
Add support for Sharp Memory LCD on the Maple board
2013-12-23 16:47:31 -06:00
Gregory Nutt
45d2bf2554
Support for Sharp Memory LCD. From Librae
2013-12-23 16:03:54 -06:00
Gregory Nutt
e282aad903
Move include/nuttx/fb.h to include/nuttx/video/fb.h
2013-12-10 09:23:54 -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
09faaccc02
Created new directories to hold SPI-related files
2013-07-01 08:11:54 -06:00