mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Arduino Mega ADK will be activated automatically in Arduino 1.5.5
See: https://github.com/arduino/Arduino/pull/1605
This commit is contained in:
parent
42fc48d129
commit
5cde2e07d3
3 changed files with 3 additions and 2 deletions
|
@ -74,6 +74,7 @@ Currently the following boards are supported by the library:
|
||||||
The following boards need to be activated manually in [settings.h](settings.h):
|
The following boards need to be activated manually in [settings.h](settings.h):
|
||||||
|
|
||||||
* Arduino Mega ADK
|
* Arduino Mega ADK
|
||||||
|
* If you are using Arduino 1.5.5 or newer there is no need to activate the Arduino Mega ADK manually
|
||||||
* Black Widdow
|
* Black Widdow
|
||||||
|
|
||||||
Simply set the corresponding value to 1 instead of 0.
|
Simply set the corresponding value to 1 instead of 0.
|
||||||
|
|
|
@ -23,7 +23,7 @@ e-mail : support@circuitsathome.com
|
||||||
#define _avrpins_h_
|
#define _avrpins_h_
|
||||||
|
|
||||||
// Support for these boards needs to be manually activated in settings.h or in a makefile
|
// Support for these boards needs to be manually activated in settings.h or in a makefile
|
||||||
#if !defined(BOARD_MEGA_ADK) && defined(__AVR_ATmega2560__) && USE_UHS_MEGA_ADK
|
#if !defined(BOARD_MEGA_ADK) && defined(__AVR_ATmega2560__) && (USE_UHS_MEGA_ADK || defined(ARDUINO_AVR_ADK))
|
||||||
#define BOARD_MEGA_ADK
|
#define BOARD_MEGA_ADK
|
||||||
#elif !defined(BOARD_BLACK_WIDDOW) && USE_UHS_BLACK_WIDDOW
|
#elif !defined(BOARD_BLACK_WIDDOW) && USE_UHS_BLACK_WIDDOW
|
||||||
#define BOARD_BLACK_WIDDOW
|
#define BOARD_BLACK_WIDDOW
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
/* Set this to 1 if you are using an Arduino Mega ADK board with MAX3421e built-in */
|
/* Set this to 1 if you are using an Arduino Mega ADK board with MAX3421e built-in */
|
||||||
#define USE_UHS_MEGA_ADK 0
|
#define USE_UHS_MEGA_ADK 0 // If you are using Arduino 1.5.5 or newer there is no need to do this manually
|
||||||
|
|
||||||
/* Set this to 1 if you are using a Black Widdow */
|
/* Set this to 1 if you are using a Black Widdow */
|
||||||
#define USE_UHS_BLACK_WIDDOW 0
|
#define USE_UHS_BLACK_WIDDOW 0
|
||||||
|
|
Loading…
Reference in a new issue