Embedded TCP/IP stack  3.9.4
Platform-Specific Configuration Parameters

Compiler-specific default configuration file. More...

Detailed Description

Compiler-specific default configuration file.

Default platform-specific configuration.

This section describes the platform-specific parameters of the FNET TCP/IP stack.
The user may override and change the default values in the application-specific configuration file fnet_user_config.h.

Modules

 Ethernet Module Configuration Parameters
 
 ColdFire Platform Configuration Parameters
 ColdFire specific default configuration file.
 

Macros

#define FNET_CFG_COMP_compiler_type
 This is the set of the FNET_CFG_COMP_[compiler_type] definitions that define a currently used compiler.
Current version of the FNET supports the following compiler definitions: More...
 
#define FNET_CFG_CPU_processor_type
 This is the set of the FNET_CFG_CPU_[processor_type] definitions that define a currently used processor.
Current version of the FNET supports the following processor definitions: More...
 
#define FNET_CFG_CPU_LITTLE_ENDIAN
 Byte order is: More...
 
#define FNET_CFG_CPU_CLOCK_HZ
 System frequency in Hz.
This parameter used by FNET for correct initialization of Ethernet, Serial and Timer modules.
The CPU system clock initialization must be done by user-application startup code. More...
 
#define FNET_CFG_CPU_SERIAL_PORT_DEFAULT
 Defines the default serial port number.

. More...

 
#define FNET_CFG_CPU_VECTOR_TABLE
 Vector table address.
For Kinetis platform, it is used the NVIC vector table register (VTOR). For other platforms, the symbol should be defined in the linker file. More...
 
#define FNET_CFG_CPU_TIMER_NUMBER_MAX
 Maximum Timer number that is avaiable on the used platform. For example, if the platform has only one timer, it should be set to zero
For Coldfire and Kinetis it is set to 3. For MPC it is set to 7.

NOTE: It's ignored for MCF V1. User application should not change this parameter.

. More...

 
#define FNET_CFG_CPU_VECTOR_PRIORITY_MAX
 The maximum the value that can be set to interrupt piority.

. More...

 
#define FNET_CFG_CPU_TIMER_NUMBER
 Timer number used by the FNET. It can range from 0 to FNET_CFG_CPU_TIMER_NUMBER_MAX. By default it set to the FNET_CFG_CPU_TIMER_NUMBER_MAX value.

NOTE: It's ignored for MCF V1.

. More...

 
#define FNET_CFG_CPU_TIMER_VECTOR_PRIORITY   (3u)
 Default Interrupt priority level for a timer used by the FNET. It can range from 1 to FNET_CFG_CPU_VECTOR_PRIORITY_MAX. The higher the value, the greater the priority of the corresponding interrupt.

NOTE: It's ignored for MCF V1.

. More...

 
#define FNET_CFG_CPU_CACHE
 Data Cache: More...
 
#define FNET_CFG_CPU_CACHE_INVALIDATE
 Cache invalidation in runtime: More...
 
#define FNET_CFG_CPU_FLASH
 On-chip Flash Module: More...
 
#define FNET_CFG_CPU_FLASH_ADDRESS
 On-chip Flash memory start address.
It is not used by the FNET, but can be useful for an application. More...
 
#define FNET_CFG_CPU_FLASH_SIZE
 On-chip Flash memory size (in bytes).
It is not used by the FNET stack, but can be useful for an application.

NOTE: User application should not change this parameter. More...
 
#define FNET_CFG_CPU_FLASH_PAGE_SIZE
 Erase-page size of the on-chip Flash memory (in bytes).
Flash logical blocks are divided into multiple logical pages that can be erased separately.
It is not possible to read from any flash logical block while the same logical block is being erased, programmed, or verified.

NOTE: User application should not change this parameter. More...
 
#define FNET_CFG_CPU_FLASH_PROGRAM_SIZE
 Size of block that can be written to the on-chip Flash memory (in bytes).
For MCF and K60 it is set to 4. For K70 it is set to 8.

NOTE: User application should not change this parameter. More...
 
#define FNET_CFG_CPU_FLASH_VERIFY
 Verification of data written to the Flash memory by fnet_cpu_flash_write(): More...
 

© 2005-2017 by Andrey Butok. http://fnet.sourceforge.net