Rev Author Line No. Line
1661 kaklik 1 /********************************************************************
2 FileName: HardwareProfile.h
3 Dependencies: See INCLUDES section
4 Processor: PIC18, PIC24, or PIC32 USB Microcontrollers
5 Hardware: The code is natively intended to be used on the
6 following hardware platforms:
7 PICDEM™ FS USB Demo Board
8 PIC18F46J50 FS USB Plug-In Module
9 PIC18F87J50 FS USB Plug-In Module
10 Explorer 16 + PIC24 or PIC32 USB PIMs
11 PIC24F Starter Kit
12 Low Pin Count USB Development Kit
13 The firmware may be modified for use on other USB
14 platforms by editing this file (HardwareProfile.h)
1691 kaklik 15 Compiler: Microchip C18 (for PIC18), C30 (for PIC24),
1661 kaklik 16 or C32 (for PIC32)
17 Company: Microchip Technology, Inc.
18  
19 Software License Agreement:
20  
21 The software supplied herewith by Microchip Technology Incorporated
22 (the “Company”) for its PIC® Microcontroller is intended and
23 supplied to you, the Company’s customer, for use solely and
24 exclusively on Microchip PIC Microcontroller products. The
25 software is owned by the Company and/or its supplier, and is
26 protected under applicable copyright laws. All rights are reserved.
27 Any use in violation of the foregoing restrictions may subject the
28 user to criminal sanctions under applicable laws, as well as to
29 civil liability for the breach of the terms and conditions of this
30 license.
31  
32 THIS SOFTWARE IS PROVIDED IN AN “AS IS” CONDITION. NO WARRANTIES,
33 WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED
34 TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
35 PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT,
36 IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR
37 CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
38  
39 ********************************************************************
40 File Description:
41  
42 Change History:
43 Rev Date Description
44 1.0 11/19/2004 Initial release
45 2.1 02/26/2007 Updated for simplicity and to use common
46 coding style
47 2.3 09/15/2008 Broke out each hardware platform into its own
48 "HardwareProfile - xxx.h" file
49 ********************************************************************/
50  
51 #ifndef HARDWARE_PROFILE_H
52 #define HARDWARE_PROFILE_H
53  
54 //#define DEMO_BOARD USER_DEFINED_BOARD
55  
56  
57 #if !defined(DEMO_BOARD)
58 #if defined(__C32__)
59 #if defined(__32MX460F512L__)
60 #if defined(PIC32MX460F512L_PIM)
61 #include "HardwareProfile - PIC32MX460F512L PIM.h"
62 #elif defined(PIC32_USB_STARTER_KIT)
63 #include "HardwareProfile - PIC32 USB Starter Kit.h"
1691 kaklik 64 #else
65 #include "HardwareProfile - UBW32.h"
1661 kaklik 66 #endif
67 #elif defined(__32MX795F512L__)
68 #if defined(PIC32MX795F512L_PIM)
69 #include "HardwareProfile - PIC32MX795F512L PIM.h"
70 #elif defined(PIC32_USB_STARTER_KIT)
71 //PIC32 USB Starter Kit II
72 #include "HardwareProfile - PIC32 USB Starter Kit.h"
73 #endif
74 #endif
75 #endif
76 #if defined(__C30__)
77 #if defined(__PIC24FJ256GB110__)
78 #include "HardwareProfile - PIC24FJ256GB110 PIM.h"
79 #elif defined(__PIC24FJ256GB106__)
80 #include "HardwareProfile - PIC24F Starter Kit.h"
81 #endif
82 #endif
83  
84 #if defined(__18CXX)
85 #if defined(__18F4550)
1691 kaklik 86 #include "HardwareProfile - UBW.h"
1661 kaklik 87 #elif defined(__18F87J50)
88 #include "HardwareProfile - PIC18F87J50 PIM.h"
89 #elif defined(__18F14K50)
90 #include "HardwareProfile - Low Pin Count USB Development Kit.h"
91 #elif defined(__18F46J50)
92 #include "HardwareProfile - PIC18F46J50 PIM.h"
1691 kaklik 93 #elif defined(__18F2550)
94 #include "HardwareProfile - UBW.h"
1661 kaklik 95 #endif
96 #endif
97 #endif
98  
99 #if !defined(DEMO_BOARD)
100 #error "Demo board not defined. Either define DEMO_BOARD for a custom board or select the correct processor for the demo board."
101 #endif
102  
103 #endif //HARDWARE_PROFILE_H