aboutsummaryrefslogtreecommitdiffstats
path: root/os/various/lwip_bindings/arch
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-10-07 12:43:22 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-10-07 12:43:22 +0000
commitb7ac5f4236f1cc55078aeaf99be2c2f941199ca9 (patch)
treee7f131af91fd94b836fe9d6069402c1dd8f97e17 /os/various/lwip_bindings/arch
parent29390f2dfed7323498b1f83dcdc8219d6861d6e4 (diff)
downloadChibiOS-b7ac5f4236f1cc55078aeaf99be2c2f941199ca9.tar.gz
ChibiOS-b7ac5f4236f1cc55078aeaf99be2c2f941199ca9.tar.bz2
ChibiOS-b7ac5f4236f1cc55078aeaf99be2c2f941199ca9.zip
lwIP 2.0.3 integrated
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10790 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/various/lwip_bindings/arch')
-rw-r--r--os/various/lwip_bindings/arch/cc.h22
1 files changed, 2 insertions, 20 deletions
diff --git a/os/various/lwip_bindings/arch/cc.h b/os/various/lwip_bindings/arch/cc.h
index 4c1d4f379..50c677a03 100644
--- a/os/various/lwip_bindings/arch/cc.h
+++ b/os/various/lwip_bindings/arch/cc.h
@@ -53,28 +53,10 @@
#include <hal.h>
-typedef uint8_t u8_t;
-typedef int8_t s8_t;
-typedef uint16_t u16_t;
-typedef int16_t s16_t;
-typedef uint32_t u32_t;
-typedef int32_t s32_t;
-typedef uint32_t mem_ptr_t;
-
-#define PACK_STRUCT_STRUCT __attribute__((packed))
-
-#ifndef BYTE_ORDER
-#define BYTE_ORDER LITTLE_ENDIAN
-#endif
+/* Use errno provided by system. */
+#define LWIP_ERRNO_INCLUDE <errno.h>
/**
- * @brief Use lwIP provided error codes by default.
- */
-#ifndef LWIP_PROVIDE_ERRNO
-#define LWIP_PROVIDE_ERRNO 1
-#endif
-
-/**
* @brief Use system provided struct timeval by default.
*/
#ifndef LWIP_TIMEVAL_PRIVATE