mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-16 12:51:47 +00:00
Seperated out board drivers by architecture in the library internals for better organisation.
This commit is contained in:
parent
e10f5b4f14
commit
910bca557c
@ -49,7 +49,7 @@
|
||||
#define __LEDS_ADAFRUITU4_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __BUTTONS_ATAVRUSBRF01_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __LEDS_ATAVRUSBRF01_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __BUTTONS_BENITO_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __LEDS_BENITO_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __LEDS_BLACKCAT_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __LEDS_BUI_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -51,7 +51,7 @@
|
||||
#define __BUTTONS_BUMBLEB_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -51,7 +51,7 @@
|
||||
#define __JOYSTICK_BUMBLEB_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -51,7 +51,7 @@
|
||||
#define __LEDS_BUMBLEB_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __BUTTONS_CULV3_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __LEDS_CULV3_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __BUTTONS_EVK527_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,8 @@
|
||||
#define __DATAFLASH_EVK527_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../Misc/AT45DB321C.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
#include "../../../Misc/AT45DB321C.h"
|
||||
|
||||
/* Preprocessor Checks: */
|
||||
#if !defined(__INCLUDE_FROM_DATAFLASH_H)
|
@ -49,7 +49,7 @@
|
||||
#define __JOYSTICK_EVK527_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __LEDS_EVK527_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __BUTTONS_JMDBU2_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __LEDS_JMDBU2_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __LEDS_MAXIMUS_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __BUTTONS_MICROSIN162_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __LEDS_MICROSIN162_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __BUTTONS_MINIMUS_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __LEDS_MINIMUS_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __BUTTONS_OLIMEX162_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __LEDS_OLIMEX162_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __LEDS_RZUSBSTICK_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __LEDS_SPARKFUN8U2_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __BUTTONS_STK525_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,8 @@
|
||||
#define __DATAFLASH_STK525_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../Misc/AT45DB321C.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
#include "../../../Misc/AT45DB321C.h"
|
||||
|
||||
/* Preprocessor Checks: */
|
||||
#if !defined(__INCLUDE_FROM_DATAFLASH_H)
|
@ -49,7 +49,7 @@
|
||||
#define __JOYSTICK_STK525_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __LEDS_STK525_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __BUTTONS_STK526_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,8 @@
|
||||
#define __DATAFLASH_STK526_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../Misc/AT45DB642D.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
#include "../../../Misc/AT45DB642D.h"
|
||||
|
||||
/* Preprocessor Checks: */
|
||||
#if !defined(__INCLUDE_FROM_DATAFLASH_H)
|
@ -49,7 +49,7 @@
|
||||
#define __JOYSTICK_STK526_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __LEDS_STK526_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __LEDS_TEENSY_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __BUTTONS_UDIP_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __LEDS_UDIP_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __LEDS_UNO_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __BUTTONS_USBFOO_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __LEDS_USBFOO_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __BUTTONS_USBKEY_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __JOYSTICK_USBKEY_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __LEDS_USBKEY_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __BUTTONS_USBTINYMKII_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,7 @@
|
||||
#define __LEDS_USBTINYMKII_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,7 +49,8 @@
|
||||
#define __DATAFLASH_XPLAIN_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../Misc/AT45DB642D.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
#include "../../../Misc/AT45DB642D.h"
|
||||
|
||||
/* Preprocessor Checks: */
|
||||
#if !defined(__INCLUDE_FROM_DATAFLASH_H)
|
@ -49,7 +49,7 @@
|
||||
#define __LEDS_XPLAIN_H__
|
||||
|
||||
/* Includes: */
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -94,37 +94,37 @@
|
||||
#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"
|
||||
#include "AVR8/USBKEY/Buttons.h"
|
||||
#elif (BOARD == BOARD_STK525)
|
||||
#include "STK525/Buttons.h"
|
||||
#include "AVR8/STK525/Buttons.h"
|
||||
#elif (BOARD == BOARD_STK526)
|
||||
#include "STK526/Buttons.h"
|
||||
#include "AVR8/STK526/Buttons.h"
|
||||
#elif (BOARD == BOARD_ATAVRUSBRF01)
|
||||
#include "ATAVRUSBRF01/Buttons.h"
|
||||
#include "AVR8/ATAVRUSBRF01/Buttons.h"
|
||||
#elif (BOARD == BOARD_BUMBLEB)
|
||||
#include "BUMBLEB/Buttons.h"
|
||||
#include "AVR8/BUMBLEB/Buttons.h"
|
||||
#elif (BOARD == BOARD_EVK527)
|
||||
#include "EVK527/Buttons.h"
|
||||
#include "AVR8/EVK527/Buttons.h"
|
||||
#elif (BOARD == BOARD_USBTINYMKII)
|
||||
#include "USBTINYMKII/Buttons.h"
|
||||
#include "AVR8/USBTINYMKII/Buttons.h"
|
||||
#elif (BOARD == BOARD_BENITO)
|
||||
#include "BENITO/Buttons.h"
|
||||
#include "AVR8/BENITO/Buttons.h"
|
||||
#elif (BOARD == BOARD_JMDBU2)
|
||||
#include "JMDBU2/Buttons.h"
|
||||
#include "AVR8/JMDBU2/Buttons.h"
|
||||
#elif (BOARD == BOARD_OLIMEX162)
|
||||
#include "OLIMEX162/Buttons.h"
|
||||
#include "AVR8/OLIMEX162/Buttons.h"
|
||||
#elif (BOARD == BOARD_USBFOO)
|
||||
#include "USBFOO/Buttons.h"
|
||||
#include "AVR8/USBFOO/Buttons.h"
|
||||
#elif (BOARD == BOARD_UDIP)
|
||||
#include "UDIP/Buttons.h"
|
||||
#include "AVR8/UDIP/Buttons.h"
|
||||
#elif (BOARD == BOARD_CULV3)
|
||||
#include "CULV3/Buttons.h"
|
||||
#include "AVR8/CULV3/Buttons.h"
|
||||
#elif (BOARD == BOARD_MINIMUS)
|
||||
#include "MINIMUS/Buttons.h"
|
||||
#include "AVR8/MINIMUS/Buttons.h"
|
||||
#elif (BOARD == BOARD_MICROSIN162)
|
||||
#include "MICROSIN162/Buttons.h"
|
||||
#include "AVR8/MICROSIN162/Buttons.h"
|
||||
#elif (BOARD == BOARD_EVK1101)
|
||||
#include "EVK1101/Buttons.h"
|
||||
#include "UC3/EVK1101/Buttons.h"
|
||||
#else
|
||||
#include "Board/Buttons.h"
|
||||
#endif
|
||||
|
@ -235,17 +235,15 @@
|
||||
#if (BOARD == BOARD_NONE)
|
||||
#error The Board Dataflash driver cannot be used if the makefile BOARD option is not set.
|
||||
#elif (BOARD == BOARD_USBKEY)
|
||||
#include "USBKEY/Dataflash.h"
|
||||
#include "AVR8/USBKEY/Dataflash.h"
|
||||
#elif (BOARD == BOARD_STK525)
|
||||
#include "STK525/Dataflash.h"
|
||||
#include "AVR8/STK525/Dataflash.h"
|
||||
#elif (BOARD == BOARD_STK526)
|
||||
#include "STK526/Dataflash.h"
|
||||
#elif (BOARD == BOARD_XPLAIN)
|
||||
#include "XPLAIN/Dataflash.h"
|
||||
#elif (BOARD == BOARD_XPLAIN_REV1)
|
||||
#include "XPLAIN/Dataflash.h"
|
||||
#include "AVR8/STK526/Dataflash.h"
|
||||
#elif ((BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1))
|
||||
#include "AVR8/XPLAIN/Dataflash.h"
|
||||
#elif (BOARD == BOARD_EVK527)
|
||||
#include "EVK527/Dataflash.h"
|
||||
#include "AVR8/EVK527/Dataflash.h"
|
||||
#else
|
||||
#include "Board/Dataflash.h"
|
||||
#endif
|
||||
|
@ -102,17 +102,17 @@
|
||||
#if (BOARD == BOARD_NONE)
|
||||
#error The Board Joystick driver cannot be used if the makefile BOARD option is not set.
|
||||
#elif (BOARD == BOARD_USBKEY)
|
||||
#include "USBKEY/Joystick.h"
|
||||
#include "AVR8/USBKEY/Joystick.h"
|
||||
#elif (BOARD == BOARD_STK525)
|
||||
#include "STK525/Joystick.h"
|
||||
#include "AVR8/STK525/Joystick.h"
|
||||
#elif (BOARD == BOARD_STK526)
|
||||
#include "STK526/Joystick.h"
|
||||
#include "AVR8/STK526/Joystick.h"
|
||||
#elif (BOARD == BOARD_BUMBLEB)
|
||||
#include "BUMBLEB/Joystick.h"
|
||||
#include "AVR8/BUMBLEB/Joystick.h"
|
||||
#elif (BOARD == BOARD_EVK527)
|
||||
#include "EVK527/Joystick.h"
|
||||
#include "AVR8/EVK527/Joystick.h"
|
||||
#elif (BOARD == BOARD_EVK1101)
|
||||
#include "EVK1101/Joystick.h"
|
||||
#include "UC3/EVK1101/Joystick.h"
|
||||
#else
|
||||
#include "Board/Joystick.h"
|
||||
#endif
|
||||
|
@ -116,55 +116,55 @@
|
||||
static inline void LEDs_ToggleLEDs(const uint8_t LEDMask) {};
|
||||
static inline uint8_t LEDs_GetLEDs(void) { return 0; }
|
||||
#elif (BOARD == BOARD_USBKEY)
|
||||
#include "USBKEY/LEDs.h"
|
||||
#include "AVR8/USBKEY/LEDs.h"
|
||||
#elif (BOARD == BOARD_STK525)
|
||||
#include "STK525/LEDs.h"
|
||||
#include "AVR8/STK525/LEDs.h"
|
||||
#elif (BOARD == BOARD_STK526)
|
||||
#include "STK526/LEDs.h"
|
||||
#include "AVR8/STK526/LEDs.h"
|
||||
#elif (BOARD == BOARD_RZUSBSTICK)
|
||||
#include "RZUSBSTICK/LEDs.h"
|
||||
#include "AVR8/RZUSBSTICK/LEDs.h"
|
||||
#elif (BOARD == BOARD_ATAVRUSBRF01)
|
||||
#include "ATAVRUSBRF01/LEDs.h"
|
||||
#include "AVR8/ATAVRUSBRF01/LEDs.h"
|
||||
#elif ((BOARD == BOARD_XPLAIN) || (BOARD == BOARD_XPLAIN_REV1))
|
||||
#include "XPLAIN/LEDs.h"
|
||||
#include "AVR8/XPLAIN/LEDs.h"
|
||||
#elif (BOARD == BOARD_BUMBLEB)
|
||||
#include "BUMBLEB/LEDs.h"
|
||||
#include "AVR8/BUMBLEB/LEDs.h"
|
||||
#elif (BOARD == BOARD_EVK527)
|
||||
#include "EVK527/LEDs.h"
|
||||
#include "AVR8/EVK527/LEDs.h"
|
||||
#elif (BOARD == BOARD_TEENSY)
|
||||
#include "TEENSY/LEDs.h"
|
||||
#include "AVR8/TEENSY/LEDs.h"
|
||||
#elif (BOARD == BOARD_USBTINYMKII)
|
||||
#include "USBTINYMKII/LEDs.h"
|
||||
#include "AVR8/USBTINYMKII/LEDs.h"
|
||||
#elif (BOARD == BOARD_BENITO)
|
||||
#include "BENITO/LEDs.h"
|
||||
#include "AVR8/BENITO/LEDs.h"
|
||||
#elif (BOARD == BOARD_JMDBU2)
|
||||
#include "JMDBU2/LEDs.h"
|
||||
#include "AVR8/JMDBU2/LEDs.h"
|
||||
#elif (BOARD == BOARD_OLIMEX162)
|
||||
#include "OLIMEX162/LEDs.h"
|
||||
#include "AVR8/OLIMEX162/LEDs.h"
|
||||
#elif (BOARD == BOARD_USBFOO)
|
||||
#include "USBFOO/LEDs.h"
|
||||
#include "AVR8/USBFOO/LEDs.h"
|
||||
#elif (BOARD == BOARD_UDIP)
|
||||
#include "UDIP/LEDs.h"
|
||||
#include "AVR8/UDIP/LEDs.h"
|
||||
#elif (BOARD == BOARD_BUI)
|
||||
#include "BUI/LEDs.h"
|
||||
#include "AVR8/BUI/LEDs.h"
|
||||
#elif (BOARD == BOARD_UNO)
|
||||
#include "UNO/LEDs.h"
|
||||
#include "AVR8/UNO/LEDs.h"
|
||||
#elif (BOARD == BOARD_CULV3)
|
||||
#include "CULV3/LEDs.h"
|
||||
#include "AVR8/CULV3/LEDs.h"
|
||||
#elif (BOARD == BOARD_BLACKCAT)
|
||||
#include "BLACKCAT/LEDs.h"
|
||||
#include "AVR8/BLACKCAT/LEDs.h"
|
||||
#elif (BOARD == BOARD_MAXIMUS)
|
||||
#include "MAXIMUS/LEDs.h"
|
||||
#include "AVR8/MAXIMUS/LEDs.h"
|
||||
#elif (BOARD == BOARD_MINIMUS)
|
||||
#include "MINIMUS/LEDs.h"
|
||||
#include "AVR8/MINIMUS/LEDs.h"
|
||||
#elif (BOARD == BOARD_ADAFRUITU4)
|
||||
#include "ADAFRUITU4/LEDs.h"
|
||||
#include "AVR8/ADAFRUITU4/LEDs.h"
|
||||
#elif (BOARD == BOARD_MICROSIN162)
|
||||
#include "MICROSIN162/LEDs.h"
|
||||
#include "AVR8/MICROSIN162/LEDs.h"
|
||||
#elif (BOARD == BOARD_SPARKFUN8U2)
|
||||
#include "SPARKFUN8U2/LEDs.h"
|
||||
#include "AVR8/SPARKFUN8U2/LEDs.h"
|
||||
#elif (BOARD == BOARD_EVK1101)
|
||||
#include "EVK1101/LEDs.h"
|
||||
#include "UC3/EVK1101/LEDs.h"
|
||||
#else
|
||||
#include "Board/LEDs.h"
|
||||
#endif
|
||||
|
@ -49,10 +49,7 @@
|
||||
#define __BUTTONS_EVK1101_H__
|
||||
|
||||
/* Includes: */
|
||||
#include <avr32/io.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,9 +49,7 @@
|
||||
#define __JOYSTICK_EVK1101_H__
|
||||
|
||||
/* Includes: */
|
||||
#include <avr32/io.h>
|
||||
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -49,9 +49,7 @@
|
||||
#define __LEDS_EVK1101_H__
|
||||
|
||||
/* Includes: */
|
||||
#include <avr32/io.h>
|
||||
|
||||
#include "../../../Common/Common.h"
|
||||
#include "../../../../Common/Common.h"
|
||||
|
||||
/* Enable C linkage for C++ Compilers: */
|
||||
#if defined(__cplusplus)
|
@ -70,6 +70,7 @@
|
||||
* a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures
|
||||
* - Renamed all low level Pipe_Read_*, Pipe_Write_* and Pipe_Discard_* functions to use the number of bits instead of
|
||||
* a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures
|
||||
* - Seperated out board drivers by architecture in the library internals for better organisation
|
||||
* - Library Applications:
|
||||
* - Changed the XPLAINBridge software UART to use the regular timer CTC mode instead of the alternative CTC mode
|
||||
* via the Input Capture register, to reduce user confusion
|
||||
|
Loading…
Reference in New Issue
Block a user