Xiang Xiao
6a3c2aded6
Fix wait loop and void cast ( #24 )
...
* Simplify EINTR/ECANCEL error handling
1. Add semaphore uninterruptible wait function
2 .Replace semaphore wait loop with a single uninterruptible wait
3. Replace all sem_xxx to nxsem_xxx
* Unify the void cast usage
1. Remove void cast for function because many place ignore the returned value witout cast
2. Replace void cast for variable with UNUSED macro
2020-01-02 10:54:43 -06:00
Sebastien Lorquet
9527f849f4
drivers/lcd: Detect and handle more errors in return values within the LCD framebuffer and SSD1306 drivers
2018-02-19 07:32:44 -06:00
Gregory Nutt
e9a5477506
Add an instance argument to the SPIDEV definitions.
2017-04-29 12:26:52 -06:00
Gregory Nutt
0df1c556dc
drivers/lcd: ssd1306_configspi() must have global scope.
2017-02-09 07:45:25 -06:00
Gong Darcy
44b7975a5e
SSD1306: Fix errors in SPI mode configuration
2016-12-04 10:07:46 -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
e99301d7c2
Rename *lldbg to *llerr
2016-06-11 14:55:27 -06:00
Gregory Nutt
fc3540cffe
Replace all occurrences of vdbg with vinfo
2016-06-11 11:59:51 -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
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