Skip to main content
shark
Associate III
December 26, 2019
Question

Why BoardConfiguration.cpp rely on user application?

  • December 26, 2019
  • 0 replies
  • 483 views

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.

This topic has been closed for replies.