cpu_conf.h File Reference

Native CPU configuration. More...

Detailed Description

Native CPU configuration.

Copyright (C) 2013 Ludwig Knüpfer ludwi.nosp@m.g.kn.nosp@m.uepfe.nosp@m.r@fu.nosp@m.-berl.nosp@m.in.d.nosp@m.e

This file is subject to the terms and conditions of the GNU Lesser General Public License v2.1. See the file LICENSE in the top level directory for more details.

Author
Ludwig Knüpfer ludwi.nosp@m.g.kn.nosp@m.uepfe.nosp@m.r@fu.nosp@m.-berl.nosp@m.in.d.nosp@m.e

Definition in file cpu_conf.h.

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

Go to the source code of this file.

Macros

#define NATIVE_ETH_PROTO   0x1234
 Native internal Ethernet protocol number.
 
#define THREAD_STACKSIZE_DEFAULT   (8192)
 CPU specific default stack sizes. More...
 
#define THREAD_STACKSIZE_IDLE   (8192)
 
#define THREAD_EXTRA_STACKSIZE_PRINTF   (4096)
 
#define THREAD_EXTRA_STACKSIZE_PRINTF_FLOAT   (4096)
 
#define THREAD_STACKSIZE_MINIMUM   (8192)
 
#define ISR_STACKSIZE   (8192)
 
#define FLASHPAGE_SIZE   (512)
 Native Flash emulation Use unusual parameters to trigger edge cases.
 
#define FLASHPAGE_NUMOF   (32)
 
#define FLASHPAGE_WRITE_BLOCK_ALIGNMENT   (8)
 
#define FLASHPAGE_WRITE_BLOCK_SIZE   (16)
 
#define FLASHPAGE_ERASE_STATE   (0x0)
 
#define CPU_FLASH_BASE   ((uintptr_t)_native_flash)
 
char _native_flash [FLASHPAGE_SIZE *FLASHPAGE_NUMOF]
 

Macro Definition Documentation

◆ THREAD_STACKSIZE_DEFAULT

#define THREAD_STACKSIZE_DEFAULT   (8192)

CPU specific default stack sizes.

TODO: tighten stack sizes

Definition at line 42 of file cpu_conf.h.