X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fek-lpc-p2378%2Fbenchmark%2Fkernel_footprint%2Fcfg%2Fcfg_ramp.h;fp=boards%2Fek-lpc-p2378%2Fbenchmark%2Fkernel_footprint%2Fcfg%2Fcfg_ramp.h;h=0000000000000000000000000000000000000000;hb=c15b00a9a85e2aa3fdc681e63d7e92851035b63a;hp=1aeb8a89264a892b698dc23e768858e7bca31685;hpb=fd8bd1af65d3eaea3040d74df3d76b51577a67a6;p=bertos.git diff --git a/boards/ek-lpc-p2378/benchmark/kernel_footprint/cfg/cfg_ramp.h b/boards/ek-lpc-p2378/benchmark/kernel_footprint/cfg/cfg_ramp.h deleted file mode 100644 index 1aeb8a89..00000000 --- a/boards/ek-lpc-p2378/benchmark/kernel_footprint/cfg/cfg_ramp.h +++ /dev/null @@ -1,116 +0,0 @@ - /** - * \file - * - * - * \brief Configuration file Ramp algorithm module. - * - * \version $Id$ - * \author Daniele Basile - */ - -#ifndef CFG_RAMP_H -#define CFG_RAMP_H - -/** - * Define whether the ramp will use floating point calculation within ramp_evaluate(). - * Otherwise, a less precise fixed point version will be used, which is faster on - * platforms which do no support floating point operations. - * - * \note Floating point operations will be always done within ramp_compute() to - * precalculate values, so there has to be at least a floating point emulation support. - * - * $WIZ$ type = "boolean" - */ -#define RAMP_USE_FLOATING_POINT 0 - - -#if !RAMP_USE_FLOATING_POINT - - /** - * Number of least-significant bits which are stripped away during ramp evaluation. - * This setting allows to specify larger ramps at the price of less precision. - * - * The maximum ramp size allowed is 2^(24 + RAMP_CLOCK_SHIFT_PRECISION), in clocks. - * For instance, using RAMP_CLOCK_SHIFT_PRECISION 1, and a 8x prescaler, the maximum - * length of a ramp is about 6.7 secs. Raising RAMP_CLOCK_SHIFT_PRECISION to 2 - * brings the maximum length to 13.4 secs, at the price of less precision. - * - * ramp_compute() will check that the length is below the maximum allowed through - * a runtime assertion. - * - * \note This macro is used only for the fixed-point version of the ramp. - * $WIZ$ type = "int" - * $WIZ$ min = 0 - * $WIZ$ max = 32 - */ - #define RAMP_CLOCK_SHIFT_PRECISION 2 -#endif - - -/** -* Negative pulse width for ramp. -* $WIZ$ type = "int" -* $WIZ$ min = 1 -*/ -#define RAMP_PULSE_WIDTH 50 - -/** - * Default ramp time (microsecs). - * $WIZ$ type = "int" - * $WIZ$ min = 1000 - */ -#define RAMP_DEF_TIME 6000000UL -/** - * Default ramp maxfreq (Hz). - * $WIZ$ type = "int" - * $WIZ$ min = 1 - */ -#define RAMP_DEF_MAXFREQ 5000 -/** - * Default ramp minfreq (Hz). - * $WIZ$ type = "int" - * $WIZ$ min = 1 - */ -#define RAMP_DEF_MINFREQ 200 -/** - * Default ramp powerrun (deciampere). - * $WIZ$ type = "int" - * $WIZ$ min = 0 - */ -#define RAMP_DEF_POWERRUN 10 -/** - * Default ramp poweridle (Hz). - * $WIZ$ type = "int" - * $WIZ$ min = 0 - */ -#define RAMP_DEF_POWERIDLE 1 - -#endif /* CFG_RAMP_H */