Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
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
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
52
extern
"C"
{
53
#endif
54
55
#ifdef __cplusplus
56
}
57
#endif
58
cpu_conf_common.h
RISC-V CPU configuration options.
Generated on Tue Sep 30 2025 23:56:43 by
1.9.1