1 /* This header file is part of the ATMEL AVR-UC3-SoftwareFramework-1.7.0 Release */
\r
3 /*This file is prepared for Doxygen automatic documentation generation.*/
\r
4 /*! \file *********************************************************************
\r
6 * \brief Standard board header file.
\r
8 * This file includes the appropriate board header file according to the
\r
11 * - Compiler: IAR EWAVR32 and GNU GCC for AVR32
\r
12 * - Supported devices: All AVR32 devices can be used.
\r
15 * \author Atmel Corporation: http://www.atmel.com \n
\r
16 * Support and FAQ: http://support.atmel.no/
\r
18 ******************************************************************************/
\r
20 /* Copyright (c) 2009 Atmel Corporation. All rights reserved.
\r
22 * Redistribution and use in source and binary forms, with or without
\r
23 * modification, are permitted provided that the following conditions are met:
\r
25 * 1. Redistributions of source code must retain the above copyright notice, this
\r
26 * list of conditions and the following disclaimer.
\r
28 * 2. Redistributions in binary form must reproduce the above copyright notice,
\r
29 * this list of conditions and the following disclaimer in the documentation
\r
30 * and/or other materials provided with the distribution.
\r
32 * 3. The name of Atmel may not be used to endorse or promote products derived
\r
33 * from this software without specific prior written permission.
\r
35 * 4. This software may only be redistributed and used in connection with an Atmel
\r
38 * THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED
\r
39 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
\r
40 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
\r
41 * EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR
\r
42 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
\r
43 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
\r
44 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
\r
45 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
\r
46 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
\r
47 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE
\r
54 #include <avr32/io.h>
\r
56 /*! \name Base Boards
\r
59 #define EVK1100 1 //!< AT32UC3A EVK1100 board.
\r
60 #define EVK1101 2 //!< AT32UC3B EVK1101 board.
\r
61 #define UC3C_EK 3 //!< AT32UC3C UC3C_EK board.
\r
62 #define EVK1104 4 //!< AT32UC3A3 EVK1104 board.
\r
63 #define EVK1105 5 //!< AT32UC3A EVK1105 board.
\r
64 #define STK1000 6 //!< AT32AP7000 STK1000 board.
\r
65 #define NGW100 7 //!< AT32AP7000 NGW100 board.
\r
66 #define STK600_RCUC3L0 8 //!< STK600 RCUC3L0 board.
\r
67 #define UC3L_EK 9 //!< AT32UC3L-EK board.
\r
68 #define USER_BOARD 99 //!< User-reserved board (if any).
\r
71 /*! \name Extension Boards
\r
74 #define EXT1102 1 //!< AT32UC3B EXT1102 board.
\r
75 #define MC300 2 //!< AT32UC3 MC300 board.
\r
76 #define USER_EXT_BOARD 99 //!< User-reserved extension board (if any).
\r
79 #if BOARD == EVK1100
\r
80 #include "EVK1100/evk1100.h"
\r
81 #elif BOARD == EVK1101
\r
82 #include "EVK1101/evk1101.h"
\r
83 #elif BOARD == UC3C_EK
\r
84 #include "UC3C_EK/uc3c_ek.h"
\r
85 #elif BOARD == EVK1104
\r
86 #include "EVK1104/evk1104.h"
\r
87 #elif BOARD == EVK1105
\r
88 #include "EVK1105/evk1105.h"
\r
89 #elif BOARD == STK1000
\r
90 #include "STK1000/stk1000.h"
\r
91 #elif BOARD == NGW100
\r
92 #include "NGW100/ngw100.h"
\r
93 #elif BOARD == STK600_RCUC3L0
\r
94 #include "STK600/RCUC3L0/stk600_rcuc3l0.h"
\r
95 #elif BOARD == UC3L_EK
\r
96 #include "UC3L_EK/uc3l_ek.h"
\r
97 #elif BOARD == USER_BOARD
\r
98 // User-reserved area: #include the header file of your board here (if any).
\r
99 #include "user_board.h"
\r
101 #error No known AVR32 board defined
\r
104 #if (defined EXT_BOARD)
\r
105 #if EXT_BOARD == EXT1102
\r
106 #include "EXT1102/ext1102.h"
\r
107 #elif EXT_BOARD == MC300
\r
108 #include "MC300/mc300.h"
\r
109 #elif EXT_BOARD == USER_EXT_BOARD
\r
110 // User-reserved area: #include the header file of your extension board here
\r
117 #define FRCOSC AVR32_PM_RCOSC_FREQUENCY //!< Default RCOsc frequency.
\r
121 #endif // _BOARD_H_
\r