aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/boards
diff options
context:
space:
mode:
authormarcoveeneman <marco-veeneman@hotmail.com>2016-10-30 14:38:02 +0100
committermarcoveeneman <marco-veeneman@hotmail.com>2016-10-30 14:38:02 +0100
commit79fc9cfe5dd29e672511e20012e4fa699d07f678 (patch)
treecdaf3325c69878a6adfb3374067869d58c0c3f56 /os/hal/boards
parentb783488ec677927879b14cef1e043133cfecedcc (diff)
downloadChibiOS-Contrib-79fc9cfe5dd29e672511e20012e4fa699d07f678.tar.gz
ChibiOS-Contrib-79fc9cfe5dd29e672511e20012e4fa699d07f678.tar.bz2
ChibiOS-Contrib-79fc9cfe5dd29e672511e20012e4fa699d07f678.zip
Added checks and defines for device revisions.
This can be used for errata workarounds in the drivers.
Diffstat (limited to 'os/hal/boards')
-rw-r--r--os/hal/boards/TI_TM4C123G_LAUNCHPAD/board.h3
-rw-r--r--os/hal/boards/TI_TM4C1294_LAUNCHPAD/board.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/os/hal/boards/TI_TM4C123G_LAUNCHPAD/board.h b/os/hal/boards/TI_TM4C123G_LAUNCHPAD/board.h
index c337e21..7660c09 100644
--- a/os/hal/boards/TI_TM4C123G_LAUNCHPAD/board.h
+++ b/os/hal/boards/TI_TM4C123G_LAUNCHPAD/board.h
@@ -28,9 +28,10 @@
#define BOARD_NAME "Texas Instruments TM4C123G Launchpad"
/*
- * MCU type as defined in the TI header.
+ * MCU type and revision as defined in the TI header.
*/
#define PART_TM4C123GH6PM
+#define TARGET_IS_TM4C123_RB1
/*
* Board oscillators-related settings.
diff --git a/os/hal/boards/TI_TM4C1294_LAUNCHPAD/board.h b/os/hal/boards/TI_TM4C1294_LAUNCHPAD/board.h
index 982fb1b..57fd268 100644
--- a/os/hal/boards/TI_TM4C1294_LAUNCHPAD/board.h
+++ b/os/hal/boards/TI_TM4C1294_LAUNCHPAD/board.h
@@ -36,9 +36,10 @@
//#define BOARD_PHY_RMII
/*
- * MCU type as defined in the TI header.
+ * MCU type and revision as defined in the TI header.
*/
#define PART_TM4C1294NCPDT
+#define TARGET_IS_TM4C129_RA0
/*
* Board oscillators-related settings.