This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2432: 'enet.h' file not found

Part Number: AM2432

Tool/software:

What do I need to include or download to make CCS compile ethernet on  the AM2432? I cannot find any information on this in the user manual.

Best regards

Jens

  • Hi Jens,

    You have to include the include paths for enet headers in your makefile. If this is the only file that you are trying to include, you have to include the below path
    "${MCU_PLUS_SDK_PATH}/source/networking/enet/core/include",


    Here is the complete list needed from enet for layer-2 support:


    "${MCU_PLUS_SDK_PATH}/source/networking/enet",
    "${MCU_PLUS_SDK_PATH}/source/networking/enet/core/utils",
    "${MCU_PLUS_SDK_PATH}/source/networking/enet/core/utils/include",
    "${MCU_PLUS_SDK_PATH}/source/networking/enet/core/utils/V3",
    "${MCU_PLUS_SDK_PATH}/source/networking/enet/core",
    "${MCU_PLUS_SDK_PATH}/source/networking/enet/core/include",
    "${MCU_PLUS_SDK_PATH}/source/networking/enet/core/include/phy",
    "${MCU_PLUS_SDK_PATH}/source/networking/enet/core/include/core",
    "${MCU_PLUS_SDK_PATH}/source/networking/enet/soc/k3/am64x_am243x",
    "${MCU_PLUS_SDK_PATH}/source/networking/enet/hw_include",
    "${MCU_PLUS_SDK_PATH}/source/networking/enet/hw_include/mdio/V4"

    "${MCU_PLUS_SDK_PATH}/source/board/ethphy/enet/rtos_drivers/include",
    "${MCU_PLUS_SDK_PATH}/source/board/ethphy/port",

    Here is the list if you want LwIP stack support as well:

    "${MCU_PLUS_SDK_PATH}/source/networking/lwip/lwip-stack/src/include",
    "${MCU_PLUS_SDK_PATH}/source/networking/lwip/lwip-port/include",
    "${MCU_PLUS_SDK_PATH}/source/networking/lwip/lwip-port/freertos/include",
    "${MCU_PLUS_SDK_PATH}/source/networking/enet/core/lwipif/inc",
    "${MCU_PLUS_SDK_PATH}/source/networking/lwip/lwip-stack/contrib",
    "${MCU_PLUS_SDK_PATH}/source/networking/lwip/lwip-config/am243x"

    Regards,
    Teja.

  • Thank you! I found that if I use the import project function and manually import the example-projects instead of using the project wizard everything works fine. It seems as if the built-in automation functions in CCS has some bugs.

  • Hi Jens,

    I hope this resolved the issue. If there is nothing more in this topic, I will mark the thread as answered.

    Thanks and regards,
    Teja.