projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
STM32: RTC: add missing include
[bertos.git]
/
bertos
/
cfg
/
cfg_lwip.h
diff --git
a/bertos/cfg/cfg_lwip.h
b/bertos/cfg/cfg_lwip.h
index 7e3b40c96fbd19e8de169453b12a19f7380890e2..b6b55f65269d3df5bcc07c6073240abbb54a1d7c 100644
(file)
--- a/
bertos/cfg/cfg_lwip.h
+++ b/
bertos/cfg/cfg_lwip.h
@@
-133,8
+133,10
@@
/**
* MEM_ALIGNMENT: should be set to the alignment of the CPU
/**
* MEM_ALIGNMENT: should be set to the alignment of the CPU
+ * \verbatim
* 4 byte alignment -> #define MEM_ALIGNMENT 4
* 2 byte alignment -> #define MEM_ALIGNMENT 2
* 4 byte alignment -> #define MEM_ALIGNMENT 4
* 2 byte alignment -> #define MEM_ALIGNMENT 2
+ * \endverbatim
*/
#ifndef MEM_ALIGNMENT
#define MEM_ALIGNMENT 4
*/
#ifndef MEM_ALIGNMENT
#define MEM_ALIGNMENT 4
@@
-701,12
+703,16
@@
/** DNS_LOCAL_HOSTLIST: Implements a local host-to-address list. If enabled,
* you have to define
/** DNS_LOCAL_HOSTLIST: Implements a local host-to-address list. If enabled,
* you have to define
+ * \code
* #define DNS_LOCAL_HOSTLIST_INIT {{"host1", 0x123}, {"host2", 0x234}}
* #define DNS_LOCAL_HOSTLIST_INIT {{"host1", 0x123}, {"host2", 0x234}}
+ * \endcode
* (an array of structs name/address, where address is an u32_t in network
* byte order).
*
* Instead, you can also use an external function:
* (an array of structs name/address, where address is an u32_t in network
* byte order).
*
* Instead, you can also use an external function:
+ * \code
* #define DNS_LOOKUP_LOCAL_EXTERN(x) extern u32_t my_lookup_function(const char *name)
* #define DNS_LOOKUP_LOCAL_EXTERN(x) extern u32_t my_lookup_function(const char *name)
+ * \endcode
* that returns the IP address or INADDR_NONE if not found.
*/
#ifndef DNS_LOCAL_HOSTLIST
* that returns the IP address or INADDR_NONE if not found.
*/
#ifndef DNS_LOCAL_HOSTLIST
@@
-1211,11
+1217,13
@@
#endif
/**
#endif
/**
- * Enable POSIX-style sockets functions names.
- *
- *
$WIZ$ type = "boolean"
+ *
LWIP_POSIX_SOCKETS_IO_NAMES==1:
Enable POSIX-style sockets functions names.
+ *
Disable this option if you use a POSIX operating system that uses the same
+ *
names (read, write & close). (only used if you use sockets.c)
*/
*/
-#define LWIP_POSIX_SOCKETS_IO_NAMES 1
+#ifndef LWIP_POSIX_SOCKETS_IO_NAMES
+#define LWIP_POSIX_SOCKETS_IO_NAMES 0
+#endif
/**
* LWIP_TCP_KEEPALIVE==1: Enable TCP_KEEPIDLE, TCP_KEEPINTVL and TCP_KEEPCNT
/**
* LWIP_TCP_KEEPALIVE==1: Enable TCP_KEEPIDLE, TCP_KEEPINTVL and TCP_KEEPCNT