Jump to content

ILI9341 SPI stm32f103


babusuman.k

Recommended Posts

Hello,

We are using the same ILI9341 LCD display interfacing with STM32F105. we are using customized board. we tried with your code at the begging you mentioned but its shows "ch.h" and "Board_ILI9341.h" files are missing.

We have attached the code for your reference.

Please help us how we can sort this.

Thanks & Regards

Suman

Sample code.zip

Link to comment
Share on other sites

Hello and welcome to the community!

It looks like you're missing a couple of things:

  • The board file is not named correctly. It needs to be named board_ILI9341.h
  • You don't seem to have a configuration file. Copy the gfxconf.example.h from the librarys root directory and name it gfxconf.h
  • About ch.h: The board file that you're using is a board file for the use with ChibiOS/RT. When you're not using ChibiOS/RT then you need to implement your own board file. The easiest way is to copy the board file template ugfx/drivers/gdisp/ILI9341/board_ILI9341_template.h and start implementing it using your HAL.

In case of you're using ChibiOS/RT (because you call the ChibiOS/RT initiailization functions in your main.c and you're using the ChibiOS/HAL in your board file) then please get a ChibiOS/RT project working first without uGFX. Once you have it running on your board it will be easy to add uGFX to the project.

~ Tectu

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...