5.9. WDG Module Migration

Migration Approach: Follow sequential migration for clear understanding of changes at each version. Each migration is organized by individual changes with description, old vs new comparison, and migration actions.

5.9.1. v02.00.00 (i.e release v01.03.00) from v01.00.01 (i.e release v01.02.00) Migration

5.9.1.1. Summary

Version v02.00.00 introduces configuration structure name changes to comply with AUTOSAR requirement TPS_ECUC_08011:

  1. Configuration Structure Name Change: WDG configuration structure name updated for AUTOSAR TPS_ECUC_08011 compliance

5.9.1.2. Change 1: Configuration Structure Name Change

5.9.1.2.1. Description

Version v02.00.00 changes the configuration structure name for AUTOSAR TPS_ECUC_08011 compliance. This change ensures compliance with AUTOSAR naming conventions and requires updates to application code that references the WDG configuration structure.

5.9.1.2.2. Old vs New Configuration Structure

Configuration Structure Name Mapping:

v01.00.01 and older

v02.00.00

Wdg_ConfigSetptr

Wdg_Config

Code Examples:

// v01.00.01 and older
Wdg_Init(&Wdg_ConfigSetptr);

// v02.00.00
Wdg_Init(&Wdg_Config);

5.9.1.2.3. Migration Actions

  1. Search Application Code: Find all references to Wdg_ConfigSetptr in your application code

  2. Replace Structure Name: Update all references from Wdg_ConfigSetptr to Wdg_Config

  3. Update Function Calls: Ensure all WDG initialization calls use the new structure name

  4. Update Upper Modules: Update any upper modules that reference the configuration structures to use the new structure name

  5. Verify Compilation: Clean build and verify no compilation errors related to WDG configuration structure