I now have two machines, both with KFlops, and want to use the same DSP code on both, to the extent possible. Is there a way to set, in effect, a "global" #define that could tell the code which machine it's running on, and control condition compilation?
Regards,
Ray L.
Group: DynoMotion
Message: 7014
From: Tom Kerekes
Date: 3/18/2013
Subject: Re: Setting Compiler Definitions
Hi Ray,
I would just #include a file with a single define like
#define Machine1
Would that work for you?
Regards
TK
Group: DynoMotion
Message: 7025
From: himykabibble
Date: 3/18/2013
Subject: Re: Setting Compiler Definitions
Tom,
That's exactly what I'm doing.
Regards,
Ray L.
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Ray,
>
> I would just #include a file with a single define like
>
> #define Machine1
>
> Would that work for you?
>
> Regards
> TK
>
>
>
> ________________________________
> From: himykabibble <jagboy1964@...>
> To: DynoMotion@yahoogroups.com
> Sent: Sunday, March 17, 2013 7:22 AM
> Subject: [DynoMotion] Setting Compiler Definitions
>
>
> Â
> Tom,
>
> I now have two machines, both with KFlops, and want to use the same DSP code on both, to the extent possible. Is there a way to set, in effect, a "global" #define that could tell the code which machine it's running on, and control condition compilation?
>
> Regards,
> Ray L.
>