#ifndef _ARENA_APP_CONFIG_H_
#define _ARENA_APP_CONFIG_H_
//-----------------------------------------------------------------------------
//
// \brief   Libarena board description
//
//          Steifomat
//
// \author  Maximilian Seesslen <mes@seesslen.net>
//
//-----------------------------------------------------------------------------


#define STEIFOMAT_POTS              4

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

#define ARENA_USE_OUTPUT            (1+STEIFOMAT_POTS)
#define ARENA_OUTPUT_0_NAME         ARef
#define ARENA_OUTPUT_0              ARENA_GPIO_0
#define ARENA_OUTPUT_0_PINS         ARENA_GPIO_0_PINS
#define ARENA_OUTPUT_1_NAME         Pot0
#define ARENA_OUTPUT_1              ARENA_GPIO_1
#define ARENA_OUTPUT_1_PINS         ARENA_GPIO_1_PINS
#define ARENA_OUTPUT_2_NAME         Pot1
#define ARENA_OUTPUT_2              ARENA_GPIO_2
#define ARENA_OUTPUT_2_PINS         ARENA_GPIO_2_PINS
#define ARENA_OUTPUT_3_NAME         Pot2
#define ARENA_OUTPUT_3              ARENA_GPIO_3
#define ARENA_OUTPUT_3_PINS         ARENA_GPIO_3_PINS
#define ARENA_OUTPUT_4_NAME         Pot3
#define ARENA_OUTPUT_4              ARENA_GPIO_4
#define ARENA_OUTPUT_4_PINS         ARENA_GPIO_4_PINS

//#define ARENA_USE_LED               (2+STEIFOMAT_POTS)
#define ARENA_USE_LED               (2)
#define ARENA_USE_LED_HEARTBEAT     yes
#define ARENA_LED_0_NAME            Heartbeat
#define ARENA_LED_1_NAME            User1
#define ARENA_LED_1                 ARENA_GPIO_5
#define ARENA_LED_1_PINS            ARENA_GPIO_5_PINS
#define ARENA_LED_2_NAME            Pot0
#define ARENA_LED_3_NAME            Pot1
#define ARENA_LED_4_NAME            Pot2
#define ARENA_LED_5_NAME            Pot3

#define ARENA_USE_UART              1
#define ARENA_DEBUG_UART            0
#define ARENA_UART_0_NAME           Terminal

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

#define ARENA_USE_ADC               1
//#define ARENA_USE_ADC_CHANNELS      4
#define ARENA_USE_ADC_LINES         ( STEIFOMAT_POTS )

#define ARENA_USE_FLASH             1
#define ARENA_USE_RETAIN            2

#define ARENA_USE_SPI               1


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