#ifndef __board_h__
#define __board_h__

/*
 * Board selection
 */
 
#if defined(CONFIG_BOARD_MEDUSA)
#  include "medusa.h"
#else 
#  if defined(CONFIG_BOARD_MEDUSA_REV2)
#    include "medusa_rev2.h"
#  else 
#    if defined(CONFIG_BOARD_OLIMEX_P213X)
#      include "olimex.h"
#    else
#      error "no board hardware config defined"
#    endif
#  endif
#endif

#ifdef __cplusplus
extern "C" {
#endif

void boardSetBusyLed(boolean);
void boardLockBusyLed(boolean lockState);
void boardInit(void);
void boardInit2(void);
void boardTimerLedToggle(void);

#ifdef __cplusplus
}
#endif

#endif /* __board_h__ */
