2023-01-23 10:39 PM
2023-01-27 12:49 AM
Hi @Community member ,
Thanks for sharing your project.
I will check and I will get back as soon as possible.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-01-27 02:18 AM
Hello @Community member ,
#include "../Fonts/font20.c"
#include "../Fonts/font16.c"
#include "../Fonts/font12.c"
#include "../Fonts/font8.c"
#include "../Fonts/font24.c"
#include "Fonts.h"
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-01-27 09:52 AM
When you say :"Try to change fontx.c files direction from Fronts file to Core/Src file."
Do you mean to move the fontx.c files to the Core/Src folder?
Changing the stm32_lcd.c file addressed most of the errors. I would like to know how you were able to translate the error messages before the change to direct you to the stm32_lcd.c file.
2023-01-29 11:44 PM
Hi @Community member ,
-->Do you mean to move the fontx.c files to the Core/Src folder?
Exactly, move the fontx.c files from Fronts folder to the Core/Src folder.
I advise you to start with a functional example and try to add the peripherals one by one.
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-01-30 02:34 PM
I have elected to leave the fontx.c files in the utilities folder since the Source Path settings include the folder where they reside and the that part of the build is working fine.
I had to fix one other error resulting from a redefinition of the QSPI_HandleTypeDef hqspi in the file stm32h743i_eval_qspi.h. In the file stm32h743i_eval_qspi.c at line 79 the type def is not directed to be extern but in the .h file at line 195 it is. This will cause a conflict with the qspi typedef in the CubeMX generated main.c file. Changing line 79 in the c file to add the extern directive solves that problem.
I still have a problem with erros when I try to use code that comes from the application examples for the lcd trace functions. The only place I can see these being used in in the lwip applications. Follwing those examples, I placed the #include "lcd_trace.h" in the top of the main.c in preparation to call BSP_LCD_Init(0, LCD_ORIENTATION_LANDSCAPE);
The inclusion of the h file causes the error conflicting types for MX_LTDC_Init().
An archive of the project is attached.
2023-01-30 07:05 PM
Finally got it to work.
Had to uncheck the generate code for MX_LTDC_Init in the CubeMX Project Manager/Advanced Settings along with unchecking the LTDC global interrupts in the LTDC category NVIC settings since this adds interrupt handlers to the stm32h7xx_it.c file which require a LTDC_HandleTypeDef to have been created. Also had to lower the LCD clock value to 25MHz.
2023-01-31 12:29 AM
Hi @Community member ,
Glad to know the issue is already fixed..
Thanks for your contribution in STCommunity.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.