Download FreeRTOS
 

Quality RTOS & Embedded Software

LIBRARIES
WHAT'S NEW
FreeRTOS-Plus-TCP now has unified IPv4 and IPv6 functionalities and multi-interface support.
Achieving Unbrickable MCU FOTA for your FreeRTOS-powered Firmware:
FreeRTOS 202012 LTS end of support announced.
FreeRTOS website now available in Simplified Chinese
New FreeRTOS Long Term Support version now available.

FreeRTOS_AddNetworkInterface()

[Ethernet Driver Porting API]

FreeRTOS_Routing.h
NetworkInterface_t * FreeRTOS_AddNetworkInterface( NetworkInterface_t * pxInterface );

FreeRTOS_AddNetworkInterface() is used to add a new physical Network Interface. The object pointed to by 'pxInterface' must continue to exist. Only the Network Interface function px${port_name}_FillInterfaceDescriptor() should call this function.

Parameters:

pxInterface
The address of the new interface. This object must continue to exist even after px${port_name}_FillInterfaceDescriptor()

Returns:
The pointer that points to interface itself.

Example usage:
Examples are provided on the Porting FreeRTOS to a Different Microcontroller page. Search for FreeRTOS_AddNetworkInterface() on that page to find example source code.

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.