ST7567 i2c/3w spi fix, issue #1939

This commit is contained in:
kraus 2022-09-03 11:47:30 +02:00
parent 9567d2f9a2
commit 4a4f76abcc
2 changed files with 62 additions and 22 deletions

View File

@ -287,6 +287,7 @@ https://github.com/olikraus/u8g2 ChangeLog
* Fixed several bugs and compiler errors
2022-xx-xx v2.33.x olikraus@gmail.com
* ST7567 ERC13232 (issue 1869)
* Bugfix for ST7567: (re-)added I2C and 3-wire-SPI (issue 1939)
* ST7920 160x32 (issue 1873)
* ST7586 JLX384160 (issue 1932)
* LC7981 128X128, NOT TESTED (issue 1913)

View File

@ -1282,17 +1282,29 @@ struct controller controller_list[] =
{ NULL }
}
},
/* https://www.crystalfontz.com/controllers/Sitronix/ST7567A/ supports I2C */
{
"st7567", 17, 8, "u8g2_ll_hvline_vertical_top_lsb", "u8x8_cad_001", "", COM_4WSPI|COM_6800|COM_8080,
"st7567", 17, 8, "u8g2_ll_hvline_vertical_top_lsb", "u8x8_cad_001", "", COM_4WSPI|COM_3WSPI|COM_6800|COM_8080,
"", /* is_generate_u8g2_class= */ 1,
{
{ "pi_132x64" },
{ NULL }
}
},
{
"st7567", 16, 8, "u8g2_ll_hvline_vertical_top_lsb", "u8x8_cad_001", "", COM_4WSPI|COM_6800|COM_8080,
"st7567", 17, 8, "u8g2_ll_hvline_vertical_top_lsb", "u8x8_cad_ssd13xx_fast_i2c", "i2c", COM_I2C,
"", /* is_generate_u8g2_class= */ 1,
{
{ "pi_132x64" },
{ NULL }
}
},
{
"st7567", 16, 8, "u8g2_ll_hvline_vertical_top_lsb", "u8x8_cad_001", "", COM_4WSPI|COM_3WSPI|COM_6800|COM_8080,
"", /* is_generate_u8g2_class= */ 1,
{
{ "jlx12864" },
@ -1302,7 +1314,6 @@ struct controller controller_list[] =
{ NULL }
}
},
{
"st7567", 16, 8, "u8g2_ll_hvline_vertical_top_lsb", "u8x8_cad_ssd13xx_fast_i2c", "i2c", COM_I2C,
"", /* is_generate_u8g2_class= */ 1,
@ -1316,7 +1327,50 @@ struct controller controller_list[] =
},
{
"st7567", 8, 4, "u8g2_ll_hvline_vertical_top_lsb", "u8x8_cad_001", "", COM_4WSPI|COM_6800|COM_8080,
"st7567", 17, 4, "u8g2_ll_hvline_vertical_top_lsb", "u8x8_cad_001", "", COM_4WSPI|COM_3WSPI|COM_6800|COM_8080,
"", /* is_generate_u8g2_class= */ 1,
{
{ "erc13232" },
{ NULL }
}
},
{
"st7567", 17, 4, "u8g2_ll_hvline_vertical_top_lsb", "u8x8_cad_ssd13xx_fast_i2c", "i2c", COM_I2C,
"", /* is_generate_u8g2_class= */ 1,
{
{ "erc13232" },
{ NULL }
}
},
{
"st7567", 16, 4, "u8g2_ll_hvline_vertical_top_lsb", "u8x8_cad_001", "", COM_4WSPI|COM_3WSPI|COM_6800|COM_8080,
"", /* is_generate_u8g2_class= */ 1,
{
{ "122x32" },
{ NULL }
}
},
{
"st7567", 16, 4, "u8g2_ll_hvline_vertical_top_lsb", "u8x8_cad_ssd13xx_fast_i2c", "i2c", COM_I2C,
"", /* is_generate_u8g2_class= */ 1,
{
{ "122x32" },
{ NULL }
}
},
{
"st7567", 8, 4, "u8g2_ll_hvline_vertical_top_lsb", "u8x8_cad_001", "", COM_4WSPI|COM_3WSPI|COM_6800|COM_8080,
"", /* is_generate_u8g2_class= */ 1,
{
{ "64x32" },
{ "hem6432" },
{ NULL }
}
},
{
"st7567", 8, 4, "u8g2_ll_hvline_vertical_top_lsb", "u8x8_cad_ssd13xx_fast_i2c", "i2c", COM_I2C,
"", /* is_generate_u8g2_class= */ 1,
{
{ "64x32" },
@ -1325,23 +1379,8 @@ struct controller controller_list[] =
}
},
{
"st7567", 16, 4, "u8g2_ll_hvline_vertical_top_lsb", "u8x8_cad_001", "", COM_4WSPI|COM_6800|COM_8080,
"", /* is_generate_u8g2_class= */ 1,
{
{ "122x32" },
{ NULL }
}
},
{
"st7567", 17, 4, "u8g2_ll_hvline_vertical_top_lsb", "u8x8_cad_001", "", COM_4WSPI|COM_6800|COM_8080,
"", /* is_generate_u8g2_class= */ 1,
{
{ "erc13232" },
{ NULL }
}
},
{
"st7571", 16, 16, "u8g2_ll_hvline_vertical_top_lsb", "u8x8_cad_001", "", COM_4WSPI|COM_6800|COM_8080,