Final hardware is based on the ARM cortex M4/M7 and it must be able to drive a 5" or 7" TFT LCD,hardware independent here means library must run on each standard LCD & cortex m4/m7 MCU and not specific to the special one (like Nextion).
Imagine this situation:
There are technicians without programming skills,
Assume this like a simple mini-HMI which usually work on a specific hardware,but if it is required to changes in hardware platform(MCU,LCD,driver chips & ...) library must be as portable as possible to bind to the new hardware in a reasonable time.
this is my approach:
There are a desktop app with virtual screen.User(technician without programming skill) put objects in screen,each object has its own property(place,size,action,...),user define properties of each object and save project as state chart diagram(or any other equivalent Sysml-UML diagram),after design finished he/she renders diagrams:desktop app compile designs to a semi-html text,final output consist of descriptor file and resource folder,which deploy to the external memory connected and controlled by MCU.RTOS in running mode handle reading descriptor and controlling LCD.
this is a blueprint of project with 3~6 month time & 2~3 developer resources.Then is there any better solution/ suggestion?
WBR.