COSA
An Object-Oriented Platform for Arduino Programming
Board.cpp
Go to the documentation of this file.
1 
27 #include "Cosa/Types.h"
28 #include "Board.h"
29 
30 // Custom Boards
31 #if defined(COSA_CUSTOM_BOARD)
32 #include <Board.map>
33 
34 // Arduino Boards
35 #elif defined(ARDUINO_DIECIMILA)
36 #include "Cosa/Board/Arduino/Diecimila.map"
37 #elif defined(ARDUINO_DUEMILANOVE)
38 #include "Cosa/Board/Arduino/Duemilanove.map"
39 #elif defined(ARDUINO_LEONARDO)
40 #include "Cosa/Board/Arduino/Leonardo.map"
41 #elif defined(ARDUINO_MEGA)
42 #include "Cosa/Board/Arduino/Mega.map"
43 #elif defined(ARDUINO_MICRO)
44 #include "Cosa/Board/Arduino/Micro.map"
45 #elif defined(ARDUINO_NANO)
46 #include "Cosa/Board/Arduino/Nano.map"
47 #elif defined(ARDUINO_PRO_MICRO)
48 #include "Cosa/Board/Arduino/Pro_Micro.map"
49 #elif defined(ARDUINO_PRO_MINI)
50 #include "Cosa/Board/Arduino/Pro_Mini.map"
51 #elif defined(ARDUINO_UNO)
52 #include "Cosa/Board/Arduino/Uno.map"
53 
54 // Breadboards
55 #elif defined(BREADBOARD_ATTINYX4)
56 #include "Cosa/Board/Arduino/ATtinyX4.map"
57 #elif defined(BREADBOARD_ATTINYX5)
58 #include "Cosa/Board/Arduino/ATtinyX5.map"
59 #elif defined(BREADBOARD_ATTINYX61)
60 #include "Cosa/Board/Arduino/ATtinyX61.map"
61 #elif defined(BREADBOARD_ATMEGA328P)
62 #include "Cosa/Board/Arduino/ATmega328P.map"
63 #elif defined(BREADBOARD_ATMEGA1284P)
64 #include "Cosa/Board/Arduino/ATmega1284P.map"
65 
66 // LilyPad Arduino Boards
67 #elif defined(LILYPAD_ARDUINO)
68 #include "Cosa/Board/Arduino/LilyPad.map"
69 #elif defined(LILYPAD_ARDUINO_USB)
70 #include "Cosa/Board/Arduino/LilyPad_USB.map"
71 
72 #else
73 #error "Cosa/Board.hh: board not supported"
74 #endif
75 
76