67 #define STK600_RCUC3L0 6 70 #define STK600_RC064X 10 71 #define STK600_RC100X 11 72 #define UC3_A3_XPLAINED 13 73 #define UC3_L0_XPLAINED 15 74 #define STK600_RCUC3D 16 75 #define STK600_RCUC3C0 17 76 #define XMEGA_B1_XPLAINED 18 77 #define XMEGA_A1_XPLAINED 19 78 #define XMEGA_A1U_XPLAINED_PRO 20 79 #define STK600_RCUC3L4 21 80 #define UC3_L0_XPLAINED_BC 22 81 #define MEGA1284P_XPLAINED_BC 23 82 #define STK600_RC044X 24 83 #define STK600_RCUC3B0 25 84 #define UC3_L0_QT600 26 85 #define XMEGA_A3BU_XPLAINED 27 86 #define STK600_RC064X_LCDX 28 87 #define STK600_RC100X_LCDX 29 88 #define UC3B_BOARD_CONTROLLER 30 96 #define STK600_RCUC3A0 38 97 #define STK600_MEGA 39 98 #define MEGA_1284P_XPLAINED 40 99 #define SAM4S_XPLAINED 41 100 #define ATXMEGA128A1_QT600 42 101 #define ARDUINO_DUE_X 43 102 #define STK600_RCUC3L3 44 104 #define STK600_MEGA_RF 46 105 #define XMEGA_C3_XPLAINED 47 106 #define STK600_RC032X 48 108 #define XMEGA_E5_XPLAINED 50 110 #define ATMEGA256RFR2_XPLAINED_PRO 52 111 #define SAM4S_XPLAINED_PRO 53 112 #define SAM4L_XPLAINED_PRO 54 113 #define ATMEGA256RFR2_ZIGBIT 55 114 #define XMEGA_RF233_ZIGBIT 56 115 #define XMEGA_RF212B_ZIGBIT 57 116 #define SAM4S_WPIR_RD 58 117 #define SAMD20_XPLAINED_PRO 59 118 #define SAM4L8_XPLAINED_PRO 60 119 #define SAM4N_XPLAINED_PRO 61 120 #define XMEGA_A3_REB_CBB 62 121 #define ATMEGARFX_RCB 63 123 #define RCB256RFR2_XPRO 65 124 #define SAMG53_XPLAINED_PRO 66 125 #define SAM4CP16BMB 67 126 #define SAM4E_XPLAINED_PRO 68 127 #define SAMD21_XPLAINED_PRO 69 128 #define SAMR21_XPLAINED_PRO 70 129 #define SAM4CMP_DB 71 130 #define SAM4CMS_DB 72 131 #define ATPL230AMB 73 132 #define SAMD11_XPLAINED_PRO 74 133 #define SAMG55_XPLAINED_PRO 75 134 #define SAML21_XPLAINED_PRO 76 135 #define SAMD10_XPLAINED_MINI 77 136 #define SAMDA1_XPLAINED_PRO 78 137 #define SAMW25_XPLAINED_PRO 79 138 #define SAMC21_XPLAINED_PRO 80 139 #define SAMV71_XPLAINED_ULTRA 81 140 #define ATMEGA328P_XPLAINED_MINI 82 141 #define ATMEGA328PB_XPLAINED_MINI 83 142 #define SAMB11_XPLAINED_PRO 84 143 #define SAME70_XPLAINED 85 144 #define SAML22_XPLAINED_PRO 86 145 #define SAML22_XPLAINED_PRO_B 87 146 #define SAMR21ZLL_EK 88 147 #define ATMEGA168PB_XPLAINED_MINI 89 148 #define ATMEGA324PB_XPLAINED_PRO 90 149 #define SAMB11ZR_XPLAINED_PRO 92 150 #define SAMR30_XPLAINED_PRO 93 151 #define SAMHA1G16A_XPLAINED_PRO 94 152 #define SAMR34_XPLAINED_PRO 95 153 #define SIMULATOR_XMEGA_A1 97 154 #define AVR_SIMULATOR_UC3 98 155 #define USER_BOARD 99 156 #define DUMMY_BOARD 100 157 #define SAMB11ZR_SENSOR_TAG 101 158 #define SAMR30_MODULE_XPLAINED_PRO 102 159 #define SAMR21G18_MODULE 103 160 #define SAMR21B18_MODULE 104 168 #define SENSORS_XPLAINED_INERTIAL_1 3 169 #define SENSORS_XPLAINED_INERTIAL_2 4 170 #define SENSORS_XPLAINED_PRESSURE_1 5 171 #define SENSORS_XPLAINED_LIGHTPROX_1 6 172 #define SENSORS_XPLAINED_INERTIAL_A1 7 173 #define RZ600_AT86RF231 8 174 #define RZ600_AT86RF230B 9 175 #define RZ600_AT86RF212 10 176 #define SENSORS_XPLAINED_BREADBOARD 11 177 #define SECURITY_XPLAINED 12 178 #define USER_EXT_BOARD 99 182 # include "evk1100/evk1100.h" 183 #elif BOARD == EVK1101 184 # include "evk1101/evk1101.h" 185 #elif BOARD == UC3C_EK 186 # include "uc3c_ek/uc3c_ek.h" 187 #elif BOARD == EVK1104 188 # include "evk1104/evk1104.h" 189 #elif BOARD == EVK1105 190 # include "evk1105/evk1105.h" 191 #elif BOARD == STK600_RCUC3L0 192 # include "stk600/rcuc3l0/stk600_rcuc3l0.h" 193 #elif BOARD == UC3L_EK 194 # include "uc3l_ek/uc3l_ek.h" 195 #elif BOARD == STK600_RCUC3L4 196 # include "stk600/rcuc3l4/stk600_rcuc3l4.h" 197 #elif BOARD == XPLAIN 198 # include "xplain/xplain.h" 199 #elif BOARD == STK600_MEGA 201 #elif BOARD == STK600_MEGA_RF 203 #elif BOARD == ATMEGA256RFR2_XPLAINED_PRO 204 # include "atmega256rfr2_xplained_pro/atmega256rfr2_xplained_pro.h" 205 #elif BOARD == ATMEGA256RFR2_ZIGBIT 206 # include "atmega256rfr2_zigbit/atmega256rfr2_zigbit.h" 207 #elif BOARD == STK600_RC032X 208 # include "stk600/rc032x/stk600_rc032x.h" 209 #elif BOARD == STK600_RC044X 210 # include "stk600/rc044x/stk600_rc044x.h" 211 #elif BOARD == STK600_RC064X 212 # include "stk600/rc064x/stk600_rc064x.h" 213 #elif BOARD == STK600_RC100X 214 # include "stk600/rc100x/stk600_rc100x.h" 215 #elif BOARD == UC3_A3_XPLAINED 216 # include "uc3_a3_xplained/uc3_a3_xplained.h" 217 #elif BOARD == UC3_L0_XPLAINED 218 # include "uc3_l0_xplained/uc3_l0_xplained.h" 219 #elif BOARD == STK600_RCUC3B0 220 # include "stk600/rcuc3b0/stk600_rcuc3b0.h" 221 #elif BOARD == STK600_RCUC3D 222 # include "stk600/rcuc3d/stk600_rcuc3d.h" 223 #elif BOARD == STK600_RCUC3C0 224 # include "stk600/rcuc3c0/stk600_rcuc3c0.h" 225 #elif BOARD == SAMG53_XPLAINED_PRO 226 # include "samg53_xplained_pro/samg53_xplained_pro.h" 227 #elif BOARD == SAMG55_XPLAINED_PRO 228 # include "samg55_xplained_pro/samg55_xplained_pro.h" 229 #elif BOARD == XMEGA_B1_XPLAINED 230 # include "xmega_b1_xplained/xmega_b1_xplained.h" 231 #elif BOARD == STK600_RC064X_LCDX 232 # include "stk600/rc064x_lcdx/stk600_rc064x_lcdx.h" 233 #elif BOARD == STK600_RC100X_LCDX 234 # include "stk600/rc100x_lcdx/stk600_rc100x_lcdx.h" 235 #elif BOARD == XMEGA_A1_XPLAINED 236 # include "xmega_a1_xplained/xmega_a1_xplained.h" 237 #elif BOARD == XMEGA_A1U_XPLAINED_PRO 238 # include "xmega_a1u_xplained_pro/xmega_a1u_xplained_pro.h" 239 #elif BOARD == UC3_L0_XPLAINED_BC 240 # include "uc3_l0_xplained_bc/uc3_l0_xplained_bc.h" 241 #elif BOARD == SAM3S_EK 242 # include "sam3s_ek/sam3s_ek.h" 243 # include "system_sam3s.h" 244 #elif BOARD == SAM3S_EK2 245 # include "sam3s_ek2/sam3s_ek2.h" 246 # include "system_sam3sd8.h" 247 #elif BOARD == SAM3U_EK 248 # include "sam3u_ek/sam3u_ek.h" 249 # include "system_sam3u.h" 250 #elif BOARD == SAM3X_EK 251 # include "sam3x_ek/sam3x_ek.h" 252 # include "system_sam3x.h" 253 #elif BOARD == SAM3N_EK 254 # include "sam3n_ek/sam3n_ek.h" 255 # include "system_sam3n.h" 256 #elif BOARD == SAM4S_EK 257 # include "sam4s_ek/sam4s_ek.h" 258 # include "system_sam4s.h" 259 #elif BOARD == SAM4S_WPIR_RD 260 # include "sam4s_wpir_rd/sam4s_wpir_rd.h" 261 # include "system_sam4s.h" 262 #elif BOARD == SAM4S_XPLAINED 263 # include "sam4s_xplained/sam4s_xplained.h" 264 # include "system_sam4s.h" 265 #elif BOARD == SAM4S_EK2 266 # include "sam4s_ek2/sam4s_ek2.h" 267 # include "system_sam4s.h" 268 #elif BOARD == MEGA_1284P_XPLAINED 270 #elif BOARD == ARDUINO_DUE_X 271 # include "arduino_due_x/arduino_due_x.h" 272 # include "system_sam3x.h" 273 #elif BOARD == SAM4L_EK 274 # include "sam4l_ek/sam4l_ek.h" 275 #elif BOARD == SAM4E_EK 276 # include "sam4e_ek/sam4e_ek.h" 277 #elif BOARD == SAMD20_XPLAINED_PRO 278 # include "samd20_xplained_pro/samd20_xplained_pro.h" 279 #elif BOARD == SAMD21_XPLAINED_PRO 280 # include "samd21_xplained_pro/samd21_xplained_pro.h" 281 #elif BOARD == SAMR21_XPLAINED_PRO 282 # include "samr21_xplained_pro/samr21_xplained_pro.h" 283 #elif BOARD == SAMR30_XPLAINED_PRO && defined(__SAMR30G18A__) 284 # include "samr30_xplained_pro/samr30_xplained_pro.h" 285 #elif BOARD == SAMR30_MODULE_XPLAINED_PRO && defined(__SAMR30E18A__) 286 # include "samr30_module_xplained_pro/samr30_module_xplained_pro.h" 287 #elif BOARD == SAMR21ZLL_EK 288 # include "samr21zll_ek/samr21zll_ek.h" 289 #elif BOARD == SAMD11_XPLAINED_PRO 290 # include "samd11_xplained_pro/samd11_xplained_pro.h" 291 #elif BOARD == SAML21_XPLAINED_PRO && defined(__SAML21J18A__) 292 # include "saml21_xplained_pro/saml21_xplained_pro.h" 293 #elif BOARD == SAML22_XPLAINED_PRO 294 # include "saml22_xplained_pro/saml22_xplained_pro.h" 295 #elif BOARD == SAML22_XPLAINED_PRO_B 296 # include "saml22_xplained_pro_b/saml22_xplained_pro_b.h" 297 #elif BOARD == SAML21_XPLAINED_PRO && defined(__SAML21J18B__) 298 # include "saml21_xplained_pro_b/saml21_xplained_pro.h" 299 #elif BOARD == SAMD10_XPLAINED_MINI 300 # include "samd10_xplained_mini/samd10_xplained_mini.h" 301 #elif BOARD == SAMDA1_XPLAINED_PRO 302 # include "samda1_xplained_pro/samda1_xplained_pro.h" 303 #elif BOARD == SAMHA1G16A_XPLAINED_PRO 304 # include "samha1g16a_xplained_pro/samha1g16a_xplained_pro.h" 305 #elif BOARD == SAMC21_XPLAINED_PRO 306 # include "samc21_xplained_pro/samc21_xplained_pro.h" 307 #elif BOARD == SAM4N_XPLAINED_PRO 308 # include "sam4n_xplained_pro/sam4n_xplained_pro.h" 309 #elif BOARD == SAMW25_XPLAINED_PRO 310 # include "samw25_xplained_pro/samw25_xplained_pro.h" 311 #elif BOARD == SAMV71_XPLAINED_ULTRA 312 # include "samv71_xplained_ultra/samv71_xplained_ultra.h" 313 #elif BOARD == MEGA1284P_XPLAINED_BC 314 # include "mega1284p_xplained_bc/mega1284p_xplained_bc.h" 315 #elif BOARD == UC3_L0_QT600 316 # include "uc3_l0_qt600/uc3_l0_qt600.h" 317 #elif BOARD == XMEGA_A3BU_XPLAINED 318 # include "xmega_a3bu_xplained/xmega_a3bu_xplained.h" 319 #elif BOARD == XMEGA_E5_XPLAINED 320 # include "xmega_e5_xplained/xmega_e5_xplained.h" 321 #elif BOARD == UC3B_BOARD_CONTROLLER 322 # include "uc3b_board_controller/uc3b_board_controller.h" 324 # include "rz600/rz600.h" 325 #elif BOARD == STK600_RCUC3A0 326 # include "stk600/rcuc3a0/stk600_rcuc3a0.h" 327 #elif BOARD == ATXMEGA128A1_QT600 328 # include "atxmega128a1_qt600/atxmega128a1_qt600.h" 329 #elif BOARD == STK600_RCUC3L3 330 # include "stk600/rcuc3l3/stk600_rcuc3l3.h" 331 #elif BOARD == SAM4S_XPLAINED_PRO 332 # include "sam4s_xplained_pro/sam4s_xplained_pro.h" 333 #elif BOARD == SAM4L_XPLAINED_PRO 334 # include "sam4l_xplained_pro/sam4l_xplained_pro.h" 335 #elif BOARD == SAM4L8_XPLAINED_PRO 336 # include "sam4l8_xplained_pro/sam4l8_xplained_pro.h" 337 #elif BOARD == SAM4C_EK 338 # include "sam4c_ek/sam4c_ek.h" 339 #elif BOARD == SAM4CMP_DB 340 # include "sam4cmp_db/sam4cmp_db.h" 341 #elif BOARD == SAM4CMS_DB 342 # include "sam4cms_db/sam4cms_db.h" 343 #elif BOARD == SAM4CP16BMB 344 # include "sam4cp16bmb/sam4cp16bmb.h" 345 #elif BOARD == ATPL230AMB 346 # include "atpl230amb/atpl230amb.h" 347 #elif BOARD == XMEGA_C3_XPLAINED 348 # include "xmega_c3_xplained/xmega_c3_xplained.h" 349 #elif BOARD == XMEGA_RF233_ZIGBIT 350 # include "xmega_rf233_zigbit/xmega_rf233_zigbit.h" 351 #elif BOARD == XMEGA_A3_REB_CBB 352 # include "xmega_a3_reb_cbb/xmega_a3_reb_cbb.h" 353 #elif BOARD == ATMEGARFX_RCB 354 # include "atmegarfx_rcb/atmegarfx_rcb.h" 355 #elif BOARD == RCB256RFR2_XPRO 356 # include "atmega256rfr2_rcb_xpro/atmega256rfr2_rcb_xpro.h" 357 #elif BOARD == XMEGA_RF212B_ZIGBIT 358 # include "xmega_rf212b_zigbit/xmega_rf212b_zigbit.h" 359 #elif BOARD == SAM4E_XPLAINED_PRO 360 # include "sam4e_xplained_pro/sam4e_xplained_pro.h" 361 #elif BOARD == ATMEGA328P_XPLAINED_MINI 362 # include "atmega328p_xplained_mini/atmega328p_xplained_mini.h" 363 #elif BOARD == ATMEGA328PB_XPLAINED_MINI 364 # include "atmega328pb_xplained_mini/atmega328pb_xplained_mini.h" 365 #elif BOARD == SAMB11_XPLAINED_PRO 366 # include "samb11_xplained_pro/samb11_xplained_pro.h" 367 #elif BOARD == SAME70_XPLAINED 368 # include "same70_xplained/same70_xplained.h" 369 #elif BOARD == ATMEGA168PB_XPLAINED_MINI 370 # include "atmega168pb_xplained_mini/atmega168pb_xplained_mini.h" 371 #elif BOARD == ATMEGA324PB_XPLAINED_PRO 372 # include "atmega324pb_xplained_pro/atmega324pb_xplained_pro.h" 373 #elif BOARD == SAMB11ZR_XPLAINED_PRO 374 # include "samb11zr_xplained_pro/samb11zr_xplained_pro.h" 375 #elif BOARD == SIMULATOR_XMEGA_A1 376 # include "simulator/xmega_a1/simulator_xmega_a1.h" 377 #elif BOARD == AVR_SIMULATOR_UC3 378 # include "avr_simulator_uc3/avr_simulator_uc3.h" 379 #elif BOARD == SAMR21G18_MODULE 380 # include "samr21g18_module/samr21g18_module.h" 381 #elif BOARD == SAMR21B18_MODULE 382 # include "samr21b18_module/samr21b18_module.h" 383 #elif BOARD == SAMR34_XPLAINED_PRO && defined(__SAMR34J18B__) 384 # include "samr34_xplained_pro/samr34_xplained_pro.h" 385 #elif BOARD == USER_BOARD 388 #elif BOARD == DUMMY_BOARD 389 # include "dummy/dummy_board.h" 390 #elif BOARD == SAMB11ZR_SENSOR_TAG 391 # include "samb11zr_sensor_tag/samb11zr_sensor_tag.h" 393 # error No known Atmel board defined 396 #if (defined EXT_BOARD) 397 # if EXT_BOARD == MC300 398 # include "mc300/mc300.h" 399 # elif (EXT_BOARD == SENSORS_XPLAINED_INERTIAL_1) || \ 400 (EXT_BOARD == SENSORS_XPLAINED_INERTIAL_2) || \ 401 (EXT_BOARD == SENSORS_XPLAINED_INERTIAL_A1) || \ 402 (EXT_BOARD == SENSORS_XPLAINED_PRESSURE_1) || \ 403 (EXT_BOARD == SENSORS_XPLAINED_LIGHTPROX_1) || \ 404 (EXT_BOARD == SENSORS_XPLAINED_BREADBOARD) 405 # include "sensors_xplained/sensors_xplained.h" 406 # elif EXT_BOARD == RZ600_AT86RF231 407 # include "at86rf231/at86rf231.h" 408 # elif EXT_BOARD == RZ600_AT86RF230B 409 # include "at86rf230b/at86rf230b.h" 410 # elif EXT_BOARD == RZ600_AT86RF212 411 # include "at86rf212/at86rf212.h" 412 # elif EXT_BOARD == SECURITY_XPLAINED 413 # include "security_xplained.h" 414 # elif EXT_BOARD == USER_EXT_BOARD 421 #if (defined(__GNUC__) && defined(__AVR32__)) || (defined(__ICCAVR32__) || defined(__AAVR32__)) 422 #ifdef __AVR32_ABI_COMPILER__ // Automatically defined when compiling for AVR32, not when assembling. 431 #endif // #ifdef __AVR32_ABI_COMPILER__ void board_init(void)
This function initializes the board target resources.
Commonly used includes, types and macros.
User board definition template.