X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/3d4d8e7f628f9dc9981242f69b097333faa9940d..b35f93a372d8c872aebab4e3626bfc58d85b84d7:/LUFA/Common/Architectures.h diff --git a/LUFA/Common/Architectures.h b/LUFA/Common/Architectures.h index 8bf9c7cac..30d8c8249 100644 --- a/LUFA/Common/Architectures.h +++ b/LUFA/Common/Architectures.h @@ -29,10 +29,9 @@ */ /** \file - * \brief Supported architecture defines. + * \brief Supported library architecture defines. * - * This file contains constants which can be passed to the compiler (via setting the macro ARCH) in the - * user project makefile using the -D option to configure the library drivers. + * \copydetails Group_Architectures * * \note Do not include this file directly, rather include the Common.h header file instead to gain this file's * functionality. @@ -40,9 +39,14 @@ /** \ingroup Group_Common * \defgroup Group_Architectures Hardware Architectures + * \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