X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fsam3x-ek%2Fexamples%2Fsam3x-ek_http_server%2Fcfg%2Fcfg_http.h;fp=boards%2Fsam3x-ek%2Fexamples%2Fsam3x-ek_http_server%2Fcfg%2Fcfg_http.h;h=0aba5f027b3e2680334e6a5ecda382df5f3b4543;hb=567b81d9dd3bd0a0cd8df4a3d464b3273576fe73;hp=0000000000000000000000000000000000000000;hpb=710780c30a26bdbdebe3e92b6fde1af0b04a91a3;p=bertos.git diff --git a/boards/sam3x-ek/examples/sam3x-ek_http_server/cfg/cfg_http.h b/boards/sam3x-ek/examples/sam3x-ek_http_server/cfg/cfg_http.h new file mode 100644 index 00000000..0aba5f02 --- /dev/null +++ b/boards/sam3x-ek/examples/sam3x-ek_http_server/cfg/cfg_http.h @@ -0,0 +1,64 @@ +/** + * \file + * + * + * \brief Configuration file for the HTTP module. + * + * \author Daniele Basile + */ + +#ifndef CFG_HTTP_H +#define CFG_HTTP_H + +/** + * Module logging level. + * + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_level" + */ +#define HTTP_LOG_LEVEL LOG_LVL_INFO + +/** + * Module logging format. + * + * $WIZ$ type = "enum" + * $WIZ$ value_list = "log_format" + */ +#define HTTP_LOG_FORMAT LOG_FMT_VERBOSE + +/** + * Default start page to load + * + * $WIZ$ type = "str" + */ +#define HTTP_DEFAULT_PAGE "index.htm" + +#endif /* CFG_HTTP_H */