Loading...
Searching...
No Matches
cpu_conf_common.h File Reference

RISC-V CPU configuration options. More...

Detailed Description

RISC-V CPU configuration options.

Author
Koen Zandberg

Definition in file cpu_conf_common.h.

#include "vendor/riscv_csr.h"
#include "cpu_conf_common.h"
+ Include dependency graph for cpu_conf_common.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PUF_SRAM_ATTRIBUTES   __attribute__((used, section(".noinit")))
 Attribute for memory sections required by SRAM PUF.
 
#define HAVE_HEAP_STATS
 Declare the heap_stats function as available.
 
#define IRQ_API_INLINED   (1)
 This arch uses the inlined irq API.
 

Configuration of default stack sizes

#define THREAD_EXTRA_STACKSIZE_PRINTF   (256)
 
#define THREAD_STACKSIZE_DEFAULT   (1024)
 
#define THREAD_STACKSIZE_IDLE   (256)
 

Macro Definition Documentation

◆ HAVE_HEAP_STATS

#define HAVE_HEAP_STATS

Declare the heap_stats function as available.

Definition at line 48 of file cpu_conf_common.h.

◆ IRQ_API_INLINED

#define IRQ_API_INLINED   (1)

This arch uses the inlined irq API.

Definition at line 53 of file cpu_conf_common.h.

◆ PUF_SRAM_ATTRIBUTES

#define PUF_SRAM_ATTRIBUTES   __attribute__((used, section(".noinit")))

Attribute for memory sections required by SRAM PUF.

Definition at line 43 of file cpu_conf_common.h.

◆ THREAD_EXTRA_STACKSIZE_PRINTF

#define THREAD_EXTRA_STACKSIZE_PRINTF   (256)

Definition at line 30 of file cpu_conf_common.h.

◆ THREAD_STACKSIZE_DEFAULT

#define THREAD_STACKSIZE_DEFAULT   (1024)

Definition at line 33 of file cpu_conf_common.h.

◆ THREAD_STACKSIZE_IDLE

#define THREAD_STACKSIZE_IDLE   (256)

Definition at line 36 of file cpu_conf_common.h.