From c1883b77595e416c8693a60fb370a6b78d4aadf5 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Fri, 13 Jan 2017 13:21:32 +0000 Subject: Fixed bug #814. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10044 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/various/lwip_bindings/arch/cc.h | 3 +++ readme.txt | 2 ++ 2 files changed, 5 insertions(+) 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 -- cgit v1.2.3