Re: Supress "MSG" in compile
at the beginning of your code try this:
Re: Supress "MSG" in compile
I'm pretty sure your format is correct, ie: @ errorlevel -(something)
-306 didn't seem to work.
I'm still getting a Results window on compile. In my case:
C:PROGRAM FILES (X86)\PBP3_1\DEVICES\PIC16F18324.PBPINC (486) MSG: HPWM command only supports CCP channels (not PWM channels).
and
C:PROGRAM FILES (X86)\PBP3_1\DEVICES\PIC16F18324.PBPINC (487) MSG: PPS-Int available. See file PBP_PPS_notes.txt
Its not that the messages are a hindrance, its that they bring up the window on the bottom that obscures an inch or so of the bottom of the program that I'm trying to debug. Just another step to close it with each iteration while working on the code.
bo
Re: Supress "MSG" in compile
Quote:
-306 didn't seem to work
-486 and -487 ?
or edit
\DEVICES\PIC16F18324.PBPINC
and comment out the messages
Re: Supress "MSG" in compile
So help me understand this... is the number in those statements meant to be a line number?
I tried to add "@ errorlevel" and the program line for those with MSG info, Only gave me a warning that it was invalid.
I looked at the .lst file and couldn't find what called or enables those lines. They show up around 2357 and 2358 in my program, but they are just the message, no idea what's calling it.
I am wondering if there is another call that deals with errorlevel vs. messages? Also have no idea what the number references or if there is something that explains them.
Thanks for your replies.
bo
Re: Supress "MSG" in compile
Quote:
I am wondering if there is another call that deals with errorlevel vs. messages? Also have no idea what the number references or if there is something that explains them.
mpasm has three errorlevels 0,1,2 numbered error messages can be supressed -306 -302 etc
the user messages seem difficult to suppress and the (num) is line number so of no use in suppression
best option is to edit the pbp device inc file [PIC16F18324.PBPINC] and just comment the offending lines
for more detail download the mpasm manual pdf from microchip
Re: Supress "MSG" in compile
Thanks for the explanation.
bo