Loading...
Searching...
No Matches
cpu_conf_common.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2020 Koen Zandberg <koen@bergzand.net>
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser General
5 * Public License v2.1. See the file LICENSE in the top level directory for more
6 * details.
7 */
8
9#pragma once
10
20
21#include "vendor/riscv_csr.h"
22#include "cpu_conf_common.h"
23
28#ifndef THREAD_EXTRA_STACKSIZE_PRINTF
29#define THREAD_EXTRA_STACKSIZE_PRINTF (256)
30#endif
31#ifndef THREAD_STACKSIZE_DEFAULT
32#define THREAD_STACKSIZE_DEFAULT (1024)
33#endif
34#ifndef THREAD_STACKSIZE_IDLE
35#define THREAD_STACKSIZE_IDLE (256)
36#endif
38
42#define PUF_SRAM_ATTRIBUTES __attribute__((used, section(".noinit")))
43
47#define HAVE_HEAP_STATS
48
52#define IRQ_API_INLINED (1)
53
54#ifdef __cplusplus
55extern "C" {
56#endif
57
58#ifdef __cplusplus
59}
60#endif
61
RISC-V CPU configuration options.