PDA

View Full Version : PBP3 Long setup



iphillipsca
- 30th October 2012, 15:03
Hi all, I'm just getting started with PBP3(I've used 2.47 in the past) and it's been a while since I've programmed.

I was trying to use the LONG feature for my 18F2331. Where/how exactly do I enter the -n to get it to work?
Any help much appreciated.
Thanks!

HenrikOlsson
- 30th October 2012, 15:56
Hi,
If you're using MicroCodeStudio as your IDE then all you need to do is click View -> Compile and Program Options and make sure that the option Use Compiler Long Words (18 series MCU only) is ticked.

If you're compiling from the commandline then that is where you enter the -n option, ie PBPX -n -p18F45K20 myProgram.pbp or something like that.

/Henrik.

iphillipsca
- 30th October 2012, 17:08
Thanks for the reply,

I'm using MPLAB v8.85. As mentioned above, it's been a while and I'm not sure where the commandline entry would go.
I did look at the PBP3 inc file but I'm still not sure if that's where it goes or not.

Ian

iphillipsca
- 30th October 2012, 20:03
Ok, found it.
There's the tab for Project/Build options in MPLAB. And low and behold there's a check box in the PBP tab.
Just in case anyone else is looking.