aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-01-13 13:21:32 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-01-13 13:21:32 +0000
commitc1883b77595e416c8693a60fb370a6b78d4aadf5 (patch)
tree0b51bb0faa5da84e08e6e11a014a4d3965d81e3c
parentcc9ea9cdb6fc4e5d61d78d163650fca58a16bae8 (diff)
downloadChibiOS-c1883b77595e416c8693a60fb370a6b78d4aadf5.tar.gz
ChibiOS-c1883b77595e416c8693a60fb370a6b78d4aadf5.tar.bz2
ChibiOS-c1883b77595e416c8693a60fb370a6b78d4aadf5.zip
Fixed bug #814.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10044 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/various/lwip_bindings/arch/cc.h3
-rw-r--r--readme.txt2
2 files changed, 5 insertions, 0 deletions
diff --git a/os/various/lwip_bindings/arch/cc.h b/os/various/lwip_bindings/arch/cc.h
index eb47666dd..18c2b3635 100644
--- a/os/various/lwip_bindings/arch/cc.h
+++ b/os/various/lwip_bindings/arch/cc.h
@@ -68,7 +68,10 @@ typedef uint32_t mem_ptr_t;
osalSysHalt(x); \
}
+#ifndef BYTE_ORDER
#define BYTE_ORDER LITTLE_ENDIAN
+#endif
+
#define LWIP_PROVIDE_ERRNO
#endif /* __CC_H__ */
diff --git a/readme.txt b/readme.txt
index dcb5f1a72..64fb73fbf 100644
--- a/readme.txt
+++ b/readme.txt
@@ -153,6 +153,8 @@
- RT: Merged RT4.
- NIL: Merged NIL2.
- NIL: Added STM32F7 demo.
+- VAR: Fixed BYTE_ORDER redefined in lwip_bindings/arch/cc.h (bug #814)
+ (backported to 16.1.7).
- HAL: Fixed setting alternate mode in STM32 GPIOv3 and GPIOv3 drivers can fail
(bug #813)(backported to 16.1.7).
- HAL: Fixed incorrect handling of shared ISRs in STM32 DMAv1 driver