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.

TM4C1294KCPDT: Porting firmware from Stellaris to Tiva that uses upnp.h/.c in Stellariswase

Part Number: TM4C1294KCPDT


I'm working on parting firmware from Stellarisware to Tivaware.  The Stellaris firmware uses the upnp.c/.h files in Stellarisware, but I can't find the equivalent files in Tivaware.

It looks like I could almost use the upnp files from Stellaris in Tiva, except for this function that enables ethernet multicast reception.  I can't find the equivalent setting on the Tiva ethernet controller.

//*****************************************************************************
//
//! Initializes the UPnP session for the Serial to Ethernet Module.
//!
//! This function initializes and configures the UPnP session for the module.
//!
//! \return None.
//
//*****************************************************************************
void
UPnPInit(void)
{
    unsigned long ulTemp;

    //
    // Enable Ethernet Multicast Reception (required for UPnP operation).
    //
    ulTemp = MAP_EthernetConfigGet(ETH_BASE);
    ulTemp |= ETH_CFG_RX_AMULEN;
    MAP_EthernetConfigSet(ETH_BASE, ulTemp);

    //
    // Set up the ports required to listen for discovery and location
    // requests.
    //
    UPnPStart();
}