Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

µC/TCP-IP is configurable at compile time via approximately 70 50 #defines in the application’s net_cfg.h file. µC/TCP-IP uses #defines because they allow code and data sizes to be scaled at compile time based on enabled features and the configured number of network objects. This allows the ROM and RAM footprints of µC/TCP-IP to be adjusted based on application requirements.

...

The sections in this chapter are organized following the order in µC/TCP-IP's template configuration file, net_cfg.h.

Task Queue Configuration

ConstantDescriptionPossible Values
NET_CFG_IF_RX_Q_SIZE  
NET_CFG_IF_TX_DEALLOC_Q_SIZE  

Compile Features

ConstantDescriptionPossible Values
NET_CFG_OPTIMIZE_ASM_EN

Select portions of µC/TCP-IP code may call optimized assembly functions by configuring NET_CFG_OPTIMIZE_ASM_EN to DEF_ENABLED.

If optimized assembly files/functions are included in the µC/TCP-IP build set NET_CFG_OPTIMIZE_ASM_EN to DEF_NEABLED.

Set to DEF_DISABLED otherwise.

DEF_ENABLED or DEF_DISABLED

...

Address Resolution Protocol (ARP)

ARP is only required with IPv4used when the IPv4 stack is enabled.

ConstantDescriptionPossible Values
NET_ARP_CFG_CACHE_NBRConfigures the number of ARP cache entries. 

Neighbor Discovery Protocol (NDP)

NDPis only required with IPv6NDP is only used when the IPv6 stack is enabled.

ConstantDescriptionPossible Values
NET_NDP_CFG_CACHE_NBR  
NET_NDP_CFG_DEST_NBR  
NET_NDP_CFG_PREFIX_NBR  
NET_NDP_CFG_ROUTER_NBR  

...