NIBO Library 2.11
|
00001 /* BSD-License: 00002 00003 Copyright (c) 2007 by Nils Springob, nicai-systems, Germany 00004 00005 All rights reserved. 00006 00007 Redistribution and use in source and binary forms, with or without modification, 00008 are permitted provided that the following conditions are met: 00009 00010 * Redistributions of source code must retain the above copyright notice, 00011 this list of conditions and the following disclaimer. 00012 * Redistributions in binary form must reproduce the above copyright notice, 00013 this list of conditions and the following disclaimer in the documentation 00014 and/or other materials provided with the distribution. 00015 * Neither the name nicai-systems nor the names of its contributors may be 00016 used to endorse or promote products derived from this software without 00017 specific prior written permission. 00018 00019 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 00020 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 00021 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 00022 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 00023 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 00024 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 00025 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 00026 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 00027 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 00028 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 00029 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00030 00031 */ 00032 00033 #ifndef NIBOCONFIG_H_ 00034 #define NIBOCONFIG_H_ 00035 00036 #include <avr/version.h> 00037 00038 #if (__AVR_LIBC_VERSION__ < 10607UL) 00039 #error "Minimum AVR Libc version: 1.6.7 (WinAVR-20100110)" 00040 #endif 00041 00042 00043 // low level drivers 00044 #define NIBO_USE_DISPLAY 00045 #define NIBO_USE_PWM 00046 #define NIBO_USE_DELAY 00047 #define NIBO_USE_I2CMASTER 00048 #define NIBO_USE_ADC 00049 #define NIBO_USE_UART0 00050 #ifdef _NIBO_2_ 00051 #define NIBO_USE_SPISLAVE 00052 #define NIBO_USE_SOUND 00053 #define NIBO_USE_UART1 00054 #endif 00055 00056 // high level drivers 00057 #define NIBO_USE_TEXT 00058 #define NIBO_USE_GFX 00059 #define NIBO_USE_LEDS 00060 #ifdef _NIBO_2_ 00061 #define NIBO_USE_COPRO 00062 #else 00063 #define NIBO_USE_IRCO 00064 #define NIBO_USE_MOTCO 00065 #endif 00066 #define NIBO_USE_FLOOR 00067 #define NIBO_USE_BOT 00068 #define NIBO_USE_XBEE 00069 00070 #endif // NIBOCONFIG_H_ 00071 00072 /******************************************************************************/ 00073