tftp: added example for tftp client

Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
This commit is contained in:
Simon Goldschmidt
2018-10-17 21:39:37 +02:00
parent 0ee4784d0c
commit f098c4515e
5 changed files with 62 additions and 9 deletions

View File

@@ -66,6 +66,7 @@
* otherwise the raw api server will be used. */
/*#define LWIP_TCPECHO_APP_NETCONN */
#define LWIP_TFTP_APP 0
#define LWIP_TFTP_CLIENT_APP 0
#define LWIP_UDPECHO_APP 0
#define LWIP_LWIPERF_APP 0

View File

@@ -62,6 +62,7 @@
* otherwise the raw api server will be used. */
/*#define LWIP_TCPECHO_APP_NETCONN */
#define LWIP_TFTP_APP 1
#define LWIP_TFTP_CLIENT_APP 1
#define LWIP_UDPECHO_APP 1
#define LWIP_LWIPERF_APP 1

View File

@@ -576,7 +576,10 @@ apps_init(void)
sntp_example_init();
#endif
#if LWIP_TFTP_APP
tftp_example_init();
tftp_example_init_server();
#endif
#if LWIP_TFTP_CLIENT_APP
tftp_example_init_client();
#endif
#if LWIP_LWIPERF_APP
lwiperf_example_init();