Graphics Library Migration from MSP432Ware

Introduction

The following migration guide is intended for MSP32 Graphics Library users who are upgrading from version 3_21_00_00 to a later version.

MSP432 Graphics Library versions 3_30_00_xx and later require updated LCD Driver files.

WHY is the LCD driver update needed?

The graphics library core files were updated for the initial SDK release. The purpose of these updates is to minimize the software porting effort between Texas Instruments microcontroller products with SDK support. The changes in the graphics library require updates to old LCD driver files.

Refer to Updating LCD driver file to SDK compliant driver files for further instructions.

Updating a CCS graphics library project

To migrate to the SDK-provided Graphics Library,

See the image below for how to link Graphics Library.

After Graphics Library is linked in your project, you will also need to change the Graphics Library include path to point to the SDK-provided files.

Migrating Graphics Library from MSP432Ware to MSP432 SDK also requires changes in LCD Drivers,

Updating a IAR graphics library project

To migrate to the SDK-provided Graphics Library,

See the image below for how to link Graphics Library.

After Graphics Library is linked in your project, you will also need to change the Graphics Library include path to point to the SDK-provided files.

Migrating Graphics Library from MSP432Ware to MSP432 SDK also requires changes in LCD Drivers,

Updating a Keil graphics library project

To migrate to the SDK-provided Driver Library,

See the image below for how to link Graphics Library.

After Graphics Library is linked in your project, you will also need to change the Graphics Library include path to point to the SDK-provided files.

Migrating Graphics Library from MSP432Ware to MSP432 SDK also requires changes in LCD Drivers,

Updating LCD driver file to SDK compliant driver files

If your application is using TI provided LCD drivers (Crystalfontz128x128, Kitronix320x240x16_ssd2119_spi, Sharp96x96)
1. Replace driver files .c and .h with the update drivers provided in <SDK_INSTALL_DIR>/examples/
2. Go to Step3 below.

Otherwise, if you have created custom LCD driver files, please start from Step1 below to manually update your LCD drivers.

Instructions to update existing Graphics Library applications

Step1. Split the Graphics_Display global constant into two global variable/constant, Graphics_Display and Graphics_Display_Functions in your driver *.c file.

For example inside LcdDriver/Crystalfontz128x128.c, split the Graphics_Display global constant into two global variable/constant, Graphics_Display and Graphics_Display_Functions.

Inside LcdDriver/Crystalfontz128x128.h:

Step2.- Replace all instances of void pvDisplayData with const Graphics_Display pDisplay in the LCD function parameters.

For example, inside /LcdDriver/Crystalfontz128x128.c

Step3.- Update Graphics_initContext() calls in your main application code