[En-Nut-Discussion] Webserver via SD-Card

Harald Kipp harald.kipp at egnite.de
Wed Apr 27 10:34:18 CEST 2011


Hi Werner,

On 4/27/2011 10:18 AM, Werner Landsperger wrote:

> I'm searching an example to build an webserver (httpserv) which using files
> from the SD-card.

Quite easy. Edit app/httpd/httpserv.c in the nutapp sample tree you 
created with the Configurator and uncomment the USE_PHAT define.

  /* Wether to use PHAT file system. */
  #define USE_PHAT

Alternatively add

HWDEF+=-DUSE_PHAT

to nutapp/UserConf.mk.

Regards,

Harald



More information about the En-Nut-Discussion mailing list