stm32f407 black board with spi ili9341 ?

Limited support for STM32F4 Discovery, Nucleo and custom F4 boards
Post Reply
minime
Posts: 20
Joined: Mon Feb 13, 2017 11:10 am

stm32f407 black board with spi ili9341 ?

Post by minime » Mon Oct 23, 2017 12:50 am

i am trying to use stm32f407 black board with spi ili9341, any suggestions if already done and on which branch ? regards

stevestrong
Posts: 1829
Joined: Mon Oct 19, 2015 12:06 am
Location: Munich, Germany

Re: stm32f407 black board with spi ili9341 ?

Post by stevestrong » Mon Oct 23, 2017 8:28 am

It should work out of the box if you copy the Adafruit_ILI9341_STM lib from F1 folder to F4 folder and configure the correct SPI port.
But it was not tested, so no 100% guarantee.

minime
Posts: 20
Joined: Mon Feb 13, 2017 11:10 am

Re: stm32f407 black board with spi ili9341 ?

Post by minime » Tue Oct 24, 2017 2:34 am

I tried that it gives

C:\arduino-1.8.2\hardware\Arduino_STM32-master\STM32F4\libraries\Adafruit_ILI9341_STM\Adafruit_ILI9341_STM.cpp:11:28: fatal error: wiring_private.h: No such file or directory #include "wiring_private.h"

so I installed danieleff/STM32GENERIC , it gives no erroers when complied that ili9341 example i will wire the lcd to the board and test, this branch well produced and easier to code with it, will update the results this week.

stevestrong
Posts: 1829
Joined: Mon Oct 19, 2015 12:06 am
Location: Munich, Germany

Re: stm32f407 black board with spi ili9341 ?

Post by stevestrong » Tue Oct 24, 2017 8:48 am

minime wrote:
Tue Oct 24, 2017 2:34 am
C:\arduino-1.8.2\hardware\Arduino_STM32-master\STM32F4\libraries\Adafruit_ILI9341_STM\Adafruit_ILI9341_STM.cpp:11:28: fatal error: wiring_private.h: No such file or directory #include "wiring_private.h"
Fixed with this PR: https://github.com/rogerclarkmelbourne/ ... 2/pull/364
For this to work correctly, you also have to copy the Adafruit_GFX_AS lib from F1 folder.

Post Reply