cpu_conf_common.h File Reference

Common CPU definitione for Cortex-M family based MCUs. More...

Detailed Description

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define THREAD_EXTRA_STACKSIZE_PRINTF   (512)
 Configuration of default stack sizes. More...
 
#define THREAD_STACKSIZE_DEFAULT   (1024)
 
#define THREAD_STACKSIZE_IDLE   (256)
 
#define ISR_STACKSIZE   (512U)
 Stack size used for the exception (ISR) stack.
 

Macro Definition Documentation

◆ THREAD_EXTRA_STACKSIZE_PRINTF

#define THREAD_EXTRA_STACKSIZE_PRINTF   (512)

As all members of the Cortex-M family behave identical in terms of stack usage, we define the default stack size values here centrally for all CPU implementations.

If needed, you can overwrite these values the the cpu_conf.h file of the specific CPU implementation.

Todo:

Adjust values for Cortex-M4F with FPU?

Configure second set if no newlib nano.specs are available?

Definition at line 41 of file cpu_conf_common.h.