gnupic: Switching processor for gpsim


Previous by date: 21 Apr 2004 09:02:32 +0100 Switching processor for gpsim, Matt Marsh
Next by date: 21 Apr 2004 09:02:32 +0100 Re: Switching processor for gpsim, Chris Emerson
Previous in thread: 21 Apr 2004 09:02:32 +0100 Switching processor for gpsim, Matt Marsh
Next in thread: 21 Apr 2004 09:02:32 +0100 Re: Switching processor for gpsim, Chris Emerson

Subject: Re: Switching processor for gpsim
From: "Matt Marsh" ####@####.####
Date: 21 Apr 2004 09:02:32 +0100
Message-Id: <14030.32.112.128.18.1082534518.squirrel@mail.home.mattmarsh.net>

> What I'd really like to do is to have some way of automating
> this, so that I can build my project either for simulation,
> or for a real chip, and have it set those two lines as
> appropriate. So what I'd really like is two make targets, say
> "projname.hex" and "projname-sim.hex" where those two lines
> are set appropriately. Can anyone think of a way of doing this?

Actually, thinking about this a bit more, I guess I'll
generate a 'processor.inc' file as part of each of the make
rules for the two targets and include that generated inc file
in the assembly source. That should work. I'll give it a try
later and post the results.

Thanks,
Matt

-- 
Matt N. Marsh
Email: ####@####.####          Yahoo: marshmn
  Web: http://www.mattmarsh.net/  Jabber: ####@####.####
                                     MSN: ####@####.####
                                     ICQ: 250467363
                                     AIM: MattMarshUK




Previous by date: 21 Apr 2004 09:02:32 +0100 Switching processor for gpsim, Matt Marsh
Next by date: 21 Apr 2004 09:02:32 +0100 Re: Switching processor for gpsim, Chris Emerson
Previous in thread: 21 Apr 2004 09:02:32 +0100 Switching processor for gpsim, Matt Marsh
Next in thread: 21 Apr 2004 09:02:32 +0100 Re: Switching processor for gpsim, Chris Emerson


Powered by ezmlm-browse 0.20.