libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
efm32/memorymap.h
Go to the documentation of this file.
1/*
2 * This file is part of the libopencm3 project.
3 *
4 * Copyright (C) 2012 chrysn <chrysn@fsfe.org>
5 * Copyright (C) 2015 Kuldeep Singh Dhaka <kuldeepdhaka9@gmail.com>
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/** @file
22 *
23 * Dispatcher for the base address definitions, depending on the particular
24 * Gecko family.
25 *
26 * @see efm32tg/memorymap.h
27 * @see efm32lg/memorymap.h
28 */
29
30#if defined(EFM32TG)
31# include <libopencm3/efm32/tg/memorymap.h>
32#elif defined(EFM32LG)
33# include <libopencm3/efm32/lg/memorymap.h>
34#elif defined(EFM32HG)
35# include <libopencm3/efm32/hg/memorymap.h>
36#elif defined(EFM32WG)
38#elif defined(EZR32WG)
39# include <libopencm3/efm32/ezr32wg/memorymap.h>
40#else
41# error "efm32 family not defined."
42#endif