Default memory layout. More...
Go to the source code of this file.
Defines | |
#define | NUTMEM_SIZE 4096 |
Number of bytes available in fast data memory. | |
#define | NUTMEM_START 0x100 |
First address of fast data memory. | |
#define | NUTMEM_RESERVED 64 |
Number of bytes reserved for special purposes. | |
#define | NUTXMEM_SIZE 28416 |
Number of bytes available in extended data memory. | |
#define | NUTXMEM_START 0x1100 |
#define | NUTBANK_COUNT 0 |
Number of memory banks. | |
#define | NUTBANK_START 0x8000 |
Start address of memory banks. | |
#define | NUTBANK_SIZE 0x4000 |
Size of a single memory bank. | |
#define | NUTBANK_SR 0xFF00 |
Address of the bank select register. | |
#define | ARTHERCPLDSTART 0x1100 |
#define | ARTHERCPLDSPI 0x1200 |
Default memory layout.
$Log$ Revision 1.1 2004/08/25 10:56:10 haraldkipp More general memory layout definitions moved from cfg/bankmem.h to cfg/memory.h.
Values can be changed by the configurator.
#define NUTMEM_SIZE 4096 |
Number of bytes available in fast data memory.
On most platforms this value specifies the total number of bytes available in RAM.
On Harvard architectures this value specifies the size of the data memory. It will be occupied by global variables and static data. Any remaining space will be added to the Nut/OS heap during system initialization.
#define NUTMEM_START 0x100 |
First address of fast data memory.
#define NUTMEM_RESERVED 64 |
Number of bytes reserved for special purposes.
Right now this is used with the AVR platform only. The specified number of bytes may be used by a device driver when the external memory interface is disabled.
#define NUTXMEM_SIZE 28416 |
Number of bytes available in extended data memory.
#define NUTXMEM_START 0x1100 |
#define NUTBANK_COUNT 0 |
Number of memory banks.
For systems without banked memory this is set to zero. Ethernut 2 has 30 memory banks.
Referenced by NutSegBufInit(), NutSegBufReadCommit(), NutSegBufReadLast(), NutSegBufWriteCommit(), and NutSegBufWriteLast().
#define NUTBANK_START 0x8000 |
Start address of memory banks.
For systems without banked memory this is ignored.
Referenced by NutSegBufInit().
#define NUTBANK_SIZE 0x4000 |
Size of a single memory bank.
For systems without banked memory this is ignored.
Referenced by NutSegBufInit().
#define NUTBANK_SR 0xFF00 |
Address of the bank select register.
For systems without banked memory this is ignored.
#define ARTHERCPLDSTART 0x1100 |
#define ARTHERCPLDSPI 0x1200 |