diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-04-25 14:56:16 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-04-25 14:56:16 +0000 |
commit | 756658a69a1abca61281b4dbd84a6dada9fc91b5 (patch) | |
tree | 2d39a47723556859d28761fd7d9336c811839d75 /ports | |
parent | a2a88226488db68ca8435a72ed608bf5ec9df464 (diff) | |
download | ChibiOS-756658a69a1abca61281b4dbd84a6dada9fc91b5.tar.gz ChibiOS-756658a69a1abca61281b4dbd84a6dada9fc91b5.tar.bz2 ChibiOS-756658a69a1abca61281b4dbd84a6dada9fc91b5.zip |
Improved test code, architecture names added to the port code.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@918 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'ports')
-rw-r--r-- | ports/ARM7/chcore.h | 5 | ||||
-rw-r--r-- | ports/ARMCM3/chcore.h | 5 | ||||
-rw-r--r-- | ports/AVR/chcore.h | 5 | ||||
-rw-r--r-- | ports/MSP430/chcore.h | 5 |
4 files changed, 20 insertions, 0 deletions
diff --git a/ports/ARM7/chcore.h b/ports/ARM7/chcore.h index 3dfef7d80..541207eef 100644 --- a/ports/ARM7/chcore.h +++ b/ports/ARM7/chcore.h @@ -41,6 +41,11 @@ #define CH_ARCHITECTURE_ARM7
/**
+ * Name of the implemented architecture.
+ */
+#define CH_ARCHITECTURE_NAME "ARM7TDMI"
+
+/**
* 32 bit stack alignment.
*/
typedef uint32_t stkalign_t;
diff --git a/ports/ARMCM3/chcore.h b/ports/ARMCM3/chcore.h index 5ef44a09f..e54f3ca64 100644 --- a/ports/ARMCM3/chcore.h +++ b/ports/ARMCM3/chcore.h @@ -89,6 +89,11 @@ #define CH_ARCHITECTURE_ARMCM3
/**
+ * Name of the implemented architecture.
+ */
+#define CH_ARCHITECTURE_NAME "ARM Cortex-M3"
+
+/**
* 32 bit stack alignment.
*/
typedef uint32_t stkalign_t;
diff --git a/ports/AVR/chcore.h b/ports/AVR/chcore.h index 30eb905fc..c70c5307e 100644 --- a/ports/AVR/chcore.h +++ b/ports/AVR/chcore.h @@ -43,6 +43,11 @@ #define CH_ARCHITECTURE_AVR
/**
+ * Name of the implemented architecture.
+ */
+#define CH_ARCHITECTURE_NAME "AVR"
+
+/**
* 8 bit stack alignment.
*/
typedef uint8_t stkalign_t;
diff --git a/ports/MSP430/chcore.h b/ports/MSP430/chcore.h index b7998371d..313108cde 100644 --- a/ports/MSP430/chcore.h +++ b/ports/MSP430/chcore.h @@ -43,6 +43,11 @@ #define CH_ARCHITECTURE_MSP430
/**
+ * Name of the implemented architecture.
+ */
+#define CH_ARCHITECTURE_NAME "MSP430"
+
+/**
* 16 bit stack alignment.
*/
typedef uint16_t stkalign_t;
|