Loading...
Searching...
No Matches
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.
 
#define THREAD_STACKSIZE_IDLE   (THREAD_STACKSIZE_DEFAULT)
 
#define THREAD_EXTRA_STACKSIZE_PRINTF   (4096)
 
#define THREAD_EXTRA_STACKSIZE_PRINTF_FLOAT   (4096)
 
#define THREAD_STACKSIZE_MINIMUM   (THREAD_STACKSIZE_DEFAULT)
 
#define ISR_STACKSIZE   (THREAD_STACKSIZE_DEFAULT)
 
#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

◆ CPU_FLASH_BASE

#define CPU_FLASH_BASE   ((uintptr_t)_native_flash)

Definition at line 89 of file cpu_conf.h.

◆ FLASHPAGE_ERASE_STATE

#define FLASHPAGE_ERASE_STATE   (0x0)

Definition at line 84 of file cpu_conf.h.

◆ FLASHPAGE_NUMOF

#define FLASHPAGE_NUMOF   (32)

Definition at line 75 of file cpu_conf.h.

◆ FLASHPAGE_SIZE

#define FLASHPAGE_SIZE   (512)

Native Flash emulation Use unusual parameters to trigger edge cases.

Definition at line 72 of file cpu_conf.h.

◆ FLASHPAGE_WRITE_BLOCK_ALIGNMENT

#define FLASHPAGE_WRITE_BLOCK_ALIGNMENT   (8)

Definition at line 78 of file cpu_conf.h.

◆ FLASHPAGE_WRITE_BLOCK_SIZE

#define FLASHPAGE_WRITE_BLOCK_SIZE   (16)

Definition at line 81 of file cpu_conf.h.

◆ ISR_STACKSIZE

#define ISR_STACKSIZE   (THREAD_STACKSIZE_DEFAULT)

Definition at line 52 of file cpu_conf.h.

◆ NATIVE_ETH_PROTO

#define NATIVE_ETH_PROTO   0x1234

Native internal Ethernet protocol number.

Definition at line 59 of file cpu_conf.h.

◆ THREAD_EXTRA_STACKSIZE_PRINTF

#define THREAD_EXTRA_STACKSIZE_PRINTF   (4096)

Definition at line 41 of file cpu_conf.h.

◆ THREAD_EXTRA_STACKSIZE_PRINTF_FLOAT

#define THREAD_EXTRA_STACKSIZE_PRINTF_FLOAT   (4096)

Definition at line 44 of file cpu_conf.h.

◆ THREAD_STACKSIZE_DEFAULT

#define THREAD_STACKSIZE_DEFAULT   (8192)

CPU specific default stack sizes.

TODO: tighten stack sizes

Definition at line 34 of file cpu_conf.h.

◆ THREAD_STACKSIZE_IDLE

#define THREAD_STACKSIZE_IDLE   (THREAD_STACKSIZE_DEFAULT)

Definition at line 38 of file cpu_conf.h.

◆ THREAD_STACKSIZE_MINIMUM

#define THREAD_STACKSIZE_MINIMUM   (THREAD_STACKSIZE_DEFAULT)

Definition at line 48 of file cpu_conf.h.