X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/7f9f97c792dee6875fbca9806422bdd7d6c5a657..ceb16ee24f1e6add5e2ad0398369c24d2d868cd8:/LUFA/Drivers/Board/Buttons.h?ds=sidebyside diff --git a/LUFA/Drivers/Board/Buttons.h b/LUFA/Drivers/Board/Buttons.h index d1de8d52e..0077df36b 100644 --- a/LUFA/Drivers/Board/Buttons.h +++ b/LUFA/Drivers/Board/Buttons.h @@ -29,6 +29,7 @@ */ /** \file + * \brief Master include file for the board digital button driver. * * This file is the master dispatch header file for the board-specific Buttons driver, for boards containing * physical pushbuttons connected to the AVR's GPIO pins. @@ -63,14 +64,15 @@ /* Macros: */ #if !defined(__DOXYGEN__) + #define __INCLUDE_FROM_BUTTONS_H #define INCLUDE_FROM_BUTTONS_H #endif /* Includes: */ #include "../../Common/Common.h" - #if !defined(BOARD) - #error BOARD must be set in makefile to a value specified in BoardTypes.h. + #if (BOARD == BOARD_NONE) + #error The Board Buttons driver cannot be used if the makefile BOARD option is not set. #elif (BOARD == BOARD_USBKEY) #include "USBKEY/Buttons.h" #elif (BOARD == BOARD_STK525) @@ -83,6 +85,12 @@ #include "BUMBLEB/Buttons.h" #elif (BOARD == BOARD_EVK527) #include "EVK527/Buttons.h" + #elif (BOARD == BOARD_USBTINYMKII) + #include "USBTINYMKII/Buttons.h" + #elif (BOARD == BOARD_BENITO) + #include "BENITO/Buttons.h" + #elif (BOARD == BOARD_JMDBU2) + #include "JMDBU2/Buttons.h" #elif (BOARD == BOARD_USER) #include "Board/Buttons.h" #else