1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-26 15:03:53 +01:00
RIOT/cpu/fe310/include/cpu_conf.h
2025-09-18 17:45:12 +02:00

46 lines
712 B
C

/*
* SPDX-FileCopyrightText: 2017 Ken Rabold
* SPDX-License-Identifier: LGPL-2.1-only
*/
#pragma once
/**
* @ingroup cpu_fe310
* @{
*
* @file
* @brief CPU specific configuration options
*
* @author Ken Rabold
*/
#include "cpu_conf_common.h"
#include "vendor/platform.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Base address of the CLINT
*/
#define CLINT_BASE_ADDR (CLINT_CTRL_ADDR)
/**
* @brief Base address of the PLIC peripheral
*/
#define PLIC_BASE_ADDR (PLIC_CTRL_ADDR)
/**
* @brief Number of available PMP regions
* Note, the upper 8 regions are hardwired to zero!
*/
#define NUM_PMP_ENTRIES 16
#ifdef __cplusplus
}
#endif
/** @} */