1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-04 15:24:12 +01:00
Arduino/hardware/sam/variants/sam3s-ek/variant.h

54 lines
1.3 KiB
C
Raw Normal View History

#ifndef _BOARD_
#define _BOARD_
2011-06-01 01:54:47 +02:00
/*----------------------------------------------------------------------------
* Headers
*----------------------------------------------------------------------------*/
2011-06-01 01:54:47 +02:00
#include "libsam/chip.h"
2011-06-01 01:54:47 +02:00
#include "include/bitbanding.h"
#include "include/board_lowlevel.h"
#include "include/timetick.h"
2011-06-01 01:54:47 +02:00
/**
* Libc porting layers
*/
#if defined ( __GNUC__ ) /* GCC CS3 */
# include "include/syscalls.h" /** RedHat Newlib minimal stub */
2011-06-01 01:54:47 +02:00
#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_ */