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.

AWR2944: Any suggestion to reduce Enet and lwip memory usage in MSS L2 area?

Part Number: AWR2944


Hi,

SW: mmWave SDK 4.4 (Its MCU PLUS SDK is: mcu_plus_sdk_awr294x_08_06_00_28)

We found the Enet and lwip takes 200~250KB MSS L2 memory.
Any suggestion to reduce the memory usage?

  • Hi,

    In order to reduce memory usage, we need to remove some lwip features and rebuild the lwip source code from scratch.
    Could you share use how to build lwip from source code in mmWave SDK 4.4?

  • Hi James,

    This is correct. In order to optimize memory usage, you have to disable some of the LWIP features.

    Once- you have done this you can rebuild the LWIP lib by using the commands:

    gmake -s -f makefile.awr294x enet-cpsw_r5f.ti-arm-clang
    gmake -s -f makefile.awr294x lwipif-cpsw-freertos_r5f.ti-arm-clang
    gmake -s -f makefile.awr294x lwipif-cpsw-nortos_r5f.ti-arm-clang
    gmake -s -f makefile.awr294x lwip-freertos_r5f.ti-arm-clang
    gmake -s -f makefile.awr294x lwip-nortos_r5f.ti-arm-clang
    gmake -s -f makefile.awr294x lwip-contrib-freertos_r5f.ti-arm-clang
    gmake -s -f makefile.awr294x lwip-contrib-nortos_r5f.ti-arm-clang

    you can also rebuild all the libs in mcu plus sdk by using the command:

    gmake -s -f makefile.awr294x libs

    To know the full list of commands that are available in mcu plus sdk, you can run:

    gmake help

    Regards,

    ajay