USB_Host_Shield_2.0/settings.h

52 lines
1.3 KiB
C
Raw Normal View History

2013-09-23 10:50:38 +02:00
/*
* File: settings.h
* Author: AJK
*
* Created on September 23, 2013, 12:00 AM
*/
#ifndef SETTINGS_H
#define SETTINGS_H
#include "macros.h"
////////////////////////////////////////////////////////////////////////////////
// CORE
////////////////////////////////////////////////////////////////////////////////
//#define BOARD_BLACK_WIDDOW
// uncomment to activate
//#define DEBUG_USB_HOST
#ifndef USB_HOST_SERIAL
#define USB_HOST_SERIAL Serial
#endif
////////////////////////////////////////////////////////////////////////////////
// MASS STORAGE
////////////////////////////////////////////////////////////////////////////////
// <<<<<<<<<<<<<<<< IMPORTANT >>>>>>>>>>>>>>>
// Set this to 1 to support single LUN devices, and save RAM. -- I.E. thumb drives.
// Each LUN needs ~13 bytes to be able to track the state of each unit.
#ifndef MASS_MAX_SUPPORTED_LUN
#define MASS_MAX_SUPPORTED_LUN 8
#endif
////////////////////////////////////////////////////////////////////////////////
// AUTOMATIC Settings
////////////////////////////////////////////////////////////////////////////////
#if defined(ARDUINO) && ARDUINO >=100
#include "Arduino.h"
#else
#include <WProgram.h>
#endif
#if defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB1286__)
#define BOARD_TEENSY_PLUS_PLUS
#endif
2013-09-24 00:40:10 +02:00
#include <avr/pgmspace.h>
2013-09-23 10:50:38 +02:00
#endif /* SETTINGS_H */