You can now have a main color display and a secondary monochrome display.
You can now optionally set GDISP_PIXELFORMAT to any color or grayscale format for your application and the driver will internally convert to the display hardware format.
Prepare for (but not yet complete) supporting a different high level GDISP pixel format to the low level driver format.
This will be useful in multiple display scenario's where displays have different pixel formats.
Few type castings in order to suppress warnings (-Wsign-compare):
"comparison between signed and unsigned integer expressions"
"signed and unsigned type in conditional expression"
Removed GPIO board file. It did not work (it wasn't finished nor started
to be honest). It is always possible to make it, general idea is exactly
the same as in SSD1289 driver.
It is a mix of barely changed few drivers already present in ChibiOS/GFX
project. No other routines than initialization ones were changed.
Properly displays "basics" demo.
Main features and changes:
- Based on SSD1289 and SSD1121 in FSMC mode.
- Uses FSMC module. Maybe oneday I will make GPIO version.
- LCD backlight PWM input is tied high (no timer yet).
- Added ssd2119.h with SSD2119 registers' addresses.
- Updated set_cursor and set_viewport functions. Not thoroughly tested,
however.
- Rewritten GDISP_LLD(init)(void) function.
I started project of new driver: SSD2119. This work is based on SSD1289.
I don't know exactly if this one is the most similar to my one. It's
just an experiment. There is no accompanying board file of any flavor,
but the hardware lying on my desk is Embest DM-STF4BB with DM-LCD35RT
LCD module.
Changes already made:
- Copied entire drivers/gdisp/SSD1289 directory into
drivers/gdisp/SSD2119.
- Changed every occurrence of "SSD1289" to "SSD2119" in each source
file.