Seperated out board drivers by architecture in the library internals for better organisation.

This commit is contained in:
Dean Camera 2011-05-18 12:23:24 +00:00
parent e10f5b4f14
commit 910bca557c
57 changed files with 109 additions and 113 deletions

View file

@ -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