FreeCalypso > hg > freecalypso-sw
view nuc-fw/riviera/rv/rv_trace.h @ 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 | 21de8d8e6ea7 |
children |
line wrap: on
line source
/************************************************************************************* * * * Name rv_trace.h * * * * Function this file contains trace definitions for basic layers * * * * Date Modification * * ------------------------ * * 10/12/00 - Create Cristian Livadiotti - c-livadiotti@ti.com * * * * * * (C) Copyright 1999 by Texas Instruments Incorporated, All Rights Reserved * * * * --------------------------------------------------------------------------------- * * * * History: * * * * 10/18/2001 - Updated for R2D by Christophe Favergeon * * * *************************************************************************************/ #ifndef _RV_TRACE_H_ #define _RV_TRACE_H_ /* Define trace levels. */ #define RV_TRACE_LEVEL_ERROR (1) /* Error condition trace messages. */ /* Used when an unrecoverable error is found */ #define RV_TRACE_LEVEL_WARNING (2) /* Warning condition trace messages. */ /* Used when an error is found but is handled properly by the code*/ #define RV_TRACE_LEVEL_DEBUG_HIGH (3) /* Debug messages (high debugging). */ /* high = important debug message */ #define RV_TRACE_LEVEL_DEBUG_MEDIUM (4) /* Debug messages. */ #define RV_TRACE_LEVEL_DEBUG_LOW (5) /* Debug messages (low debugging). */ /* low = not important debug message */ /* temporary definition of this old flag for backward compatibility */ #define TRACE_RVTEST (0x001E0004) #endif /* _RV_GENERAL_H_*/