aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-08-24 12:25:41 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-08-24 12:25:41 +0000
commitc2d9fe8a0a4364cf2ea2aa3321f7882415d9326f (patch)
tree308b1de14d4ab80357e4e9adaeb440c669337341
parente28ed2cd55f4facd6639e540316481ec99e5f6e1 (diff)
downloadChibiOS-c2d9fe8a0a4364cf2ea2aa3321f7882415d9326f.tar.gz
ChibiOS-c2d9fe8a0a4364cf2ea2aa3321f7882415d9326f.tar.bz2
ChibiOS-c2d9fe8a0a4364cf2ea2aa3321f7882415d9326f.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4623 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/ports/IAR/ARMCMx/chtypes.h7
-rw-r--r--os/ports/RVCT/ARMCMx/chtypes.h6
-rw-r--r--readme.txt2
3 files changed, 8 insertions, 7 deletions
diff --git a/os/ports/IAR/ARMCMx/chtypes.h b/os/ports/IAR/ARMCMx/chtypes.h
index 36e24e5c7..221b2819b 100644
--- a/os/ports/IAR/ARMCMx/chtypes.h
+++ b/os/ports/IAR/ARMCMx/chtypes.h
@@ -61,15 +61,14 @@ typedef int32_t cnt_t; /**< Resources counter. */
/**
* @brief Packed structure modifier (within).
- * @note It uses the "packed" GCC attribute.
+ * @note Empty in this port.
*/
-#define PACK_STRUCT_STRUCT __attribute__((packed))
+#define PACK_STRUCT_STRUCT
/**
* @brief Packed structure modifier (before).
- * @note Empty in this port.
*/
-#define PACK_STRUCT_BEGIN
+#define PACK_STRUCT_BEGIN __packed
/**
* @brief Packed structure modifier (after).
diff --git a/os/ports/RVCT/ARMCMx/chtypes.h b/os/ports/RVCT/ARMCMx/chtypes.h
index b9baf2502..8619dcdfe 100644
--- a/os/ports/RVCT/ARMCMx/chtypes.h
+++ b/os/ports/RVCT/ARMCMx/chtypes.h
@@ -61,15 +61,15 @@ typedef int32_t cnt_t; /**< Resources counter. */
/**
* @brief Packed structure modifier (within).
- * @note It uses the "packed" GCC attribute.
+ * @note Empty in this port.
*/
-#define PACK_STRUCT_STRUCT __attribute__((packed))
+#define PACK_STRUCT_STRUCT
/**
* @brief Packed structure modifier (before).
* @note Empty in this port.
*/
-#define PACK_STRUCT_BEGIN
+#define PACK_STRUCT_BEGIN __packed
/**
* @brief Packed structure modifier (after).
diff --git a/readme.txt b/readme.txt
index 92f9faeae..b02ff4520 100644
--- a/readme.txt
+++ b/readme.txt
@@ -82,6 +82,8 @@
*****************************************************************************
*** 2.5.0 ***
+- FIX: Fixed packed structures macros not functional in IAR and RVCT port
+ (bug 3561279)(backported to 2.4.3 and 2.2.10).
- FIX: Fixed Problem in FatFs demos related to LFN (bug 3560980)(backported
to 2.4.3 and 2.2.10).
- FIX: Fixed problem in STM32 DMA1 stream1 IRQ handler (bug 3538468)