add raspi4 lcd driver

This commit is contained in:
bigmagic
2020-11-27 14:30:25 +08:00
parent f8c8bc1c41
commit 5bcf84edcb
15 changed files with 3133 additions and 20 deletions

View File

@@ -75,7 +75,6 @@ static rt_err_t raspi_spi_configure(struct rt_spi_device *device, struct rt_spi_
{
RT_ASSERT(cfg != RT_NULL);
RT_ASSERT(device != RT_NULL);
rt_uint16_t divider;
struct raspi_spi_device* hw_config = (struct raspi_spi_device *)(device->parent.user_data);
struct raspi_spi_hw_config *hwcfg = (struct raspi_spi_hw_config *)hw_config->spi_hw_config;
// spi clear fifo