Native CPU configuration. More...
Native CPU configuration.
Definition in file cpu_conf.h.
Go to the source code of this file.
#define | THREAD_STACKSIZE_DEFAULT (8192) |
CPU-specific default stack sizes. | |
#define | THREAD_STACKSIZE_IDLE (THREAD_STACKSIZE_DEFAULT) |
Default size of idle thread stack. | |
#define | THREAD_EXTRA_STACKSIZE_PRINTF (4096) |
Extra stack buffer capacity needed for printf | |
#define | THREAD_EXTRA_STACKSIZE_PRINTF_FLOAT (4096) |
Extra stack buffer capacity needed for printf in floating-point operations. | |
#define | THREAD_STACKSIZE_MINIMUM (THREAD_STACKSIZE_DEFAULT) |
Minimum thread size. | |
#define | ISR_STACKSIZE (THREAD_STACKSIZE_DEFAULT) |
Size of stack used in ISR context. | |
Networking constants | |
#define | NATIVE_ETH_PROTO 0x1234 |
Native internal Ethernet protocol number. | |
Native flash emulation | |
Use unusual parameters to trigger edge cases | |
#define | FLASHPAGE_SIZE (512) |
Size of a single emulated flash page. | |
#define | FLASHPAGE_NUMOF (32) |
Total number of emulated flash pages. | |
#define | FLASHPAGE_WRITE_BLOCK_ALIGNMENT (8) |
Flashpage alignment. | |
#define | FLASHPAGE_WRITE_BLOCK_SIZE (16) |
Flashpage block size. | |
#define | FLASHPAGE_ERASE_STATE (0x0) |
Value of bytes in erased flash. | |
#define | CPU_FLASH_BASE ((uintptr_t)_native_flash) |
Base buffer pointer to emulated flash. | |
char | _native_flash [FLASHPAGE_SIZE *FLASHPAGE_NUMOF] |
Emulated flash buffer. | |