xref: /btstack/port/samv71-xplained-atwilc3000/ASF/common/boards/board.h (revision 1b2596b5303dd8caeea8565532c93cca8dab8cc4)
1 /**
2  * \file
3  *
4  * \brief Standard board header file.
5  *
6  * This file includes the appropriate board header file according to the
7  * defined board (parameter BOARD).
8  *
9  * Copyright (c) 2009-2015 Atmel Corporation. All rights reserved.
10  *
11  * \asf_license_start
12  *
13  * \page License
14  *
15  * Redistribution and use in source and binary forms, with or without
16  * modification, are permitted provided that the following conditions are met:
17  *
18  * 1. Redistributions of source code must retain the above copyright notice,
19  *    this list of conditions and the following disclaimer.
20  *
21  * 2. Redistributions in binary form must reproduce the above copyright notice,
22  *    this list of conditions and the following disclaimer in the documentation
23  *    and/or other materials provided with the distribution.
24  *
25  * 3. The name of Atmel may not be used to endorse or promote products derived
26  *    from this software without specific prior written permission.
27  *
28  * 4. This software may only be redistributed and used in connection with an
29  *    Atmel microcontroller product.
30  *
31  * THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED
32  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
33  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
34  * EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR
35  * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
36  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
37  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
38  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
39  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
40  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
41  * POSSIBILITY OF SUCH DAMAGE.
42  *
43  * \asf_license_stop
44  *
45  */
46 /*
47  * Support and FAQ: visit <a href="http://www.atmel.com/design-support/">Atmel Support</a>
48  */
49 
50 #ifndef _BOARD_H_
51 #define _BOARD_H_
52 
53 /**
54  * \defgroup group_common_boards Generic board support
55  *
56  * The generic board support module includes board-specific definitions
57  * and function prototypes, such as the board initialization function.
58  *
59  * \{
60  */
61 
62 #include "compiler.h"
63 
64 #ifdef __cplusplus
65 extern "C" {
66 #endif
67 
68 
69 /*! \name Base Boards
70  */
71 //! @{
72 #define EVK1100                     1  //!< AT32UC3A EVK1100 board.
73 #define EVK1101                     2  //!< AT32UC3B EVK1101 board.
74 #define UC3C_EK                     3  //!< AT32UC3C UC3C-EK board.
75 #define EVK1104                     4  //!< AT32UC3A3 EVK1104 board.
76 #define EVK1105                     5  //!< AT32UC3A EVK1105 board.
77 #define STK600_RCUC3L0              6  //!< STK600 RCUC3L0 board.
78 #define UC3L_EK                     7  //!< AT32UC3L-EK board.
79 #define XPLAIN                      8  //!< ATxmega128A1 Xplain board.
80 #define STK600_RC064X              10  //!< ATxmega256A3 STK600 board.
81 #define STK600_RC100X              11  //!< ATxmega128A1 STK600 board.
82 #define UC3_A3_XPLAINED            13  //!< ATUC3A3 UC3-A3 Xplained board.
83 #define UC3_L0_XPLAINED            15  //!< ATUC3L0 UC3-L0 Xplained board.
84 #define STK600_RCUC3D              16  //!< STK600 RCUC3D board.
85 #define STK600_RCUC3C0             17  //!< STK600 RCUC3C board.
86 #define XMEGA_B1_XPLAINED          18  //!< ATxmega128B1 Xplained board.
87 #define XMEGA_A1_XPLAINED          19  //!< ATxmega128A1 Xplain-A1 board.
88 #define XMEGA_A1U_XPLAINED_PRO     20  //!< ATxmega128A1U XMEGA-A1U Xplained Pro board.
89 #define STK600_RCUC3L4             21  //!< ATUCL4 STK600 board.
90 #define UC3_L0_XPLAINED_BC         22  //!< ATUC3L0 UC3-L0 Xplained board controller board.
91 #define MEGA1284P_XPLAINED_BC      23  //!< ATmega1284P-Xplained board controller board.
92 #define STK600_RC044X              24  //!< STK600 with RC044X routing card board.
93 #define STK600_RCUC3B0             25  //!< STK600 RCUC3B0 board.
94 #define UC3_L0_QT600               26  //!< QT600 UC3L0 MCU board.
95 #define XMEGA_A3BU_XPLAINED        27  //!< ATxmega256A3BU Xplained board.
96 #define STK600_RC064X_LCDX         28  //!< XMEGAB3 STK600 RC064X LCDX board.
97 #define STK600_RC100X_LCDX         29  //!< XMEGAB1 STK600 RC100X LCDX board.
98 #define UC3B_BOARD_CONTROLLER      30  //!< AT32UC3B1 board controller for Atmel boards.
99 #define RZ600                      31  //!< AT32UC3A RZ600 MCU board.
100 #define SAM3S_EK                   32  //!< SAM3S-EK board.
101 #define SAM3U_EK                   33  //!< SAM3U-EK board.
102 #define SAM3X_EK                   34  //!< SAM3X-EK board.
103 #define SAM3N_EK                   35  //!< SAM3N-EK board.
104 #define SAM3S_EK2                  36  //!< SAM3S-EK2 board.
105 #define SAM4S_EK                   37  //!< SAM4S-EK board.
106 #define STK600_RCUC3A0             38  //!< STK600 RCUC3A0 board.
107 #define STK600_MEGA                39  //!< STK600 MEGA board.
108 #define MEGA_1284P_XPLAINED        40  //!< ATmega1284P Xplained board.
109 #define SAM4S_XPLAINED             41  //!< SAM4S Xplained board.
110 #define ATXMEGA128A1_QT600         42  //!< QT600 ATXMEGA128A1 MCU board.
111 #define ARDUINO_DUE_X              43  //!< Arduino Due/X board.
112 #define STK600_RCUC3L3             44  //!< ATUCL3 STK600 board.
113 #define SAM4L_EK                   45  //!< SAM4L-EK board.
114 #define STK600_MEGA_RF             46  //!< STK600 MEGA RF EVK board.
115 #define XMEGA_C3_XPLAINED          47  //!< ATxmega384C3 Xplained board.
116 #define STK600_RC032X              48  //!< STK600 with RC032X routing card board.
117 #define SAM4S_EK2                  49  //!< SAM4S-EK2 board.
118 #define XMEGA_E5_XPLAINED          50  //!< ATxmega32E5 Xplained board.
119 #define SAM4E_EK                   51  //!< SAM4E-EK board.
120 #define ATMEGA256RFR2_XPLAINED_PRO 52  //!< ATmega256RFR2 Xplained Pro board.
121 #define SAM4S_XPLAINED_PRO         53  //!< SAM4S Xplained Pro board.
122 #define SAM4L_XPLAINED_PRO         54  //!< SAM4L Xplained Pro board.
123 #define ATMEGA256RFR2_ZIGBIT       55  //!< ATmega256RFR2 zigbit.
124 #define XMEGA_RF233_ZIGBIT         56  //!< ATxmega256A3U with AT86RF233 Zigbit.
125 #define XMEGA_RF212B_ZIGBIT        57  //!< ATxmega256A3U with AT86RF212B Zigbit.
126 #define SAM4S_WPIR_RD              58  //!< SAM4S-WPIR-RD board.
127 #define SAMD20_XPLAINED_PRO        59  //!< SAM D20 Xplained Pro board.
128 #define SAM4L8_XPLAINED_PRO        60  //!< SAM4L8 Xplained Pro board.
129 #define SAM4N_XPLAINED_PRO         61  //!< SAM4N Xplained Pro board.
130 #define XMEGA_A3_REB_CBB           62  //!< XMEGA REB Controller Base board.
131 #define ATMEGARFX_RCB              63  //!< RFR2 & RFA1 RCB.
132 #define SAM4C_EK                   64  //!< SAM4C-EK board.
133 #define RCB256RFR2_XPRO            65  //!< RFR2 RCB Xplained Pro board.
134 #define SAMG53_XPLAINED_PRO        66  //!< SAMG53 Xplained Pro board.
135 #define SAM4CP16BMB                67  //!< SAM4CP16BMB board.
136 #define SAM4E_XPLAINED_PRO         68  //!< SAM4E Xplained Pro board.
137 #define SAMD21_XPLAINED_PRO        69  //!< SAM D21 Xplained Pro board.
138 #define SAMR21_XPLAINED_PRO        70  //!< SAM R21 Xplained Pro board.
139 #define SAM4CMP_DB                 71  //!< SAM4CMP demo board.
140 #define SAM4CMS_DB                 72  //!< SAM4CMS demo board.
141 #define ATPL230AMB                 73  //!< ATPL230AMB board.
142 #define SAMD11_XPLAINED_PRO        74  //!< SAM D11 Xplained Pro board.
143 #define SAMG55_XPLAINED_PRO        75  //!< SAMG55 Xplained Pro board.
144 #define SAML21_XPLAINED_PRO        76  //!< SAM L21 Xplained Pro board.
145 #define SAMD10_XPLAINED_MINI       77  //!< SAM D10 Xplained Mini board.
146 #define SAMDA1_XPLAINED_PRO        78  //!< SAM DA1 Xplained Pro board.
147 #define SAMW25_XPLAINED_PRO        79  //!< SAMW25 Xplained Pro board.
148 #define SAMC21_XPLAINED_PRO        80  //!< SAM C21 Xplained Pro board.
149 #define SAMV71_XPLAINED_ULTRA      81  //!< SAMV71 Xplained Ultra board.
150 #define SAML22_XPLAINED_PRO        86  //!< SAM L22 Xplained Pro board.
151 #define ATMEGA328P_XPLAINED_MINI   82  //!< ATMEGA328P Xplained MINI board.
152 #define SIMULATOR_XMEGA_A1         97  //!< Simulator for XMEGA A1 devices.
153 #define AVR_SIMULATOR_UC3          98  //!< Simulator for the AVR UC3 device family.
154 #define USER_BOARD                 99  //!< User-reserved board (if any).
155 #define DUMMY_BOARD               100  //!< Dummy board to support board-independent applications (e.g. bootloader).
156 //! @}
157 
158 /*! \name Extension Boards
159  */
160 //! @{
161 #define EXT1102                      1  //!< AT32UC3B EXT1102 board
162 #define MC300                        2  //!< AT32UC3 MC300 board
163 #define SENSORS_XPLAINED_INERTIAL_1  3  //!< Xplained inertial sensor board 1
164 #define SENSORS_XPLAINED_INERTIAL_2  4  //!< Xplained inertial sensor board 2
165 #define SENSORS_XPLAINED_PRESSURE_1  5  //!< Xplained pressure sensor board
166 #define SENSORS_XPLAINED_LIGHTPROX_1 6  //!< Xplained light & proximity sensor board
167 #define SENSORS_XPLAINED_INERTIAL_A1 7  //!< Xplained inertial sensor board "A"
168 #define RZ600_AT86RF231              8  //!< AT86RF231 RF board in RZ600
169 #define RZ600_AT86RF230B             9  //!< AT86RF230B RF board in RZ600
170 #define RZ600_AT86RF212             10  //!< AT86RF212 RF board in RZ600
171 #define SENSORS_XPLAINED_BREADBOARD 11  //!< Xplained sensor development breadboard
172 #define SECURITY_XPLAINED           12  //!< Xplained ATSHA204 board
173 #define USER_EXT_BOARD              99  //!< User-reserved extension board (if any).
174 //! @}
175 
176 #if BOARD == EVK1100
177 #  include "evk1100/evk1100.h"
178 #elif BOARD == EVK1101
179 #  include "evk1101/evk1101.h"
180 #elif BOARD == UC3C_EK
181 #  include "uc3c_ek/uc3c_ek.h"
182 #elif BOARD == EVK1104
183 #  include "evk1104/evk1104.h"
184 #elif BOARD == EVK1105
185 #  include "evk1105/evk1105.h"
186 #elif BOARD == STK600_RCUC3L0
187 #  include "stk600/rcuc3l0/stk600_rcuc3l0.h"
188 #elif BOARD == UC3L_EK
189 #  include "uc3l_ek/uc3l_ek.h"
190 #elif BOARD == STK600_RCUC3L4
191 #  include "stk600/rcuc3l4/stk600_rcuc3l4.h"
192 #elif BOARD == XPLAIN
193 #  include "xplain/xplain.h"
194 #elif BOARD == STK600_MEGA
195   /*No header-file to include*/
196 #elif BOARD == STK600_MEGA_RF
197 #  include "stk600.h"
198 #elif BOARD == ATMEGA256RFR2_XPLAINED_PRO
199 #  include "atmega256rfr2_xplained_pro/atmega256rfr2_xplained_pro.h"
200 #elif BOARD == ATMEGA256RFR2_ZIGBIT
201 #  include "atmega256rfr2_zigbit/atmega256rfr2_zigbit.h"
202 #elif BOARD == STK600_RC032X
203 #  include "stk600/rc032x/stk600_rc032x.h"
204 #elif BOARD == STK600_RC044X
205 #  include "stk600/rc044x/stk600_rc044x.h"
206 #elif BOARD == STK600_RC064X
207 #  include "stk600/rc064x/stk600_rc064x.h"
208 #elif BOARD == STK600_RC100X
209 #  include "stk600/rc100x/stk600_rc100x.h"
210 #elif BOARD == UC3_A3_XPLAINED
211 #  include "uc3_a3_xplained/uc3_a3_xplained.h"
212 #elif BOARD == UC3_L0_XPLAINED
213 #  include "uc3_l0_xplained/uc3_l0_xplained.h"
214 #elif BOARD == STK600_RCUC3B0
215 #  include "stk600/rcuc3b0/stk600_rcuc3b0.h"
216 #elif BOARD == STK600_RCUC3D
217 #  include "stk600/rcuc3d/stk600_rcuc3d.h"
218 #elif BOARD == STK600_RCUC3C0
219 #  include "stk600/rcuc3c0/stk600_rcuc3c0.h"
220 #elif BOARD == SAMG53_XPLAINED_PRO
221 #  include "samg53_xplained_pro/samg53_xplained_pro.h"
222 #elif BOARD == SAMG55_XPLAINED_PRO
223 #  include "samg55_xplained_pro/samg55_xplained_pro.h"
224 #elif BOARD == XMEGA_B1_XPLAINED
225 #  include "xmega_b1_xplained/xmega_b1_xplained.h"
226 #elif BOARD == STK600_RC064X_LCDX
227 #  include "stk600/rc064x_lcdx/stk600_rc064x_lcdx.h"
228 #elif BOARD == STK600_RC100X_LCDX
229 #  include "stk600/rc100x_lcdx/stk600_rc100x_lcdx.h"
230 #elif BOARD == XMEGA_A1_XPLAINED
231 #  include "xmega_a1_xplained/xmega_a1_xplained.h"
232 #elif BOARD == XMEGA_A1U_XPLAINED_PRO
233 #  include "xmega_a1u_xplained_pro/xmega_a1u_xplained_pro.h"
234 #elif BOARD == UC3_L0_XPLAINED_BC
235 #  include "uc3_l0_xplained_bc/uc3_l0_xplained_bc.h"
236 #elif BOARD == SAM3S_EK
237 #  include "sam3s_ek/sam3s_ek.h"
238 #  include "system_sam3s.h"
239 #elif BOARD == SAM3S_EK2
240 #  include "sam3s_ek2/sam3s_ek2.h"
241 #  include "system_sam3sd8.h"
242 #elif BOARD == SAM3U_EK
243 #  include "sam3u_ek/sam3u_ek.h"
244 #  include "system_sam3u.h"
245 #elif BOARD == SAM3X_EK
246 #  include "sam3x_ek/sam3x_ek.h"
247 #  include "system_sam3x.h"
248 #elif BOARD == SAM3N_EK
249 #  include "sam3n_ek/sam3n_ek.h"
250 #  include "system_sam3n.h"
251 #elif BOARD == SAM4S_EK
252 #  include "sam4s_ek/sam4s_ek.h"
253 #  include "system_sam4s.h"
254 #elif BOARD == SAM4S_WPIR_RD
255 #  include "sam4s_wpir_rd/sam4s_wpir_rd.h"
256 #  include "system_sam4s.h"
257 #elif BOARD == SAM4S_XPLAINED
258 #  include "sam4s_xplained/sam4s_xplained.h"
259 #  include "system_sam4s.h"
260 #elif BOARD == SAM4S_EK2
261 #  include "sam4s_ek2/sam4s_ek2.h"
262 #  include "system_sam4s.h"
263 #elif BOARD == MEGA_1284P_XPLAINED
264   /*No header-file to include*/
265 #elif BOARD == ARDUINO_DUE_X
266 #  include "arduino_due_x/arduino_due_x.h"
267 #  include "system_sam3x.h"
268 #elif BOARD == SAM4L_EK
269 #  include "sam4l_ek/sam4l_ek.h"
270 #elif BOARD == SAM4E_EK
271 #  include "sam4e_ek/sam4e_ek.h"
272 #elif BOARD == SAMD20_XPLAINED_PRO
273 #  include "samd20_xplained_pro/samd20_xplained_pro.h"
274 #elif BOARD == SAMD21_XPLAINED_PRO
275 #  include "samd21_xplained_pro/samd21_xplained_pro.h"
276 #elif BOARD == SAMR21_XPLAINED_PRO
277 #  include "samr21_xplained_pro/samr21_xplained_pro.h"
278 #elif BOARD == SAMD11_XPLAINED_PRO
279 #  include "samd11_xplained_pro/samd11_xplained_pro.h"
280 #elif BOARD == SAML21_XPLAINED_PRO && defined(__SAML21J18A__)
281 #  include "saml21_xplained_pro/saml21_xplained_pro.h"
282 #elif BOARD == SAML22_XPLAINED_PRO
283 #  include "saml22_xplained_pro/saml22_xplained_pro.h"
284 #elif BOARD == SAML21_XPLAINED_PRO && defined(__SAML21J18B__)
285 #  include "saml21_xplained_pro_b/saml21_xplained_pro.h"
286 #elif BOARD == SAMD10_XPLAINED_MINI
287 #  include "samd10_xplained_mini/samd10_xplained_mini.h"
288 #elif BOARD == SAMDA1_XPLAINED_PRO
289 #  include "samda1_xplained_pro/samda1_xplained_pro.h"
290 #elif BOARD == SAMC21_XPLAINED_PRO
291 #  include "samc21_xplained_pro/samc21_xplained_pro.h"
292 #elif BOARD == SAM4N_XPLAINED_PRO
293 #  include "sam4n_xplained_pro/sam4n_xplained_pro.h"
294 #elif BOARD == SAMW25_XPLAINED_PRO
295 #  include "samw25_xplained_pro/samw25_xplained_pro.h"
296 #elif BOARD == SAMV71_XPLAINED_ULTRA
297 #  include "samv71_xplained_ultra/samv71_xplained_ultra.h"
298 #elif BOARD == MEGA1284P_XPLAINED_BC
299 #  include "mega1284p_xplained_bc/mega1284p_xplained_bc.h"
300 #elif BOARD == UC3_L0_QT600
301 #  include "uc3_l0_qt600/uc3_l0_qt600.h"
302 #elif BOARD == XMEGA_A3BU_XPLAINED
303 #  include "xmega_a3bu_xplained/xmega_a3bu_xplained.h"
304 #elif BOARD == XMEGA_E5_XPLAINED
305 #  include "xmega_e5_xplained/xmega_e5_xplained.h"
306 #elif BOARD == UC3B_BOARD_CONTROLLER
307 #  include "uc3b_board_controller/uc3b_board_controller.h"
308 #elif BOARD == RZ600
309 #  include "rz600/rz600.h"
310 #elif BOARD == STK600_RCUC3A0
311 #  include "stk600/rcuc3a0/stk600_rcuc3a0.h"
312 #elif BOARD == ATXMEGA128A1_QT600
313 #  include "atxmega128a1_qt600/atxmega128a1_qt600.h"
314 #elif BOARD == STK600_RCUC3L3
315 #  include "stk600/rcuc3l3/stk600_rcuc3l3.h"
316 #elif BOARD == SAM4S_XPLAINED_PRO
317 #  include "sam4s_xplained_pro/sam4s_xplained_pro.h"
318 #elif BOARD == SAM4L_XPLAINED_PRO
319 #  include "sam4l_xplained_pro/sam4l_xplained_pro.h"
320 #elif BOARD == SAM4L8_XPLAINED_PRO
321 #  include "sam4l8_xplained_pro/sam4l8_xplained_pro.h"
322 #elif BOARD == SAM4C_EK
323 #  include "sam4c_ek/sam4c_ek.h"
324 #elif BOARD == SAM4CMP_DB
325 #  include "sam4cmp_db/sam4cmp_db.h"
326 #elif BOARD == SAM4CMS_DB
327 #  include "sam4cms_db/sam4cms_db.h"
328 #elif BOARD == SAM4CP16BMB
329 #  include "sam4cp16bmb/sam4cp16bmb.h"
330 #elif BOARD == ATPL230AMB
331 #  include "atpl230amb/atpl230amb.h"
332 #elif BOARD == SIMULATOR_XMEGA_A1
333 #  include "simulator/xmega_a1/simulator_xmega_a1.h"
334 #elif BOARD == XMEGA_C3_XPLAINED
335 #  include "xmega_c3_xplained/xmega_c3_xplained.h"
336 #elif BOARD == XMEGA_RF233_ZIGBIT
337 #  include "xmega_rf233_zigbit/xmega_rf233_zigbit.h"
338 #elif BOARD == XMEGA_A3_REB_CBB
339 #  include "xmega_a3_reb_cbb/xmega_a3_reb_cbb.h"
340 #elif BOARD == ATMEGARFX_RCB
341 #  include "atmegarfx_rcb/atmegarfx_rcb.h"
342 #elif BOARD == RCB256RFR2_XPRO
343 #  include "atmega256rfr2_rcb_xpro/atmega256rfr2_rcb_xpro.h"
344 #elif BOARD == XMEGA_RF212B_ZIGBIT
345 #  include "xmega_rf212b_zigbit/xmega_rf212b_zigbit.h"
346 #elif BOARD == SAM4E_XPLAINED_PRO
347 #  include "sam4e_xplained_pro/sam4e_xplained_pro.h"
348 #elif BOARD == AVR_SIMULATOR_UC3
349 #  include "avr_simulator_uc3/avr_simulator_uc3.h"
350 #elif BOARD == USER_BOARD
351   // User-reserved area: #include the header file of your board here (if any).
352 #  include "user_board.h"
353 #elif BOARD == ATMEGA328P_XPLAINED_MINI
354 #  include "atmega328p_xplained_mini/atmega328p_xplained_mini.h"
355 #elif BOARD == DUMMY_BOARD
356 #  include "dummy/dummy_board.h"
357 #else
358 #  error No known Atmel board defined
359 #endif
360 
361 #if (defined EXT_BOARD)
362 #  if EXT_BOARD == MC300
363 #    include "mc300/mc300.h"
364 #  elif (EXT_BOARD == SENSORS_XPLAINED_INERTIAL_1)  || \
365         (EXT_BOARD == SENSORS_XPLAINED_INERTIAL_2)  || \
366         (EXT_BOARD == SENSORS_XPLAINED_INERTIAL_A1) || \
367         (EXT_BOARD == SENSORS_XPLAINED_PRESSURE_1)  || \
368         (EXT_BOARD == SENSORS_XPLAINED_LIGHTPROX_1) || \
369         (EXT_BOARD == SENSORS_XPLAINED_BREADBOARD)
370 #    include "sensors_xplained/sensors_xplained.h"
371 #  elif EXT_BOARD == RZ600_AT86RF231
372 #     include "at86rf231/at86rf231.h"
373 #  elif EXT_BOARD == RZ600_AT86RF230B
374 #    include "at86rf230b/at86rf230b.h"
375 #  elif EXT_BOARD == RZ600_AT86RF212
376 #    include "at86rf212/at86rf212.h"
377 #  elif EXT_BOARD == SECURITY_XPLAINED
378 #    include "security_xplained.h"
379 #  elif EXT_BOARD == USER_EXT_BOARD
380     // User-reserved area: #include the header file of your extension board here
381     // (if any).
382 #  endif
383 #endif
384 
385 
386 #if (defined(__GNUC__) && defined(__AVR32__)) || (defined(__ICCAVR32__) || defined(__AAVR32__))
387 #ifdef __AVR32_ABI_COMPILER__ // Automatically defined when compiling for AVR32, not when assembling.
388 
389 /*! \brief This function initializes the board target resources
390  *
391  * This function should be called to ensure proper initialization of the target
392  * board hardware connected to the part.
393  */
394 extern void board_init(void);
395 
396 #endif  // #ifdef __AVR32_ABI_COMPILER__
397 #else
398 /*! \brief This function initializes the board target resources
399  *
400  * This function should be called to ensure proper initialization of the target
401  * board hardware connected to the part.
402  */
403 extern void board_init(void);
404 #endif
405 
406 
407 #ifdef __cplusplus
408 }
409 #endif
410 
411 /**
412  * \}
413  */
414 
415 #endif  // _BOARD_H_
416