Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

As indicated in the Figure - µC/HTTPs Source Code, all the files in the Source folder must be added to your project tree. Furthermore, all the files in the chosen File System type folder must be added to your project tree. Finally, http-s_os.c file of the selected RTOS must be added as well as the generic http-s_os.h file that can be found in the OS folder. 

AfterFor the file system, µC/HTTPs uses the network file system layer included with µC/TCP-IP located inside the uC-TCPIP/FS folder. Therefore, the file net_fs.h inside this folder must be include to your project, no matter what file system your HTTP server is using.

If a conventional file system is used, the port should be located also inside the uC-TCPIP/FS folder. A port for the µC/FS-V4 file system is already included in this folder. If a file system other than µC/FS is used, a port template is available inside the uC-TCPIP/FS/Template folder to be customize according to your file system.
 

If the Static file system is used, the port for this file system is located inside uC/HTTPs. Therefore, the source files http-s_fs_static.c/.h must be include to your project. They are located inside theMicrium/Software/uC-HTTPs/FS/Static folder. Furthermore, The configuration file template http-s_fs_static_cfg.h must be copied in your application directory. This configuration file can be retrieve inside the Micrium/Software/uC-HTTPs/FS/Static/Cfg/Template folder.

Finally, add the following include paths to your project’s C compiler settings:

\Micrium\Software\uC-HTTPs
\Micrium\Software\uC-HTTPs\OS\<OS type>\Micrium\Software\uC-HTTPs\FS\<File System type >

Copying and Modifying Template Files

...