libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
sam/memorymap.h
Go to the documentation of this file.
1/*
2 * This file is part of the libopencm3 project.
3 *
4 * Copyright (C) 2013 Gareth McMullin <gareth@blacksphere.co.nz>
5 * Copyright (C) 2014 Felix Held <felix-libopencm3@felixheld.de>
6 *
7 * This library is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU Lesser General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public License
18 * along with this library. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21#ifndef SAM_MEMORYMAP_H
22#define SAM_MEMORYMAP_H
23
24#if defined(SAM3A)
25# include <libopencm3/sam/3a/memorymap.h>
26#elif defined(SAM3N)
28#elif defined(SAM3S)
29# include <libopencm3/sam/3s/memorymap.h>
30#elif defined(SAM3U)
31# include <libopencm3/sam/3u/memorymap.h>
32#elif defined(SAM3X)
33# include <libopencm3/sam/3x/memorymap.h>
34#elif defined(SAM4L)
35# include <libopencm3/sam/4l/memorymap.h>
36#elif defined(SAMD)
37# include <libopencm3/sam/d/memorymap.h>
38#else
39# error "Processor family not defined."
40#endif
41
42#endif
43