Uploaded image for project: 'LWIP based TCP/IP'
  1. LWIP based TCP/IP
  2. PSLWIP-298

Do not call acd related function if not active

    Details

    • Type: Change
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: V4.2.0.1, V4.3.0.0
    • Labels:
      None
    • Account:
      SPC TCP_IP (SPCTCPIP)

      Description

      In several places acd_..() functions are called without checking if acd is active. This is checked within the functions itself. Due to this, even when using lwIP without ACD, the acd code must be placed in RAM for XIP firmwares. This wastes RAM memory space.

      If instead, the check "if (netif->acd != NULL)"  is made before calling the acd_() functions, the acd_() function can be moved to XIP area for firmwares not using the feature to save RAM memory space.

      This point mainly affects netX52 XIP firmwares.

        Attachments

          Issue Links

            Expenses

              Activity

                Status Description

                  People

                  • Reporter:
                    AMesser Andreas Messer
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    0 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved: