1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-02 13:24:12 +01:00
Arduino/hardware/sam/variants/sam3s-ek/variant.h
2011-06-21 00:48:47 +02:00

54 lines
1.3 KiB
C

#ifndef _BOARD_
#define _BOARD_
/*----------------------------------------------------------------------------
* Headers
*----------------------------------------------------------------------------*/
#include "libsam/chip.h"
#include "include/bitbanding.h"
#include "include/board_lowlevel.h"
#include "include/timetick.h"
/**
* Libc porting layers
*/
#if defined ( __GNUC__ ) /* GCC CS3 */
# include "include/syscalls.h" /** RedHat Newlib minimal stub */
#endif
/*----------------------------------------------------------------------------
* Definitions
*----------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------*/
/** Name of the board */
#define BOARD_NAME "SAM3S-EK"
/*
#define BOARD_REV_A
*/
#define BOARD_REV_B
/** Frequency of the board main oscillator */
#define BOARD_MAINOSC 12000000
/** Master clock frequency (when using board_lowlevel.c) */
#define BOARD_MCK 64000000
/*----------------------------------------------------------------------------
* Arduino objects
*----------------------------------------------------------------------------*/
extern UARTClass Serial1 ;
extern UARTClass Serial2 ;
extern USARTClass Serial3 ;
extern USARTClass Serial4 ;
#endif /* #ifndef _BOARD_ */