gnupic: Switching processor for gpsim
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