#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_1                 *i2c[0], 0xB5
#undef ARENA_USE_I2C
#undef ARENA_USE_VOC

#define ARENA_USE_TSIC             1
#define ARENA_TSIC_1_GPIO           ARENA_GPIO_1
#define ARENA_USE_GPIO_1_EXTI       Y

#define ARENA_USE_OUTPUT            1
#define ARENA_OUTPUT_1_NAME            Buzzer1

#define ARENA_USE_LED              1
#define ARENA_LED_1_NAME            Heartbeat

#define ARENA_USE_UART             1
#define ARENA_DEBUG_UART            0

#define ARENA_USE_SPI              1

#define ARENA_USE_GDISPLAY         1
#define ARENA_GDISPLAY_1_CLASS      CGraphicDisplayNh
#define ARENA_GDISPLAY_1            *spi[0],                /* SPI bus */ \
                                    ARENA_GPIO_3,           /* ChipSelect */ \
                                    ARENA_GPIO_4            /* Data/Instr */

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

//#undef ARENA_USE_RETAIN
//#undef ARENA_USE_FLASH

#define ARENA_USE_IRINPUT           1
#define ARENA_IRINPUT_1             ARENA_GPIO_5
#define ARENA_USE_GPIO_5_EXTI       Y

//#define ARENA_WANT_CAN              1

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