Added support for the FTP standalone client to the atari target.

This commit is contained in:
oliverschmidt 2010-10-16 11:42:40 +00:00
parent abe360e9fb
commit f4e2c41c76
3 changed files with 23 additions and 2 deletions

View file

@ -0,0 +1 @@
DEFINES = WITH_CLIENT,WITH_DNS,WITH_GUI

View file

@ -30,7 +30,7 @@
* *
* Author: Oliver Schmidt <ol.sc@web.de> * Author: Oliver Schmidt <ol.sc@web.de>
* *
* $Id: contiki-conf.h,v 1.2 2010/10/01 20:27:06 oliverschmidt Exp $ * $Id: contiki-conf.h,v 1.3 2010/10/16 11:42:40 oliverschmidt Exp $
*/ */
#ifndef __CONTIKI_CONF_H__ #ifndef __CONTIKI_CONF_H__
@ -52,6 +52,9 @@
#define EMAIL_CONF_HEIGHT 19 #define EMAIL_CONF_HEIGHT 19
#define EMAIL_CONF_ERASE 0 #define EMAIL_CONF_ERASE 0
#define FTP_CONF_WIDTH 18
#define FTP_CONF_HEIGHT 21
#define IRC_CONF_WIDTH 40 #define IRC_CONF_WIDTH 40
#define IRC_CONF_HEIGHT 23 #define IRC_CONF_HEIGHT 23

View file

@ -30,7 +30,7 @@
* *
* Author: Oliver Schmidt <ol.sc@web.de> * Author: Oliver Schmidt <ol.sc@web.de>
* *
* $Id: contiki-main.c,v 1.2 2010/10/02 22:07:24 oliverschmidt Exp $ * $Id: contiki-main.c,v 1.3 2010/10/16 11:42:40 oliverschmidt Exp $
*/ */
#include "contiki-net.h" #include "contiki-net.h"
@ -56,6 +56,23 @@ PROCINIT(&etimer_process,
RESOLV_PROCESS RESOLV_PROCESS
&tcpip_process); &tcpip_process);
/*-----------------------------------------------------------------------------------*/
void * __fastcall__
opendir(void *)
{
return NULL;
}
/*-----------------------------------------------------------------------------------*/
void * __fastcall__
readdir(void *)
{
return NULL;
}
/*-----------------------------------------------------------------------------------*/
void __fastcall__
closedir(void *)
{
}
/*-----------------------------------------------------------------------------------*/ /*-----------------------------------------------------------------------------------*/
void void
main(void) main(void)