FreeCalypso > hg > freecalypso-sw
view target-utils/env/iram.lds @ 137:5fe5559003b7
RV bring-up: RVT "system time" heartbeat messages now get printed every 20 s!
The problem was a slight Nucleus API incompatibility between what the RVF code
from TCS211 expected and what our FreeNucleus implements: in the TCS211
version of Nucleus it was OK to pass 0 for the initial_time parameter to
NU_Create_Timer(), but our version flags such usage as an error.
RVF used 0 as the dummy initial_time value when initializing the legacy RV
timers with NU_DISABLE_TIMER. Implemented fix: using a dummy value of 1
instead.
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 11 Nov 2013 09:56:23 +0000 |
parents | 40f607bb0a2c |
children | e7ba9fcb3637 |
line wrap: on
line source
OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") OUTPUT_ARCH(arm) ENTRY(_entry) SECTIONS { /* code */ . = 0x800750; .text : { /* regular code */ *(.text*) /* gcc voodoo */ *(.glue_7t) *(.glue_7) *(.vfp11_veneer) *(.v4_bx) . = ALIGN(4); } /* read-only data */ . = ALIGN(4); .rodata : { *(.rodata*) } /* initialized data */ . = ALIGN(4); .data : { *(.data) } PROVIDE(edata = .); /* uninitialized data */ .bss (NOLOAD) : { . = ALIGN(4); __bss_start = .; *(.bss) } . = ALIGN(4); __bss_end = .; /* end of image */ _end = .; PROVIDE(end = .); } /* a few absolute definitions */ rom_vars = 0x800518; /* stack_bottom = 0x83FFFC; */ /* * stack_bottom will be set via the --defsym option to ld. * Some programs have minimal IRAM requirements, so it would make more * sense to set stack_bottom to 0x83FFFC, don't use the upper half of * IRAM for anything, and make that program portable to Calypso Lite * devices. But for some other programs we might have some use for * the larger IRAM of our full Calypso devices, in which case we would * want to set stack_bottom to 0x87FFFC instead. */