Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 3.03.00

Below is a summary of all directories and files involved in the µC/TCP-IP stack. The ‘<-Cfg’ on the far right indicates that these files are typically copied into the application (i.e., project) directory and edited based on project requirements.

Code Block
\Micrium
    \Examples
            \<manufacturer>
                \<board_name>
                    \<project_name>
                        \<compiler>
                        \*.*
    \Software
        \uC-TCPIP
            \BSP
                \Template
                    \net_bsp_ether.c
                    \net_bsp_ether.h
                    \net_bsp_wifi.c
                    \net_bsp_wifi.h
            \Cfg
                \Template
                    \net_cfg.c                       <-Cfg
                    \net_cfg.h                       <-Cfg
                    \net_dev_cfg.c                   <-Cfg
                    \net_dev_cfg.h                   <-Cfg    
            \Cmd
                \net_cmd.c
                \net_cmd.h
                \net_cmd_args_parser.c
                \net_cmd_args_parser.h
                \net_cmd_output.c
                \net_cmd_output.h
            \Dev
                \Ether
                    \<controller>
                        \net_dev_<controller>.c
                        \net_dev_<controller>.h
                    \PHY
                        \controller>
                            \net_phy_<controller>.c
                            \net_phy_<controller>.h
                        \Generic
                            \net_phy.c
                            \net_phy.h
                \WiFi
                    \<controller>
                        \net_dev_<controller>.c
                        \net_dev_<controller>.h
                    \Manager
                        \Generic
                            \net_wifi_mgr.c
                            \net_wifi_mgr.h
            \Examples
				\Init
					init_ether.c
					init_multiple_if.c
					init_wifi.c
                \Socket
                    tcp_client.c
                    tcp_server.c
                    udp_client.c
                    udp_server.c
				\TLS-SSL
					client_secure.c
					server_secure.c
			\IF
                \net_if.c
                \net_if.h
                \net_if_802x.c
                \net_if_802x.h
                \net_if_ether.c
                \net_if_ether.h
                \net_if_wifi.c
                \net_if_wifi.h
                \net_if_loopback.c
                \net_if_loopback.h
            \IP
                \IPv4
                    \net_arp.c
                    \net_arp.h
                    \net_icmpv4.c
                    \net_imcpv4.h
                    \net_igmp.c
                    \net_igmp.h
                    \net_ipv4.c
                    \net_ipv4.h 
                \IPv6
                    \net_icmpv6.c
                    \net_icmpv6.h
                    \net_ipv6.c
                    \net_ipv6.h
                    \net_mldp.c
                    \net_mldp.h
                    \net_ndp.c
                    \net_ndp.h
            \Modules
                \Common
                    \net_base64.c
                    \net_base64.h
                    \net_sha1.c
                    \net_sha1.h
            \Ports
                \<architecture>
                    \<compiler>
                        \net_util_a.asm
            \Secure
                net_secure.h
                \<security_suite_name>
                    \net_secure_<suite_name>.c
                    \net_secure_<suite_name>.h
            \Source
                \net.c
                \net.h
                \net_app.c
                \net_app.h
                \net_ascii.c
                \net_ascii.h
                \net.bsd.c
                \net.bsd.h
                \net.buf.c
                \net.buf.h
                \net_cache.c
                \net_cache.h
                \net_cfg_net.h
                \net_conn.c
                \net_conn.h
                \net_ctr.c
                \net_ctr.h
                \net_def.h
                \net_err.h
                \net_icmp.c
                \net_icmp.h
                \net_ip.c
                \net_ip.h
                \net_mgr.c
                \net_mgr.h
                \net_sock.c
                \net_sock.h
                \net_stat.c
                \net_stat.h
                \net_tcp.c
                \net_tcp.h
                \net_tmr.c
                \net_tmr.h
                \net_type.h
                \net_udp.c
                \net_udp.h
                \net_util.c
                \net_util.h

...

This is the main directory for the µC/TCP-IP code. 

BSP

\BSP\Template

This directory contains templates files, where functions might need to be implemented. See the section Network Board Support Package for further information.

Configuration

\Cfg

This directory contains configuration template file that must be copied to your project and modified following our requirements. See the section Configuration for further information.

Anchor
Shell Commands
Shell Commands
Shell Commands

\Cmd

This directory contains the function that can be called from the command shell. This directory should be added to the project only if µC/Shell is present and network command must be added to this module. 

See the following document for further information :

µC/Shell Documentation

Devices

Only the driver for your network controller(s) should be added to your project. 

...

This directory contains interface-specific files. Currently, µC/TCP-IP only supports three type of interfaces, Ethernet, wireless and loopback. The Ethernet and wireless interface-specific files are found in the following directories:

\IF

This is the main directory for network interfaces.

...