gnupic: Re: [gnupic] Debian templates for dsPIC build toolchain 2.01


Previous by date: 22 Feb 2006 02:20:00 +0000 Re: [gnupic] Re: [PIC] piklab now supports ICD2 and PICkit 2 programmer under Linux, Nicolas
Next by date: 22 Feb 2006 02:20:00 +0000 Re: [gnupic] Debian templates -- Makefile, Jeff
Previous in thread:
Next in thread: 22 Feb 2006 02:20:00 +0000 Re: [gnupic] Debian templates for dsPIC build toolchain 2.01, Xiaofan Chen

Subject: RE: [gnupic] Debian templates for dsPIC build toolchain 2.01
From: "Chen Xiao Fan" ####@####.####
Date: 22 Feb 2006 02:20:00 +0000
Message-Id: <7D4AB72251D4D949AB2732ABEABDA54F130092@PFSG-MX1.ap.p-f.biz>

> -----Original Message-----
> From: news On Behalf Of John Steele Scott
> Sent: Tuesday, February 21, 2006 9:39 AM
> To: ####@####.####
> Subject: [gnupic] Debian templates for dsPIC build toolchain 2.01
> 
> There is not much changed in this release. The main thing 
> which is of more general interest is a set of general rules 
> for GNU make. This ruleset is not from Microchip, but was 
> written by me. The file is in the tarball as
> pic30-debian-2.01/pic30-support-2.01/pic30-rules.mk. 
> They allow small makefiles to be written like so:
> 
> DSPIC := 30f3013
> PROJECT := blinkenlight
> OBJS := main.o foo.o bar.o
> include /usr/share/pic30-support/pic30-rules.mk
> 
> Implicit rules are used to create object files from C or Assembler as
> necessary.

Thanks. The make rule file is quite nice. Slight modification will make
it work with pic30-coff as well (just change elf to cof where applicable).
It is also working under Windows with minor modifications...

Just one question, if the code needs to link to other libraries 
(eg: the example code CE019_PIC needs dsp library libdsp-elf.a or 
libdsp-coff.a), what should I do in the Makefile without changing
the rule file pic30-rules.mk? Sorry I am not so good at writing
Makefile.

Regards,
Xiaofan

Previous by date: 22 Feb 2006 02:20:00 +0000 Re: [gnupic] Re: [PIC] piklab now supports ICD2 and PICkit 2 programmer under Linux, Nicolas
Next by date: 22 Feb 2006 02:20:00 +0000 Re: [gnupic] Debian templates -- Makefile, Jeff
Previous in thread:
Next in thread: 22 Feb 2006 02:20:00 +0000 Re: [gnupic] Debian templates for dsPIC build toolchain 2.01, Xiaofan Chen


Powered by ezmlm-browse 0.20.