cancel
Showing results for 
Search instead for 
Did you mean: 

Why BoardConfiguration.cpp rely on user application?

shark
Senior

My first simplest touchGFX application can run on my st board.

Now, I changed some UI with Designer and generate code, the BoardConfiguration.cpp need to be re-compiled, otherwise, an error generated at run time with message as "View allocation error: Check that all views are added to FrontendHeap::ViewTypes".

My project is big, so I separate the hardware driver from the UI code as a lib file. I think, BoardConfiguration.cpp should only rely on hardware and has nothing to do with final UI code.

So, can I separate final UI related things (memory size I guess) from BoardConfiguration, and put it at the app initialization section.

0 REPLIES 0