2015-07-27 16:42:39 +02:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2015 Freie Universität Berlin
|
|
|
|
*
|
|
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
|
|
* directory for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @defgroup cpu_ezr32wg Silicon Labs EZR32WG
|
|
|
|
* @ingroup cpu
|
|
|
|
* @brief Support for the Silicon Labs EZR32 Wonder Gecko CPU
|
|
|
|
* @{
|
|
|
|
*
|
|
|
|
* @file
|
|
|
|
* @brief Implementation specific CPU configuration options
|
|
|
|
*
|
|
|
|
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef CPU_CONF_H
|
|
|
|
#define CPU_CONF_H
|
|
|
|
|
2016-01-14 23:21:49 +01:00
|
|
|
#include "cpu_conf_common.h"
|
|
|
|
|
2015-07-27 16:42:39 +02:00
|
|
|
#if (CPU_MODEL == ezr32wg330f256r60)
|
2017-03-06 16:28:11 +01:00
|
|
|
#include "vendor/ezr32wg330f256r60.h"
|
2015-07-27 16:42:39 +02:00
|
|
|
#else
|
|
|
|
#error "No CPU headers for the defined CPU_MODEL found"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief ARM Cortex-M specific CPU configuration
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
#define CPU_DEFAULT_IRQ_PRIO (1U)
|
|
|
|
#define CPU_IRQ_NUMOF (FPUEH_IRQn + 1)
|
|
|
|
#define CPU_FLASH_BASE FLASH_BASE
|
|
|
|
/** @} */
|
|
|
|
|
2020-07-14 22:36:15 +02:00
|
|
|
/**
|
|
|
|
* @brief Bit-Band configuration
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
#ifdef BITBAND_RAM_BASE
|
|
|
|
#define CPU_HAS_BITBAND 1
|
|
|
|
#endif
|
|
|
|
/** @} */
|
|
|
|
|
2015-07-27 16:42:39 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2017-05-23 18:19:52 +02:00
|
|
|
#endif /* CPU_CONF_H */
|
2015-07-27 16:42:39 +02:00
|
|
|
/** @} */
|