X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/5e7319058268e021ae39ca4b9fcabaec0060117b..b35f93a372d8c872aebab4e3626bfc58d85b84d7:/LUFA/Common/Architectures.h diff --git a/LUFA/Common/Architectures.h b/LUFA/Common/Architectures.h index 3aa7a58d2..30d8c8249 100644 --- a/LUFA/Common/Architectures.h +++ b/LUFA/Common/Architectures.h @@ -29,7 +29,7 @@ */ /** \file - * \brief Supported architecture defines. + * \brief Supported library architecture defines. * * \copydetails Group_Architectures * @@ -39,10 +39,14 @@ /** \ingroup Group_Common * \defgroup Group_Architectures Hardware Architectures - * \brief Supported architecture defines. + * \brief Supported library architecture defines. * - * Macros for indicating the chosen hardware architecture to the library. These macros should be used when - * defining the ARCH token to the chosen hardware via the -D switch in the project makefile. + * Architecture macros for selecting the desired target microcontroller architecture. One of these values should be + * defined as the value of \c ARCH in the user project makefile via the \c -D compiler switch to GCC, to select the + * target architecture. + * + * The selected architecture should remain consistent with the makefile \c ARCH value, which is used to select the + * underlying driver source files for each architecture. * * @{ */ @@ -58,8 +62,11 @@ /* Public Interface - May be used in end-application: */ /* Macros: */ /** Selects the Atmel 8-bit AVR (AT90USB* and ATMEGA*U* chips) architecture. */ - #define ARCH_AVR8 1 + #define ARCH_AVR8 0 + /** Selects the Atmel 32-bit UC3 AVR (AT32UC3* chips) architecture. */ + #define ARCH_UC3 1 + #if !defined(__DOXYGEN__) #define ARCH_ ARCH_AVR8