Directories and Files
This 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.
\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
This is the main directory for µC/TFTPc.
\Micrium\Software\uC-TFTPc\Cfg\Template
This directory contains a template of µC/TFTPc configuration.
\Micrium\Software\uC-TFTPc\Source
This directory contains the µC/TFTPc source code. This protocol is implemented in three FS independent files:
tftp-c.c
tftp-c.h
tftp-c_type.h
Note that the ‘-c
’ after ‘tftp
’ stands for client and thus contains ‘client’ side code.
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.