Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-12001

ETH: Inclusion of wrong file in MCAL ETH & ETHTRCV Drivers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • MCAL
    • MCAL-27342
    • Hide
      MCUSW_J7_01.03.00
      MCAL_SitaraMPU_10.00.00
      Show
      MCUSW_J7_01.03.00 MCAL_SitaraMPU_10.00.00
    • Hide
      MCAL_SitaraMPU_10.01.00
      MCUSW_J7_11.00.00
      Show
      MCAL_SitaraMPU_10.01.00 MCUSW_J7_11.00.00
    • Hide
      am62a-evm
      am62d-evm
      am62p-evm
      am62x-evm
      j7200-evm
      j721e-evm
      j721s2-evm
      j722s-evm
      j784s4-evm
      Show
      am62a-evm am62d-evm am62p-evm am62x-evm j7200-evm j721e-evm j721s2-evm j722s-evm j784s4-evm

      Its observed that EthIf_Cbk.h is included twice in Eth_Rpc.c, one direct file inclusion and another inclusion from Eth_Priv.h

      Eth_priv.h > Eth_ETHIF_CBK_HEADER  > EthIf_Cbk.h (Plugin configuration parameter)

      If the configuration is updated Eth_ETHIF_CBK_HEADER  will include User_defined.h

      1) Also, to build Eth_Priv.h itself not required in Eth_Rpc.c file. Unnecessary file inclusions should be removed.

      2) Also, I have observed the same EthIf_Cbk.h file included in "mcusw/mcal_drv/mcal/EthTrcv/src/EthTrcv.c" file as well.
      It should come from Plugin configuration same as in ETH Driver.

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: