Commit Graph

186 Commits

Author SHA1 Message Date
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