9 years, 11 months ago.

ILI9341 STM32F103RB Nucleo compilation error

Hello guys,

I'm an Mbed newbie and my first time to interface TFT LCD's with my STM32F103RB Nucleo. I did successful compilations and correct expected outputs on LED2 etc.with some basic programs like blink, PWM and adcin with the board I have now but I'm kinda confuse interfacing the ILI9341 TFT LCD from Peter Drescher / SPI_TFT_ILI9341 which gives me an error when to be compiled with the platform STM32F103RB Nucleo board. It gives me a first line Warning: Members and base-classes will be initialized in declaration order, not in member initialisation list order":_spi9mosi,miso,Sclk),cs(cs). in "SPI_TFT_ILI9341/SPI_TFT_ILI9341.cpp", Line: 25, Col: 64

then a second line error - an error Identifier "LocalFileSystem" is undefined "LocalFileSystem local("local");"

I'm stuck with this and cannot compile the program with it's library successfully.

Can someone help me?

Thanks

Question relating to:

Affordable and flexible platform to ease prototyping using a STM32F103RBT6 microcontroller.

2 Answers

5 years, 10 months ago.

I have the same problem. It look like nobody knows how to fix it...

I think issue may be posted also in the TFT github ? For ex, in the nucleo file, there is :

  1. if defined TARGET_NUCLEO_F103RB
  2. include "stm32f10x_dma.h"
  3. endif Which is a file I don't know...

Does this LCD work with some other NUCLEO board ?

posted by Jerome Coutant 27 Jun 2018

Thank you for responding! The actual board is a "blue pill STM32" with STM32F103C8T6. The LCD is a 3.5" mcufriensd.com panel with a HX8357 controller. Both work very good in Arduino with Adafruit_TFTLCD_8bit_STM32 library.

posted by Filip Atanassov 27 Jun 2018
5 years, 10 months ago.

Hello,

This example might help.