Resolve HAL1 detected references

This section demonstrates how to browse the detection log file and resolve the HAL1 API references by updating the application code to its HAL2 equivalent. The process is guided by the HAL1 to HAL2 migration documentation, ensuring a systematic and accurate transition.

Generated log

After the execution of the automatic detection script, a log folder is generated under HAL2_Migrator/hal1_detection_script_log.

Example Image

Example Image

Note

The log file generated by the HAL1 detection script is an HTML file that contains the user application code where HAL1 APIs are detected.

Each HAL1 API reference in the log is presented as a clickable link that directs the user to the corresponding section in the HAL1 to HAL2 migration documentation.

This feature enables quick navigation and efficient access to detailed migration guidance for each HAL1 API.


Example Image

Resolved project

After addressing all HAL1 references, the application code now compiles successfully without any errors or warnings.

Example Image

Example Image

See also: Alternative option using Stubbing