Migrate from release 6 to release 7¶
This application note lists how to migrate from from release 6 to release 7.
The user guide has been adapted to new release 7. Special boxes provide the reference for Legacy release 6.
Legacy version 6
Special boxes provide the reference for Legacy release 6.
New features¶
Release 7 does not include new features.
All the application libraries are unchanged.
Deprecated features¶
Release 7 does not deprecate features.
Modified features¶
Screen and board functions¶
Release 7 refactors screen and board functions into two new libraries, hV_Board
and hV_Utilities_PDLS
.
The new library hV_Board
includes the low-level functions for the EXT3-1 extension board hardware and simulated Viewer.
The new library hV_Utilities_PDLS
shares common functions and variables for all the screens.
Configuration¶
Release 7 also migrates some elements from the hV_Configuration
header file.
The new hV_List_Constants
header file lists all the constants used at run-time.
The new hV_List_Options
header file sets the build-time options.
The new hV_List_Boards
header file defines the main controller boards configurations.
The new hV_List_Screens
header file references the supported screens and their corresponding frame-buffers sizes.
Peripherals¶
Deprecated functions and synonyms (shown in italics below) have been removed from the peripherals library.
General
Release 5.5.0 | Release 6.1.3 | Release 7.0.0 |
---|---|---|
- | hV_HAL_begin() |
hV_HAL_begin() |
GPIOs
Release 5.5.0 | Release 6.1.3 | Release 7.0.0 |
---|---|---|
hV_HAL_GPIO_pinMode() |
hV_HAL_GPIO_pinMode() hV_HAL_GPIO_define() |
hV_HAL_GPIO_define() |
hV_HAL_digitalWrite() |
hV_HAL_digitalWrite() hV_HAL_GPIO_set() hV_HAL_GPIO_clear() |
hV_HAL_GPIO_set() hV_HAL_GPIO_clear() hV_HAL_write() |
hV_HAL_digitalRead() |
hV_HAL_digitalRead() hV_HAL_GPIO_get() |
hV_HAL_GPIO_get() hV_HAL_GPIO_read() |
Serial
Release 5.5.0 | Release 6.1.3 | Release 7.0.0 |
---|---|---|
hV_HAL_Debug_print() hV_HAL_Debug_println() |
hV_HAL_Debug_print() hV_HAL_Debug_println() hV_HAL_Serial_printf() |
hV_HAL_Serial_printf() |
- | hV_HAL_crlf() hV_HAL_Serial_crlf() |
hV_HAL_Serial_crlf() |
hV_HAL_Debug_flush() |
hV_HAL_Debug_flush() |
- |
SPI
Release 5.5.0 | Release 6.1.3 | Release 7.0.0 |
---|---|---|
hV_HAL_SPI_configure() |
hV_HAL_SPI_configure() hV_HAL_SPI_begin() |
hV_HAL_SPI_begin() |
I²C
Release 5.5.0 | Release 6.1.3 | Release 7.0.0 |
---|---|---|
hV_HAL_Wire_write() hV_HAL_Wire_read() |
hV_HAL_Wire_write() hV_HAL_Wire_read() hV_HAL_Wire_writeRead() |
hV_HAL_Wire_transfer() |
Time
Release 5.5.0 | Release 6.1.3 | Release 7.0.0 |
---|---|---|
hV_HAL_delay() |
hV_HALdelay() hV_HAL_delayMilliseconds() |
hV_HAL_delayMilliseconds() |
Log system
Release 5.5.0 | Release 6.1.3 | Release 7.0.0 |
---|---|---|
- | hV_HAL_log() |
hV_HAL_log() |
Editions and variants names¶
Evaluation and Commercial editions¶
The names of the variants of the Evaluation and Commercial editions are unchanged.
Viewer edition¶
The name of the variant of the Viewer edition is unchanged.
Basic edition¶
The names of the variants of the Basic edition are unchanged, except for PDLS_EXT3_Basic
now called PDLS_EXT3_Basic_Global
.