Re: Need sample code for ILI9488 LCD on SPI Interface
Posted: Thu Jun 15, 2017 11:10 am
Hello Loboris,
Before implementing your demo in Eclipse I followed your steps in the readme.
During make I get following errors:
/home/jan/ESPtest/ESP32_TFT_library-master/components/spidriver/./spi_master_lobo.c: In function 'spi_lobo_bus_initialize':
/home/jan/ESPtest/ESP32_TFT_library-master/components/spidriver/./spi_master_lobo.c:423:3: error: implicit declaration of function 'DPORT_SET_PERI_REG_BITS' [-Werror=implicit-function-declaration]
DPORT_SET_PERI_REG_BITS(DPORT_SPI_DMA_CHAN_SEL_REG, 3, init, (host * 2));
^
I assume the definitions are in: #include "soc/dport_reg.h". It looks like it's included but I cannot find the file in the components?
Any idea what's going wrong?
Before implementing your demo in Eclipse I followed your steps in the readme.
During make I get following errors:
/home/jan/ESPtest/ESP32_TFT_library-master/components/spidriver/./spi_master_lobo.c: In function 'spi_lobo_bus_initialize':
/home/jan/ESPtest/ESP32_TFT_library-master/components/spidriver/./spi_master_lobo.c:423:3: error: implicit declaration of function 'DPORT_SET_PERI_REG_BITS' [-Werror=implicit-function-declaration]
DPORT_SET_PERI_REG_BITS(DPORT_SPI_DMA_CHAN_SEL_REG, 3, init, (host * 2));
^
I assume the definitions are in: #include "soc/dport_reg.h". It looks like it's included but I cannot find the file in the components?
Any idea what's going wrong?