aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Common
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-04-04 10:24:57 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-04-04 10:24:57 +0000
commit2efa79d3ec0630d6baf1cad13fc8f323d090da61 (patch)
tree05e45e35dd3eb93b0f976f6ab9889761e61710dd /LUFA/Common
parent06d00bb99b5dd948c9407884cc07d1e82ea6878a (diff)
downloadlufa-2efa79d3ec0630d6baf1cad13fc8f323d090da61.tar.gz
lufa-2efa79d3ec0630d6baf1cad13fc8f323d090da61.tar.bz2
lufa-2efa79d3ec0630d6baf1cad13fc8f323d090da61.zip
Conditionally add available address spaces to the address space enum, for multiple address space architectures.
Update Doxygen configuration file for the latest Doxygen release. Minor documentation updates.
Diffstat (limited to 'LUFA/Common')
-rw-r--r--LUFA/Common/Endianness.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/LUFA/Common/Endianness.h b/LUFA/Common/Endianness.h
index d7f73ca69..f7bc33677 100644
--- a/LUFA/Common/Endianness.h
+++ b/LUFA/Common/Endianness.h
@@ -60,6 +60,10 @@
#if !defined(__INCLUDE_FROM_COMMON_H)
#error Do not include this file directly. Include LUFA/Common/Common.h instead to gain this functionality.
#endif
+
+ #if !(defined(ARCH_BIG_ENDIAN) || defined(ARCH_LITTLE_ENDIAN))
+ #error ARCH_BIG_ENDIAN or ARCH_LITTLE_ENDIAN not set for the specified architecture.
+ #endif
/* Public Interface - May be used in end-application: */
/* Macros: */