/** * @file * * @ingroup lpc32xx_linker_mzx_stage_1 * * @brief Memory map. */ /** * @defgroup lpc32xx_linker_mzx_stage_1 MZX Stage-1 Program Memory Map * * @ingroup bsp_linker * * @brief MZX stage-1 program memory map. */ MEMORY { RAM_INT : ORIGIN = 0x08000000, LENGTH = 232k RAM_VEC : ORIGIN = 0x0803a000, LENGTH = 8k RAM_MMU : ORIGIN = 0x0803c000, LENGTH = 16k RAM_SCRATCH : ORIGIN = 0x80004000, LENGTH = 4k /* SDRAM on DYCS0 */ } REGION_ALIAS ("REGION_START", RAM_INT); REGION_ALIAS ("REGION_VECTOR", RAM_VEC); REGION_ALIAS ("REGION_TEXT", RAM_INT); REGION_ALIAS ("REGION_TEXT_LOAD", RAM_INT); REGION_ALIAS ("REGION_RODATA", RAM_INT); REGION_ALIAS ("REGION_RODATA_LOAD", RAM_INT); REGION_ALIAS ("REGION_DATA", RAM_INT); REGION_ALIAS ("REGION_DATA_LOAD", RAM_INT); REGION_ALIAS ("REGION_FAST_TEXT", RAM_INT); REGION_ALIAS ("REGION_FAST_TEXT_LOAD", RAM_INT); REGION_ALIAS ("REGION_FAST_DATA", RAM_INT); REGION_ALIAS ("REGION_FAST_DATA_LOAD", RAM_INT); REGION_ALIAS ("REGION_BSS", RAM_INT); REGION_ALIAS ("REGION_WORK", RAM_INT); REGION_ALIAS ("REGION_STACK", RAM_INT); REGION_ALIAS ("REGION_NOCACHE", RAM_INT); REGION_ALIAS ("REGION_NOCACHE_LOAD", RAM_INT); lpc32xx_scratch_area = ORIGIN (RAM_SCRATCH); bsp_stack_svc_size = DEFINED (bsp_stack_svc_size) ? bsp_stack_svc_size : 7168; bsp_vector_table_in_start_section = 1; INCLUDE linkcmds.lpc32xx