Versions Compared

Key

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

...

Anchor10425331042533 Directories and Files Anchor10432141043214 The code and documentation of the µC/TFTPc module are organized in a directory structure according to “AN-2002, µC/OS-II Directory Structure”. Specifically, the files may be found in the following directories: Anchor10429981042998 \Micrium\Software\uC-TFTPc Anchor10429991042999 This is the main directory for µC/TFTPc. Anchor10430001043000This section discusses the modules available for μC/TFTPc, and how they all fit together. A Windows®-based development platform is assumed. The directories and files make references to typical Windows-type directory structures. However, since μC/TFTPc is available in source form, it can also be used with any ANSI-C compatible compiler/linker and Operating System.

Below is a summary of all directories and files involved in the µC/TFTPc module. 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
	\Software
		\uC-TFTPc
			\Cfg
				\Template
					tftp-c_cfg.c	<-Cfg
					tftp-c_cfg.h	<-Cfg
			\Source
				tftp-c.c
				tftp-c.h
				tftp-c_type.h

 

\Micrium\Software\uC-TFTPc

...

Anchor10430011043001 This directory contains all This is the main directory for µC/TFTPc documentation files, including this user’s manual.

Anchor1043002 1043002

\Micrium\Software\uC-TFTPc\Cfg\Template

...

This directory contains a template of µC/TFTPc configuration.

anchor 10430041043004

\Micrium\Software\uC-TFTPc\Source

Anchor10436101043610This directory contains the µC/TFTPc source code. This protocol is implemented in two three FS independent files: Anchor10436111043611

tftp-c.c
tftp-c.h

...

tftp-c_type.h

Note that the ‘-c’ after ‘tftp’ c’ after ‘tftpstands for client and thus contains ‘client’ side code. Anchor10430111043011 \Micrium\Software\uC-TFTPc\FS\Template Anchor10430121043012 \Micrium\Software\uC-TFTPc\FS\uC-FS-V2 Anchor10433901043390 \Micrium\Software\uC-TFTPc\FS\uC-FS-V3 Anchor10434091043409 \Micrium\Software\uC-TFTPc\FS\uC-FS-V4 Anchor10434501043450 This is where file system (FS) dependent code is located. µC/TFTPc is distributed with ports for several µC/FS versions. Note that it would be possible to use µC/TFTPc with other file systems by developing appropriate apps_fs.* implementation files. Anchor10435181043518

Required modules

...

µC/TFTPc requires the µC/CPU, µC/LIB, µC/Common and µC/TCP-IP modules. Please refer to the µC/TFTPc release notes document for required version information.