Line 219... |
Line 219... |
219 |
#pragma config CP = OFF // Code Protect |
219 |
#pragma config CP = OFF // Code Protect |
220 |
#pragma config BWP = OFF // Boot Flash Write Protect |
220 |
#pragma config BWP = OFF // Boot Flash Write Protect |
221 |
#pragma config PWP = OFF // Program Flash Write Protect |
221 |
#pragma config PWP = OFF // Program Flash Write Protect |
222 |
#pragma config ICESEL = ICS_PGx2 // ICE/ICD Comm Channel Select |
222 |
#pragma config ICESEL = ICS_PGx2 // ICE/ICD Comm Channel Select |
223 |
#pragma config DEBUG = ON // Background Debugger Enable |
223 |
#pragma config DEBUG = ON // Background Debugger Enable |
- |
|
224 |
|
224 |
#elif defined(UBW) |
225 |
#elif defined(UBW) |
- |
|
226 |
#pragma config PLLDIV = 5 // (20 MHz input) |
- |
|
227 |
#pragma config CPUDIV = OSC1_PLL2 |
- |
|
228 |
#pragma config USBDIV = 2 // Clock source from 96MHz PLL/2 |
- |
|
229 |
#pragma config FOSC = HSPLL_HS |
- |
|
230 |
#pragma config FCMEN = OFF |
- |
|
231 |
#pragma config IESO = OFF |
- |
|
232 |
#pragma config PWRT = OFF |
- |
|
233 |
#pragma config BOR = ON |
- |
|
234 |
#pragma config BORV = 3 |
- |
|
235 |
#pragma config VREGEN = ON |
- |
|
236 |
#pragma config WDT = OFF |
- |
|
237 |
#pragma config WDTPS = 32768 |
- |
|
238 |
#pragma config MCLRE = ON |
- |
|
239 |
#pragma config LPT1OSC = OFF |
- |
|
240 |
#pragma config PBADEN = OFF |
- |
|
241 |
#pragma config CCP2MX = ON |
- |
|
242 |
#pragma config STVREN = ON |
- |
|
243 |
#pragma config LVP = OFF |
- |
|
244 |
//#pragma config ICPRT = OFF // Dedicated In-Circuit Debug/Programming |
- |
|
245 |
#pragma config XINST = OFF // Extended Instruction Set |
- |
|
246 |
#pragma config CP0 = OFF |
- |
|
247 |
#pragma config CP1 = OFF |
- |
|
248 |
#pragma config CP2 = OFF |
- |
|
249 |
//#pragma config CP3 = OFF |
- |
|
250 |
#pragma config CPB = OFF |
- |
|
251 |
#pragma config CPD = OFF |
- |
|
252 |
#pragma config WRT0 = OFF |
- |
|
253 |
#pragma config WRT1 = OFF |
- |
|
254 |
#pragma config WRT2 = OFF |
- |
|
255 |
//#pragma config WRT3 = OFF |
- |
|
256 |
#pragma config WRTB = ON // Boot Block Write Protection |
- |
|
257 |
#pragma config WRTC = OFF |
- |
|
258 |
#pragma config WRTD = OFF |
- |
|
259 |
#pragma config EBTR0 = OFF |
- |
|
260 |
#pragma config EBTR1 = OFF |
- |
|
261 |
#pragma config EBTR2 = OFF |
- |
|
262 |
//#pragma config EBTR3 = OFF |
- |
|
263 |
#pragma config EBTRB = OFF |
- |
|
264 |
|
225 |
#elif defined(UBW32) |
265 |
#elif defined(UBW32) |
226 |
#else |
266 |
#else |
227 |
#error No hardware board defined, see "HardwareProfile.h" and __FILE__ |
267 |
#error No hardware board defined, see "HardwareProfile.h" and __FILE__ |
228 |
#endif |
268 |
#endif |
229 |
|
269 |
|