Searching \ for '[PIC]: Sample makefile for Hi-Tech command line co' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=pic
Search entire site for: 'Sample makefile for Hi-Tech command line co'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: Sample makefile for Hi-Tech command line co'
2000\11\14@130728 by Galen O'Grady

flavicon
face
Has anyone got a sample makefile and link file for the Hi-Tech C
compiler?

I prefer to use Codewright as my programming editor, so I need to use
the command line version of the Hi-Tech compiler.  There doesn't seem to
be much info in the manual on this type of configuration.

Input from anyone using this type of configuration would be appreciated.

Regards,
Galen O'Grady
spam_OUTogradygTakeThisOuTspamreliablescale.com

--
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


2000\11\14@134032 by Andrew Kunz

flavicon
face
Galen,

I've been using it this way for years because I don't like their IDE's.  A guy I
work with also uses CW (I prefer PFE).

I have at the top of each "main" file the command line needed to build it.  For
instance,

picc -16F877 -E -G -O -Zg1 -L-Pidfuse=2000h -L-Pchiptype=FFFEh -L-N -M703530.map
bin2bcd.as 703530.c

The output file I get for this example is 703530.HEX (also 703530.COD,
703530.MAP, ...)

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.

Andy











Galen O'Grady <.....ogradygKILLspamspam@spam@RELIABLESCALE.COM> on 11/14/2000 01:07:08 PM

Please respond to pic microcontroller discussion list <PICLISTspamKILLspamMITVMA.MIT.EDU>








To:      .....PICLISTKILLspamspam.....MITVMA.MIT.EDU

cc:      (bcc: Andrew Kunz/TDI_NOTES)



Subject: [PIC]: Sample makefile for Hi-Tech command line
         compiler








Has anyone got a sample makefile and link file for the Hi-Tech C
compiler?

I prefer to use Codewright as my programming editor, so I need to use
the command line version of the Hi-Tech compiler.  There doesn't seem to
be much info in the manual on this type of configuration.

Input from anyone using this type of configuration would be appreciated.

Regards,
Galen O'Grady
EraseMEogradygspam_OUTspamTakeThisOuTreliablescale.com

--
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

--
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


2000\11\14@144433 by Andrew E. Kalman

flavicon
face
Re:

>Has anyone got a sample makefile and link file for the Hi-Tech C
>compiler?
>
>I prefer to use Codewright as my programming editor, so I need to use
>the command line version of the Hi-Tech compiler.  There doesn't seem to
>be much info in the manual on this type of configuration.
>
>Input from anyone using this type of configuration would be appreciated.

Your best bet may be to successfully create and build a PIC C project
in MPLAB, then look at the Build Results window to get a complete
send of command-line arguments. This is easier than doing the same in
HPDPIC.
--

 ______________________________________
  Andrew E. Kalman, Ph.D.   aekspamspam_OUTpumpkininc.com

--
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


2000\11\14@185930 by steve

flavicon
face
> 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: @spam@stevebKILLspamspamtla.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


More... (looser matching)
- Last day of these posts
- In 2000 , 2001 only
- Today
- New search...