mbradley
Joined: 11 Jul 2009 Posts: 118 Location: California, USA
|
Programmers Notepad integration question. |
Posted: Sat Feb 06, 2010 5:34 pm |
|
|
I am trying to integrate into Programmers Notepad, and I have defined tools, one for each compiler, PCH,PCM,PCB,PCD
Example:
F5 is set to:
Command: ccsc.exe
Param: +FH +DF +LN +T +A +M +EA +STDOUT "$(ProjectPath)main.c"
Now for the others, I just change the +FH to +FM, +FB, +FD etc...
My question is, can I just have 1 Key/Tool, and have CCSC.EXE figure out the correct compiler for the pic in use?
What baffles me, is if I try to compiler a dsPIC33 with +FH, the compiler responds back with, "Try -- PCD", thus, I would think it would know to use +FD for PCD?
I was going to write a little front end program that would do this automatically, but I don't want to re-invent the wheel.
Any help is appreciated. _________________ Michael Bradley
www.mculabs.com
Open Drivers and Projects |
|