cpu_conf.h File Reference

ARM7TDMI_GBA CPU configuration. More...

Detailed Description

ARM7TDMI_GBA CPU configuration.

Author

Definition in file cpu_conf.h.

Go to the source code of this file.

Macros

#define UND_STACKSIZE   (64)
 Stack size used for the undefined instruction interrupt stack.
 
#define ABT_STACKSIZE   (64)
 Stack size used for the abort interrupt stack.
 
#define ISR_STACKSIZE   (400)
 Stack size used for the interrupt (ISR) stack.
 
#define FIQ_STACKSIZE   (64)
 Stack size used for the fast interrupt (FIQ) stack.
 
#define SVC_STACKSIZE   (400)
 Stack size used for the supervisor mode (SVC) stack.
 
#define USR_STACKSIZE   (4096)
 Stack size used for the user mode/kernel init stack.
 
#define NUM_HEAPS   (2)
 The CPU has 2 blocks of SRAM at different addresses. More...
 
#define IRQ_API_INLINED   (1)
 This arch uses the inlined irq API.
 

Kernel configuration

#define THREAD_EXTRA_STACKSIZE_PRINTF   (512)
 
#define THREAD_STACKSIZE_DEFAULT   (1024)
 
#define THREAD_STACKSIZE_IDLE   (160)
 

Macro Definition Documentation

◆ NUM_HEAPS

#define NUM_HEAPS   (2)

The CPU has 2 blocks of SRAM at different addresses.

(primary on-chip RAM and external working EWRAM)

Definition at line 86 of file cpu_conf.h.