Directories and files
This section discusses the modules available for μC/TFTPs, 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/TFTPs 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/TFTPs 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.
\Micrium \Software \uC-TFTPs \Cfg \Template tftp-s_cfg.c tftp-s_cfg.h \Source tftp-s.c tftp-s.h tftp-s_type.h
\Micrium\Software\uC-TFTPs
This is the main directory for µC/TFTPs.
\Micrium\Software\uC-TFTPs\Cfg\Template
This directory contains templates of µC/TFTPs configuration files.
\Micrium\Software\uC-TFTPs\Source
This directory contains the µC/TFTPs source code. This protocol is implemented in two OS and FS independent files:
tftp-s.c
tftp-s.h
tftp-s_type.h
Note that the ‘-s
’ after ‘tftp
’ stands for server and thus contains ‘server’ side code.
Required modules
µC/TFTPs requires the µC/CPU, µC/LIB, and µC/TCP-IP modules. Please refer to the µC/TFTPs release notes document for required version information.