FreeCalypso > hg > freecalypso-sw
view target-utils/libload/Makefile @ 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 | cc1d2413991a |
children | 7daea2476062 |
line wrap: on
line source
CC= arm-elf-gcc CFLAGS= -Os -fno-builtin CPPFLAGS=-I../include AR= arm-elf-ar RANLIB= arm-elf-ranlib OBJS= cmd_blankchk.o cmd_crc32.o cmd_memdump_human.o cmd_memdump_machine.o \ cmd_memload.o amdflash.o hexstrings.o all: libload.a libload.a: ${OBJS} ${AR} cru $@ ${OBJS} ${RANLIB} $@ clean: rm -f *.[oa] *errs