Loading...
Searching...
No Matches
cpu_conf_common.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2020 Koen Zandberg <koen@bergzand.net>
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
17
18#include "vendor/riscv_csr.h"
19#include "cpu_conf_common.h"
20
25#ifndef THREAD_EXTRA_STACKSIZE_PRINTF
26#define THREAD_EXTRA_STACKSIZE_PRINTF (256)
27#endif
28#ifndef THREAD_STACKSIZE_DEFAULT
29#define THREAD_STACKSIZE_DEFAULT (1024)
30#endif
31#ifndef THREAD_STACKSIZE_IDLE
32#define THREAD_STACKSIZE_IDLE (256)
33#endif
35
39#define PUF_SRAM_ATTRIBUTES __attribute__((used, section(".noinit")))
40
44#define HAVE_HEAP_STATS
45
49#define IRQ_API_INLINED (1)
50
51#ifdef __cplusplus
52extern "C" {
53#endif
54
55#ifdef __cplusplus
56}
57#endif
58
RISC-V CPU configuration options.