HAL2_MIGRATOR
量産中
Design Win
STM32Cube HAL1 to HAL2 migration tool and guide

ソフトウェア入手 データブリーフのダウンロード

製品概要

概要

With the continuous development of the STM32Cube ecosystem, a new major version of the embedded software drivers, HAL2, is now available. HAL2 brings several improvements, especially in terms of usability and performance, while preserving the fundamental principles of the STM32Cube HAL drivers. To achieve these improvements, some breaking changes between HAL1 and HAL2 have been introduced.

To assist with the transition and migration of projects from HAL1 to HAL2, the STM32Cube HAL1 to HAL2 migration tool and guide offers a comprehensive set of tools and documentation. These resources accelerate the transition, address breaking changes, and provide an API detection script, practical examples, and step-by-step guidance to ensure a smooth, efficient, and error-free upgrade path.

  • 特徴

    • HAL1 automatic detection script:
      • Helps identify parts of the code in an application that have changed between HAL1 and HAL2 and therefore need to be updated. A script is provided to analyze the application and perform the actions in the list below
      • Scans user application files to detect all HAL1 APIs, defines, types, functions, and macros
      • Generates detailed logs and reports, linking each detected API to the relevant migration documentation
      • The HAL1 Automatic Detection Script comes in two versions
        • An executable format for Windows® 11.
        • A Python script to run on multiple platforms, providing insights into the script operations.
    • HAL1 to HAL2 migration user guide:
      • Provides all information required to perform a successful migration, while also explaining why these changes are made to HAL and the improvements they bring.
        • Explains HAL2 architectural concepts
        • Provides exhaustive driver-specific migration rules
        • Includes code snippets and concrete use cases for rapid and accurate migration
    • Migration example:
      • Illustrate how a successful migration looks and how other elements of the STM32Cube ecosystem are leveraged, an example is provided that consists of the following two points:
        • Step-by-step guide to migrating a real project, including IDE settings updates
        • Demonstrates leveraging STM32CubeMX2 for initialization sequence generation
    • HAL migration checklist:
      • Provides guidance and ensures all steps are completed, the HAL Migration Checklist enables users to track their migration progress effectively

ソフトウェア入手