aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms')
-rw-r--r--os/hal/platforms/AT91SAM7/hal_lld.h5
-rw-r--r--os/hal/platforms/AVR/hal_lld.h5
-rw-r--r--os/hal/platforms/LPC214x/hal_lld.h5
-rw-r--r--os/hal/platforms/Linux/hal_lld.h5
-rw-r--r--os/hal/platforms/MSP430/hal_lld.h5
-rw-r--r--os/hal/platforms/SPC563/hal_lld.h5
-rw-r--r--os/hal/platforms/STM32/hal_lld.h5
-rw-r--r--os/hal/platforms/Win32/hal_lld.h5
8 files changed, 40 insertions, 0 deletions
diff --git a/os/hal/platforms/AT91SAM7/hal_lld.h b/os/hal/platforms/AT91SAM7/hal_lld.h
index 958353702..70b62e31c 100644
--- a/os/hal/platforms/AT91SAM7/hal_lld.h
+++ b/os/hal/platforms/AT91SAM7/hal_lld.h
@@ -34,6 +34,11 @@
/* Driver constants. */
/*===========================================================================*/
+/**
+ * @brief Platform name.
+ */
+#define PLATFORM_NAME "AT91SAM7x"
+
/*===========================================================================*/
/* Driver pre-compile time settings. */
/*===========================================================================*/
diff --git a/os/hal/platforms/AVR/hal_lld.h b/os/hal/platforms/AVR/hal_lld.h
index 65b5da55f..03bf5722e 100644
--- a/os/hal/platforms/AVR/hal_lld.h
+++ b/os/hal/platforms/AVR/hal_lld.h
@@ -31,6 +31,11 @@
/* Driver constants. */
/*===========================================================================*/
+/**
+ * @brief Platform name.
+ */
+#define PLATFORM_NAME "ATmega128"
+
/*===========================================================================*/
/* Driver pre-compile time settings. */
/*===========================================================================*/
diff --git a/os/hal/platforms/LPC214x/hal_lld.h b/os/hal/platforms/LPC214x/hal_lld.h
index e342fcab6..98905aac9 100644
--- a/os/hal/platforms/LPC214x/hal_lld.h
+++ b/os/hal/platforms/LPC214x/hal_lld.h
@@ -34,6 +34,11 @@
/* Driver constants. */
/*===========================================================================*/
+/**
+ * @brief Platform name.
+ */
+#define PLATFORM_NAME "LPC214x"
+
/*===========================================================================*/
/* Driver pre-compile time settings. */
/*===========================================================================*/
diff --git a/os/hal/platforms/Linux/hal_lld.h b/os/hal/platforms/Linux/hal_lld.h
index 42f8f5268..d4bac85a7 100644
--- a/os/hal/platforms/Linux/hal_lld.h
+++ b/os/hal/platforms/Linux/hal_lld.h
@@ -35,6 +35,11 @@
/* Driver constants. */
/*===========================================================================*/
+/**
+ * @brief Platform name.
+ */
+#define PLATFORM_NAME "Linux"
+
#define SOCKET int
#define INVALID_SOCKET -1
diff --git a/os/hal/platforms/MSP430/hal_lld.h b/os/hal/platforms/MSP430/hal_lld.h
index 236ee56c4..1d2fb6109 100644
--- a/os/hal/platforms/MSP430/hal_lld.h
+++ b/os/hal/platforms/MSP430/hal_lld.h
@@ -33,6 +33,11 @@
/* Driver constants. */
/*===========================================================================*/
+/**
+ * @brief Platform name.
+ */
+#define PLATFORM_NAME "MSP430x16x"
+
#define MSP430_CLOCK_SOURCE_XT2CLK 0 /** @brief XT2CLK clock selector. */
#define MSP430_CLOCK_SOURCE_DCOCLK 1 /** @brief DCOCLK clock selector. */
diff --git a/os/hal/platforms/SPC563/hal_lld.h b/os/hal/platforms/SPC563/hal_lld.h
index a44537c62..2c6df9b10 100644
--- a/os/hal/platforms/SPC563/hal_lld.h
+++ b/os/hal/platforms/SPC563/hal_lld.h
@@ -34,6 +34,11 @@
/* Driver constants. */
/*===========================================================================*/
+/**
+ * @brief Platform name.
+ */
+#define PLATFORM_NAME "SPC563M64"
+
#define RFD_DIV2 0 /**< Divide VCO frequency by 2. */
#define RFD_DIV4 1 /**< Divide VCO frequency by 4. */
#define RFD_DIV8 2 /**< Divide VCO frequency by 8. */
diff --git a/os/hal/platforms/STM32/hal_lld.h b/os/hal/platforms/STM32/hal_lld.h
index ed25dad74..db2a9c390 100644
--- a/os/hal/platforms/STM32/hal_lld.h
+++ b/os/hal/platforms/STM32/hal_lld.h
@@ -44,6 +44,11 @@
/* Driver constants. */
/*===========================================================================*/
+/**
+ * @brief Platform name.
+ */
+#define PLATFORM_NAME "STM32"
+
/*===========================================================================*/
/* Driver pre-compile time settings. */
/*===========================================================================*/
diff --git a/os/hal/platforms/Win32/hal_lld.h b/os/hal/platforms/Win32/hal_lld.h
index 5a895ce95..16a861c58 100644
--- a/os/hal/platforms/Win32/hal_lld.h
+++ b/os/hal/platforms/Win32/hal_lld.h
@@ -34,6 +34,11 @@
/* Driver constants. */
/*===========================================================================*/
+/**
+ * @brief Platform name.
+ */
+#define PLATFORM_NAME "Win32"
+
/*===========================================================================*/
/* Driver pre-compile time settings. */
/*===========================================================================*/