piclist 2000\11\14\185930a >
Thread: Sample makefile for Hi-Tech command line compiler
www.piclist.com/techref/microchip/devices.htm?key=pic
flavicon
face BY : steveEraseME@TakeThisOuTtla.co.nz



> I simply cut-and-paste that line to my command buffer and away it goes.  You can
>  have CW parse the errors, but I think you'd need to get Clyde involved for that
>  one.  It's certainly do-able, as Tech-Tools and MPLAB can handle it.

I use Multi-Edit but I'm sure CW would have very similar facilities.
I press F9 for a compile while in the editor and have options defined
for full compile, debug compile and compile to AS. I generally just
change the device type for each new job.
For example, the editor spits this string into the void

PICC -O -Zg -S -M<FILE>.MAP -E -16C622 <FILE>.<EXT>

and then I have this wonderful gobledegook set up for error handling
for HiTech C:
Regular expression search
^(<p>):<b0>(<i>):<b0>(.#)$
Replace
/F=\0/L=\3/M=\4

Don't ask me to explain it, but it made sense at the time and allows
me to step through the errors. No Clyde required.


Steve.
======================================================
Steve Baldwin                Electronic Product Design
TLA Microsystems Ltd         Microcontroller Specialists
PO Box 15-680, New Lynn      http://www.tla.co.nz
Auckland, New Zealand        ph  +64 9 820-2221
email: stevebspam_OUTspamspamtla.co.nz      fax +64 9 820-1929
======================================================

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


<200011142357.MAA29202@kcbbs.gen.nz> 7BIT

In reply to: <85256997.00643303.00@tdipower.com>
See also: www.piclist.com/techref/microchip/devices.htm?key=pic
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Sample makefile for Hi-Tech command line compiler

month overview.

new search...