aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/TIVA/TM4C123x/tiva_registry.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/TIVA/TM4C123x/tiva_registry.h')
-rw-r--r--os/hal/ports/TIVA/TM4C123x/tiva_registry.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/os/hal/ports/TIVA/TM4C123x/tiva_registry.h b/os/hal/ports/TIVA/TM4C123x/tiva_registry.h
index 88cc376..4ff9f60 100644
--- a/os/hal/ports/TIVA/TM4C123x/tiva_registry.h
+++ b/os/hal/ports/TIVA/TM4C123x/tiva_registry.h
@@ -58,6 +58,12 @@
#error "No valid device defined."
#endif
+#if !defined(TARGET_IS_TM4C123_RA1) && !defined(TARGET_IS_TM4C123_RA2) && \
+ !defined(TARGET_IS_TM4C123_RA3) && !defined(TARGET_IS_TM4C123_RB0) && \
+ !defined(TARGET_IS_TM4C123_RB1)
+#error "No valid device revision defined."
+#endif
+
/**
* @brief Sub-family identifier.
*/