2019-05-22 09:20 AM
I have configured my application in cubeMX then I execute touchgfx to generete graphic code and finally i build the project with keil but an error occured on linking "Error: L6218: Undefined symbol OTM8009A_Init (referred from stm32f769i_discovery_lcd.o).
2019-05-22 10:36 AM
So likely a missing file. Make sure the project has whatever files it needs from the BSP\Components directories.
2019-05-22 10:39 AM
Repository\STM32Cube_FW_F7_V1.15.0\Drivers\BSP\Components\otm8009a\otm8009a.c
2019-05-23 01:48 AM
The explanation is that CubeMX will not concern itself with BSP (even if you're using the BoardSelector) so you must add these files to your project on your own. OTM8009A_Init may not be the only undefined symbol. Just grab them from the appropriate cube firmware as suggested.
Best regards,
Martin
2019-05-23 05:33 AM
>>The explanation is that CubeMX will not concern itself with BSP..
With automated tools you create the expectation that they'll do the job completely/correctly. It will save a lot of unnecessary technical support load.
2019-05-23 09:37 AM
Hi @Community member and @Martin KJELDSEN , I added files to the Drivers\BSP\Components in the project before building it.
2019-05-24 02:24 AM
Oh, no doubt about that. The "CubeMX-experience" could be a lot better. We report any issues (related to TouchGFX) that we find, at least.
2019-05-24 02:26 AM
And you're sure you included otm8009a.c (Drivers\BSP\Components\otm8009a\otm8009a.c) ?
2019-05-25 04:49 AM
the problem was that i forgot to include in path "Drivers\BSP\Components". (I am very sorry for wasting your time, it was a silly mistake.)
But after all the application didn't work(the lcd didn't work) despite i configured cubeMX and touchgfx using the application note AN4861 for the LTDC.
I will try again, if it doesn't work i will posted the problem and i will count for your help. Thank you very much :smiling_face_with_heart_eyes:
2019-05-26 11:57 PM
Okay, let me know, youssef! No problem :)