aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-06-19 13:14:32 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-06-19 13:14:32 +0000
commit3d8180d95a02c876aa9de65a3364fd5de6657bc7 (patch)
tree613e8ec18785b201e06650748a2835ea23b25086
parent1a5246e99628e0c5763f01ef388c93c6c3535542 (diff)
downloadChibiOS-3d8180d95a02c876aa9de65a3364fd5de6657bc7.tar.gz
ChibiOS-3d8180d95a02c876aa9de65a3364fd5de6657bc7.tar.bz2
ChibiOS-3d8180d95a02c876aa9de65a3364fd5de6657bc7.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@319 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--demos/Win32-MinGW/chtypes.h3
-rw-r--r--ports/ARM7/chtypes.h3
-rw-r--r--ports/ARMCM3/chtypes.h3
-rw-r--r--ports/AVR/chtypes.h3
-rw-r--r--ports/MSP430/chtypes.h3
-rw-r--r--readme.txt6
-rw-r--r--src/templates/chtypes.h3
7 files changed, 23 insertions, 1 deletions
diff --git a/demos/Win32-MinGW/chtypes.h b/demos/Win32-MinGW/chtypes.h
index 2fd609b1f..0b74459bc 100644
--- a/demos/Win32-MinGW/chtypes.h
+++ b/demos/Win32-MinGW/chtypes.h
@@ -40,5 +40,8 @@ typedef uint32_t systime_t;
typedef int32_t cnt_t;
#define INLINE inline
+#define PACK_STRUCT_STRUCT __attribute__((packed))
+#define PACK_STRUCT_BEGIN
+#define PACK_STRUCT_END
#endif /* _CHTYPES_H_ */
diff --git a/ports/ARM7/chtypes.h b/ports/ARM7/chtypes.h
index 1a5d9000d..21ee1c045 100644
--- a/ports/ARM7/chtypes.h
+++ b/ports/ARM7/chtypes.h
@@ -40,5 +40,8 @@ typedef uint32_t systime_t;
typedef int32_t cnt_t;
#define INLINE inline
+#define PACK_STRUCT_STRUCT __attribute__((packed))
+#define PACK_STRUCT_BEGIN
+#define PACK_STRUCT_END
#endif /* _CHTYPES_H_ */
diff --git a/ports/ARMCM3/chtypes.h b/ports/ARMCM3/chtypes.h
index 1a5d9000d..21ee1c045 100644
--- a/ports/ARMCM3/chtypes.h
+++ b/ports/ARMCM3/chtypes.h
@@ -40,5 +40,8 @@ typedef uint32_t systime_t;
typedef int32_t cnt_t;
#define INLINE inline
+#define PACK_STRUCT_STRUCT __attribute__((packed))
+#define PACK_STRUCT_BEGIN
+#define PACK_STRUCT_END
#endif /* _CHTYPES_H_ */
diff --git a/ports/AVR/chtypes.h b/ports/AVR/chtypes.h
index dfcc90a04..6e08d93f1 100644
--- a/ports/AVR/chtypes.h
+++ b/ports/AVR/chtypes.h
@@ -40,5 +40,8 @@ typedef uint16_t systime_t;
typedef int8_t cnt_t;
#define INLINE inline
+#define PACK_STRUCT_STRUCT __attribute__((packed))
+#define PACK_STRUCT_BEGIN
+#define PACK_STRUCT_END
#endif /* _CHTYPES_H_ */
diff --git a/ports/MSP430/chtypes.h b/ports/MSP430/chtypes.h
index e1fc14ef6..319b9714e 100644
--- a/ports/MSP430/chtypes.h
+++ b/ports/MSP430/chtypes.h
@@ -45,6 +45,9 @@ typedef uint16_t systime_t; /* System Time, recommended fastest unsigned
typedef int16_t cnt_t; /* Counter, recommended fastest signed.*/
#define INLINE inline
+#define PACK_STRUCT_STRUCT __attribute__((packed))
+#define PACK_STRUCT_BEGIN
+#define PACK_STRUCT_END
#endif /* _CHTYPES_H_ */
diff --git a/readme.txt b/readme.txt
index baf54330f..d0497ff24 100644
--- a/readme.txt
+++ b/readme.txt
@@ -61,18 +61,22 @@ Win32-MinGW - ChibiOS/RT simulator and demo into a WIN32 process,
order to allow linking with non-GLP code under certain conditions.
The license change will happen before the 1.0.0 release, we are almost
there, everything looks very stable now.
-- Look into importing *or* implementing a TCP/IP stack and a File System.
- Evaluate other architectures for a possible ChibiOS/RT port. An important
selection parameter will be the availability of FOSS toolchains. Currently
we are evaluating the MicroBlaze.
- Creation of a reduced ChibiOS/RT kernel targeted to lesser 8bit micros and
educational purposes, the name will probably be ChibiOS/SX, we are still
discussing it.
+- File System implementation as side project. Basic requirements: Thread safe,
+ concurrent accesses, proper buffers cache.
*****************************************************************************
*** Releases ***
*****************************************************************************
+*** 0.6.6 ***
+- Added the definitions for packed structures to the chtypes.h files.
+
*** 0.6.5 ***
- NEW: Web server demo for the AT91SAM7X256, the demo integrates the uIP
stack and its demo applications.
diff --git a/src/templates/chtypes.h b/src/templates/chtypes.h
index b333c1a49..6c51687ad 100644
--- a/src/templates/chtypes.h
+++ b/src/templates/chtypes.h
@@ -45,6 +45,9 @@ typedef uint32_t systime_t; /* System Time, recommended fastest unsigned
typedef int32_t cnt_t; /* Counter, recommended fastest signed.*/
#define INLINE inline
+#define PACK_STRUCT_STRUCT __attribute__((packed))
+#define PACK_STRUCT_BEGIN
+#define PACK_STRUCT_END
#endif /* _CHTYPES_H_ */