Merge branch 'master' into XMEGA-Demo-Ports-ClockOnly
authorDean Camera <dean@fourwalledcubicle.com>
Sun, 19 May 2013 22:06:37 +0000 (00:06 +0200)
committerDean Camera <dean@fourwalledcubicle.com>
Sun, 19 May 2013 22:06:37 +0000 (00:06 +0200)
1  2 
LUFA/DoxygenPages/ChangeLog.txt
LUFA/Drivers/Board/Buttons.h

    *   - Added additional MIDI command definitions to the MIDI class driver (thanks to Daniel Dreibrodt)
    *   - Added new CONCAT() and CONCAT_EXPANDED() convenience macros
    *   - Added new Printer Device Class driver
+   *   - Added support for the XMEGA C3 Xplained board
    *  - Library Applications:
    *   - Added new Printer class bootloader
    *   - Added new Mass Storage class bootloader
 +  *   - Added XMEGA support for class driver device demos (where applicable)
    *
    *  <b>Changed:</b>
    *  - Core:
    *   - Updated the BUILD build system module to produce binary BIN files in addition to Intel HEX files
    *   - Updated the Android Accessory Class to accept version 2 protocol devices (with version 1 functionality)
 +  *   - All board drivers now implement dummy functions and constants when BOARD is set to NONE
    *
    *  <b>Fixed:</b>
    *  - Core:
@@@ -92,9 -92,7 +92,9 @@@
                #include "../../Common/Common.h"
  
                #if (BOARD == BOARD_NONE)
 -                      #error The Board Buttons driver cannot be used if the makefile BOARD option is not set.
 +                      #define BUTTONS_BUTTON1  0
 +                      static inline void       Buttons_Init(void) {};
 +                      static inline uint_reg_t Buttons_GetStatus(void) { return 0; };
                #elif (BOARD == BOARD_USBKEY)
                        #include "AVR8/USBKEY/Buttons.h"
                #elif (BOARD == BOARD_STK525)
                        #include "UC3/UC3A3_XPLAINED/Buttons.h"
                #elif (BOARD == BOARD_STANGE_ISP)
                        #include "AVR8/STANGE_ISP/Buttons.h"
+               #elif (BOARD == BOARD_C3_XPLAINED)
+                       #include "XMEGA/C3_XPLAINED/Buttons.h"
                #else
                        #include "Board/Buttons.h"
                #endif