# Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

### Protego

# MLA -- Graphics Library

- 1
- 2
…
- 33
- 34
- 35
- 36
- 37
…
- 373
- 374

• When using the Potentiometer on the graphics development boards, include in your project the following files found in the
"Board Support Package" directory:
• TouchScreenResistive.c - source code
• TouchScreenResistive.h - header file
• Potentiometer.h - contains the APIs for the A/D interface.
• EEPROM.h and EEPROM.c are going to be deprecated. Use the two new files:
• MCHP25LC256.c - source code
• MCHP25LC256.h - header file
• in the HardwareProfile.h add #define USE_MCHP25LC256 to use the new driver.
• A SPI driver has been created to support projects with multiple devices on one SPI channel.
• Projects will need to include the source file drv_spi.c in projects that use devices on a SPI channel.
• SPI Flash initialization routines will need to pass a DRV_SPI_INIT_DATA structure. This structure defines the SPI control
and bit rate used by the SPI Flash module.
• The COLOR_DEPTH macro has been moved from the hardware profile header file to the GraphicsConfig.h header file.
• For project migration please refer the graphics demos for examples.
Known Issues:
• PutImage() does not work when using PIC24FJ256DA210 and look up table is used on images located at EDS memory
with color depth less than 8bpp.
• PutImage() of when using PIC24FJ256DA210 for 8bpp images is missing the last row and last column of the bitmap when
the image is from external memory, look up table is used and the screen is rotated 90 degrees.
• When compiling the Analog Clock source code with C30 v3.24 the optimization setting must be set to 0 (none).
• External Memory Programmer utility does not work with Graphics PICTail v2 (AC164127)
• When using PIC24FJ256GB210 PIM with Explorer 15 board with a 5v Lumex LCD display, the S1D13517 demo does not
run correctly.
• Font tables are limited to 256 pixel character height. For fonts generated for external memory, the maximum height
limitation is 128 pixels.
v2.11
New:
• Graphics Resource Converter (GRC) ported to java version.
• Added support for Inflate Processing Unit (IPU) and Character Processing Unit (CHRGPU)of the Microchip Graphics
Module implemented in PIC24FJ256DA210.
• Added new "Google Map Demo" for PIC32MX795F512L and PIC24FJ256DA210 device.
• Added SST39LF400 Parallel Flash Memory driver in "Board Support Package". This is the driver for the parallel flash on
the "PIC24FJ256DA210 Development Board".
• Added demo support for PIC32 MultiMedia Expansion Board (DM320005).
• Added GFX_IMAGE_HEADER structure. This structure defines how the image(s) are accessed and processed by the
Graphics Library.
• Added a third option (#define XCHAR unsigned char) on the XCHAR usage. This is provided as an option to use
characters with IDs above 127 and below 256. With this option, European fonts that uses characters with character IDs
above 127 and below 256 can now be generated and used in the library.
• Added a scheme to replace the default font GOLFontDefault in the library with any user defined fonts. Refer to "Changing
the default Font" for details.
Changes:
• Added compile switches to all drivers in "Board Support Package" for options to compile out when not used in specific
projects.
• Replaced TYPE_MEMORY with GFX_RESOURCE type enumeration and expanded the enumeration for graphics
resources (such as images and fonts). GFX_RESOURCE type will determine the source and the data format of the
resource (compressed or uncompressed).
1.3 Release Notes MLA - Graphics Library Help
35

- 1
- 2
…
- 33
- 34
- 35
- 36
- 37
…
- 373
- 374