// eCos memory layout

#ifndef __ASSEMBLER__
#include <cyg/infra/cyg_type.h>
#include <stddef.h>

#endif
#include <pkgconf/system.h>
#define CYGMEM_REGION_ram (0x40000000)
#ifdef CYGPKG_DEVS_FLASH_LPC2XXX
// Top 32 bytes used by IAP
#define CYGMEM_REGION_ram_SIZE (0x0000ffe0)
#else
#define CYGMEM_REGION_ram_SIZE (0x00010000)
#endif
#define CYGMEM_REGION_ram_ATTR (CYGMEM_REGION_ATTR_R | CYGMEM_REGION_ATTR_W)
#ifndef __ASSEMBLER__
extern char CYG_LABEL_NAME (__heap1) [];
#endif
#define CYGMEM_SECTION_heap1 (CYG_LABEL_NAME (__heap1))
#define CYGMEM_SECTION_heap1_SIZE (CYGMEM_REGION_ram + CYGMEM_REGION_ram_SIZE - (size_t) CYG_LABEL_NAME (__heap1))

