Situation: STM32F469 Discovery board with DSI 800x480 Screen, broken native BSP drivers (Display-related part). I tried to create a project in STM32CubeIDE, set all the settings, initialized as default for the discovery. Added BSP files. Doesn't work. Spent 2 months editing BSP drivers, but only got it to half-working state.
Solution I found this morning: if I create the project FIRST in Touch GFX Designer, I can choose example program for my discovery board. Then I press "Run Target", and it uploads a whole working GUI program to the discovery board. It even generates all the main files, sets up FreeRTOS, generates CubeMX file with the CORRECT settings (which are different from default settings if I make new STM32F469-disco project, no wonder it doesn't work).
So, I have full code of a working program with all necessary drivers/files/initializations included, all hardware setup, and it WORKS when uploaded via TouchGFX Designer. BUT!
I can't upload (flash) it in STM32CubeIDE! Only via TouchGFX Designer "Run Target". Where I can't edit code, obviously.
In STM32CubeIDE, I go to "File"->"Open Projects from File System", go to the project folder generated by TouchGFX Designer, it has all mains, all SDRAM setups and everything-everything, fully working thing, and the folder structure is just like any other natively created STM32CubeIDE project. Except that when I right click any file in this project (which btw has a symbol of folder for whatever reason), "Run As" is grayed out for no obvious reason, even though it has mx ioc file, main.c file, all libraries, drivers, linkers and stuff.
Question is: how can I force STM32CubeIDE to upload this project from STM32CubeIDE and not from TouchGFX Designer? (100% identical files, 0 changes, TouchGFX can upload it, CubeIDE can't)
I tried to google this question, but it's hard to word it right, and I couldn't find anything of value.
P.S. ST Community forum is malfunctioning now, login doesn't work there, but someone should know something, I hope.