#ifndef _ARENA_APP_CONFIG_H_
#define _ARENA_APP_CONFIG_H_
//-----------------------------------------------------------------------------
//
// \brief   Libarena board description
//
//          IR-CLock; thats a board with IR-Receiver and an grafical
//          OLED-Display at SPI.
//
// \author  Maximilian Seesslen <mes@seesslen.net>
//
//-----------------------------------------------------------------------------


#define ARENA_USE_RTC               1
#define ARENA_USE_WATCHDOG          1
#define ARENA_USE_TIMER             1

// VOC sensor on i²C address 0xB5
#define ARENA_USE_I2C               1
#define ARENA_USE_VOC               1
#define ARENA_VOC_0                 *i2c[0], 0xB5

#define ARENA_USE_TSIC              1
#define ARENA_TSIC_0_GPIO           ARENA_GPIO_0
#define ARENA_USE_GPIO_0_EXTI       Y

#define ARENA_USE_OUT               1
#define ARENA_OUT_0_NAME            Buzzer1

#define ARENA_USE_LED               2
#define ARENA_USE_LED_HEARTBEAT     yes
#define ARENA_LED_0_NAME            Heartbeat
#define ARENA_LED_1_NAME            VocLevel
#if defined (ARENA_HAS_LED) && ARENA_HAS_LED < 200
   asdasdasd
#endif

#define ARENA_USE_UART             1
#define ARENA_DEBUG_UART           0
#define  ARENA_UART_1_NAME         Terminal

#define ARENA_USE_SPI              1

#define ARENA_USE_EADISPLAY        1
#define ARENA_DISPLAY_0_CLASS      CEaDisplay
#define ARENA_DISPLAY_0            eEaDisplayTypeW162Oled5VSpi, \
                                   *spi[0],                /* SPI bus */ \
                                   ARENA_GPIO_1,          /* ChipSelect */ \
                                   ARENA_GPIO_2            /* RS */

#define ARENA_USE_FLASH             1
#define ARENA_USE_RETAIN            2
#define ARENA_RETAIN_1_NAME         Retain
#define ARENA_RETAIN_2_NAME         Settings

#define ARENA_USE_ADC               1
#define ARENA_USE_BUTTON            1
#define ARENA_BUTTON_0_NAME         User
#define ARENA_USE_BUTTON_0_EXTI     1


//---fin-----------------------------------------------------------------------
#endif // ? ! _ARENA_APP_CONFIG_H_
