Optimizing a Microchip Graphics Suite (MGS) Harmony Project

Last modified by Microchip on 2024/05/13 13:33

Introduction

The Microchip Graphics Suite (MGS) is a versatile framework equipped with an array of tools designed to facilitate the development of embedded Graphical User Interfaces (GUIs). It is scalable to accommodate a range of devices, from resource-restricted Arm® Cortex®-M0+ Microcontroller Units (MCUs) to high-performance Microprocessor Units (MPUs). To ensure optimal performance, an application utilizing MGS must be meticulously configured to align with the specifications of the target platform. This includes optimizing performance metrics, Flash footprint, RAM usage, and user experience.

This section provides comprehensive guidelines on tailoring an MGS application to the unique hardware platform for which it is being developed.

Optimizing Memory Usage

This section provides a comprehensive guide on how to configure the memory pools, heap, and Flash used by the MGS library so that they are optimized for the GUI design.

Optimizing the Memory Manager Settings

This guide provides information on how to optimize the Variable and Fixed heap settings based on the application.

Optimizing the Scratch Buffer Size

This guide provides information on how to properly set the size of the scratch buffer depending on the target platform and the UI design.

Optimizing for Performance

General Guidelines for an Optimized MGS GUI Design

This page offers general guidelines for designing and setting up an MGS GUI project to ensure optimal rendering speed on any platform.