How to add TFTP to a project?

If you have a simple question and just want an answer.
DemoniacMilk
XCore Addict
Posts: 191
Joined: Tue Jul 05, 2016 2:19 pm

How to add TFTP to a project?

Post by DemoniacMilk »

Hello,

lib_ethernet contains files for a basic tftp implementation that I would like to make use of.

I have added a tftp handler and application functions to my project but I didnt figure out how to include the tftp files in my project.

Simply including tftp.h results in an error (file not found), creating a seperate module for tftp does not work either: tftp.h is found but nettypes.h is not (a file that I could not find anywhere when searching for it).

How do I use the tftp functionality? Is there any example?

Thanks
DemoniacMilk
XCore Addict
Posts: 191
Joined: Tue Jul 05, 2016 2:19 pm

Post by DemoniacMilk »

Copying the tftp files to an external module including a nettypes.h found in the ethernet library did the job.