[riot-notifications] [RIOT-OS/RIOT] WIP: IL3829 e-Paper/e-Ink display driver (#11078)

talalong notifications at github.com
Fri May 31 01:09:32 CEST 2019


Hi, I tried to test your driver using `samr21-xpro` and `e-paper 4.2` (waveshare).
I did make changes in the Makefile, but something is not right there (code below).
`GPIO_PIN\(0,14\)` means `GPIO_PIN\(PA,14\)` and `GPIO_PIN\(1,2\)` means `GPIO_PIN\(PB,14\)`
> BOARD := samr21-xpro #nucleo-f411re
> USEMODULE += xtimer
> USEMODULE += spi_epaper
> CFLAGS += -DDISPLAY_X=300#200
> CFLAGS += -DDISPLAY_Y=400#200
> CFLAGS += -DSPI_EPAPER_CONTROLLER=SPI_EPAPER_CONTROLLER_IL3829 # ?
> CFLAGS += -DSPI_EPAPER_PARAM_CS=GPIO_PIN\(0,14\)
> CFLAGS += -DSPI_EPAPER_PARAM_DC=GPIO_PIN\(1,2\)
> CFLAGS += -DSPI_EPAPER_PARAM_RST=GPIO_PIN\(0,16\)
> CFLAGS += -DSPI_EPAPER_PARAM_BUSY=GPIO_PIN\(0,8\)

-> so I reduced X and Y to 200, but I got anothers errors like:

> /home/vagrant/Tutorials/RIOT-Test/RIOT-test-epaper-display-driver/drivers/spi_epaper/spi_epaper.c: In function 'spi_epaper_display_init':
> /home/vagrant/Tutorials/RIOT-Test/RIOT-test-epaper-display-driver/drivers/spi_epaper/spi_epaper.c:46:5: error: missing braces around initializer [-Werror=missing-braces]
>      le_uint16_t y_data[2] = {0};
-> I did some google searches and it might be gcc [issue](https://stackoverflow.com/a/11552408/4492997)


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11078#issuecomment-497517288
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190530/4a3b45be/attachment.html>


More information about the notifications mailing list