Parameters¶
The configuration files list the constants for the screens, provide a repository of the configuration of the main controller boards, and set system-wide options for the frame-buffer, the fonts, the type of strings and other features.
Note that the screens and the main controller boards are defined dynamically at run-time, while the other parameters are set statically at build-time.
Run-time parameters¶
Constants for screens¶
The hV_List_Constants header file lists the constants used at run-time, especially those used by the drivers to list the screens they support.
The constants include: the screens sizes, the film types, the driver names, the family groups, the power management options and the frame-buffer sizes.
There is no longer a central list of all the supported screens. Each driver lists the screens it supports.
Boards¶
The hV_List_Boards header file provides the list of the pre-configured main controller boards.
The recommended boards are
- 
Adafruit Feather nRF52840; 
- 
Arduino Nano Matter based on Silicon Labs MGM240S; 
- 
Espressif ESP32-DevKitC; 
- 
Raspberry Pi Pico RP2040. 
The other boards are
- 
Boards compatible with those listed as recommended; 
- 
Arduino Zero or M0 Pro, and compatible boards; 
- 
Raspberry Pi Zero and B; 
- 
STM32 Nucleo 64, and compatible boards. 
The technical note Define a non-listed board explains how to define a non-listed board.
Build-time options¶
The hV_List_Options header file sets the build-time options.
Warning
Those parameters are fixed for the Basic and pre-compiled Evaluation editions. They can be edited and taken into account for the Commercial and Viewer editions.
Fonts¶
The Fonts include
- 
Basic edition: the Terminal font, with up to 4 variants; 
- 
Evaluation, Commercial and Viewer editions: the fixed Mono font, the proportional Serif and Sans Serif fonts, with up to 64 variants. 
The fonts are located on
- 
Basic edition: internal MCU Flash; 
- 
Evaluation edition: internal MCU Flash; 
- 
Commercial edition: internal MCU or external SPI Flash; 
- 
Viewer edition: internal memory. 
Frame-buffer¶
Frame-buffer is located on
- 
Basic edition: internal MCU SRAM; 
- 
Evaluation edition: internal MCU SRAM; 
- 
Commercial edition: internal MCU or external SPI SRAM; 
- 
Viewer edition: internal memory. 
Reference object¶
The reference object is
- 
Basic edition: itself; 
- 
Evaluation edition: pure virtual object; 
- 
Commercial edition: itself or pure virtual object; 
- 
Viewer edition: itself or pure virtual object. 
The pure virtual object brings an enhanced compatibility with high level libraries.
Info
The USE_hV_SCREEN setting impacts the Common libraries.
Touch¶
Touch is implemented with the driver Pervasive_Touch_Small for the Basic, Evaluation and Commercial editions.
- 
Basic edition: driver Pervasive_Touch_Smalland libraryPDLS_Basic;
- 
Evaluation edition: driver Pervasive_Touch_Smalland libraryPDLS_Advanced;
- 
Commercial edition: driver Pervasive_Touch_Smalland libraryPDLS_Advanced;
- 
Viewer edition: driver Driver_Viewer_Touchand libraryPDLS_Viewer_Touch.
Haptics¶
Haptic feed-back is implemented by the hV_Haptics_DRV2605L library for the Commercial edition only.
- 
Basic edition: none; 
- 
Evaluation edition: none; 
- 
Commercial edition: option; 
- 
Viewer edition: none. 
GPIO expander¶
The GPIO expander provides a solution when the MCU doesn’t offer enough GPIOs.
- 
Basic edition: none; 
- 
Evaluation edition: none; 
- 
Commercial edition: option; 
- 
Viewer edition: none. 
Info
The EXPANDER_MODE setting impacts the Common libraries.
String¶
The string is handled as
- 
Basic edition: a Stringobject from Arduino SDK;
- 
Evaluation edition: a C-standard char arraysupported by thecstringlibrary;
- 
Commercial edition: a Stringobject provided by the Arduino SDK or a C-standardchar arraysupported by thecstringlibrary;
- 
Viewer edition: a C-standard char arraysupported by thecstringlibrary.
Info
The STRING_MODE setting impacts the Common, Fonts, Screens, Code, Graphics, GUI and Serial libraries.
Storage¶
Storage options include files saved and read on SD-card, and header files printed on serial console and read from Flash.
Storage is implemented
- 
Basic edition: none; 
- 
Evaluation edition: serial console; 
- 
Commercial edition: SD-card and serial console; 
- 
Viewer edition: Linux or Windows file system and serial console. 
Info
The STORAGE_MODE setting impacts the Common and Files libraries.
Debug¶
Debug options print a trace on the serial console for SPI, Wire, panel power, panel OTP memory.
- 
Basic edition: none; 
- 
Evaluation edition: all; 
- 
Commercial edition: optional; 
- 
Viewer edition: optional. 
Info
The DEBUG_SPI_SCREEN, DEBUG_WIRE, DEBUG_POWER and DEBUG_OTP settings impact the Screens and Files libraries.
Board¶
The board option allows to select between the EXT3 and EXT4 extension boards.
- 
Basic edition: EXT3 and EXT4; 
- 
Evaluation edition: EXT3 only; 
- 
Commercial edition: EXT3 and EXT4; 
- 
Viewer edition: EXT3 only.