summaryrefslogtreecommitdiff
path: root/bsp/samd21/board/board.h
blob: 0f964a7b3e670af59fe36e5b309aacb3be719533 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* This is a template file for board configuration created by MCUXpresso Project Generator. Enjoy! */

#ifndef _BOARD_H_
#define _BOARD_H_

/*******************************************************************************
 * Definitions
 ******************************************************************************/
#include <stdint.h>
#include "samd21.h"
#include "system_samd21.h"
#include "core_cm0plus.h"              /* Core Peripheral Access Layer */

/* The board name */
#define BOARD_NAME "###-not-specified-###"

#define CHIP_SRAM_END   (0x20000000 + 32*1024)

/*******************************************************************************
 * API
 ******************************************************************************/

#if defined(__cplusplus)
extern "C" {
#endif /* __cplusplus */

/*!
 * @brief initialize debug console to enable printf for this demo/example
 */
void rt_board_init(void);

#if defined(__cplusplus)
}
#endif /* __cplusplus */

#endif /* _BOARD_H_ */