#ifndef _ARENA_BOARD_CONFIG_GENERIC_QT_H_
#define _ARENA_BOARD_CONFIG_GENERIC_QT_H_
//-----------------------------------------------------------------------------
///
/// \brief  Libbiwak board description
///
///         Basic Qt Interface
///
/// \author Maximilian Seesslen <mes@seesslen.net>
///
//-----------------------------------------------------------------------------


#define ARENA_RTC_1           1

#define ARENA_ADC_1           eAdc1
#define ARENA_ADC_1_NAME      Adc1

// Qt Platform: eGpioPeripheralC is inputs
#define ARENA_INPUT_1         eGpioPeripheralC, eGpioPin0
#define ARENA_INPUT_2         eGpioPeripheralC, eGpioPin1
#define ARENA_INPUT_3         eGpioPeripheralC, eGpioPin2
#define ARENA_INPUT_4         eGpioPeripheralC, eGpioPin3
#define ARENA_INPUT_5         eGpioPeripheralC, eGpioPin4
#define ARENA_INPUT_6         eGpioPeripheralC, eGpioPin5
#define ARENA_INPUT_7         eGpioPeripheralC, eGpioPin6
#define ARENA_INPUT_8         eGpioPeripheralC, eGpioPin7

// Qt Platform: eGpioPeripheralD is outputs
#define ARENA_OUTPUT_1        eGpioPeripheralD, eGpioPin0
#define ARENA_OUTPUT_2        eGpioPeripheralD, eGpioPin1
#define ARENA_OUTPUT_3        eGpioPeripheralD, eGpioPin2
#define ARENA_OUTPUT_4        eGpioPeripheralD, eGpioPin3
#define ARENA_OUTPUT_5        eGpioPeripheralD, eGpioPin4
#define ARENA_OUTPUT_6        eGpioPeripheralD, eGpioPin5
#define ARENA_OUTPUT_7        eGpioPeripheralD, eGpioPin6
#define ARENA_OUTPUT_8        eGpioPeripheralD, eGpioPin7

#define ARENA_HAS_LED         4
#define ARENA_LED_1           eGpioPeripheralD, eGpioPin8
#define ARENA_LED_2           eGpioPeripheralD, eGpioPin9
#define ARENA_LED_3           eGpioPeripheralD, eGpioPin10
#define ARENA_LED_4           eGpioPeripheralD, eGpioPin11

#define ARENA_WATCHDOG_1      1

#define ARENA_RETAIN_1        1
// Linux port of biwyk only supports one retain area yet.
//#define ARENA_RETAIN_2        2

#define ARENA_SPI_1        eSpi1, \
                           eGpioPeripheralA, eGpioPin5, \
                           eGpioPeripheralA, eGpioPin7, \
                           eGpioPeripheralA, eGpioPin6

//class CGraphicDisplayQt;
#define ARENA_GDISPLAY_1_CLASS CGraphicDisplayQt

#define ARENA_GPIO_1           eGpioPeripheralF, eGpioPin1
#define ARENA_GPIO_2           eGpioPeripheralF, eGpioPin1
#define ARENA_GPIO_3           eGpioPeripheralF, eGpioPin1
#define ARENA_GPIO_4           eGpioPeripheralF, eGpioPin1
#define ARENA_GPIO_5           eGpioPeripheralF, eGpioPin1


//---fin-----------------------------------------------------------------------
#endif // ? ! _ARENA_BOARD_CONFIG_GENERIC_QT_H_
