/PIC Stuff/Cerebot_32MX7_LED_Cube/Makefile |
---|
0,0 → 1,108 |
# |
# There exist several targets which are by default empty and which can be |
# used for execution of your targets. These targets are usually executed |
# before and after some main targets. They are: |
# |
# .build-pre: called before 'build' target |
# .build-post: called after 'build' target |
# .clean-pre: called before 'clean' target |
# .clean-post: called after 'clean' target |
# .clobber-pre: called before 'clobber' target |
# .clobber-post: called after 'clobber' target |
# .all-pre: called before 'all' target |
# .all-post: called after 'all' target |
# .help-pre: called before 'help' target |
# .help-post: called after 'help' target |
# |
# Targets beginning with '.' are not intended to be called on their own. |
# |
# Main targets can be executed directly, and they are: |
# |
# build build a specific configuration |
# clean remove built files from a configuration |
# clobber remove all built files |
# all build all configurations |
# help print help mesage |
# |
# Targets .build-impl, .clean-impl, .clobber-impl, .all-impl, and |
# .help-impl are implemented in nbproject/makefile-impl.mk. |
# |
# Available make variables: |
# |
# CND_BASEDIR base directory for relative paths |
# CND_DISTDIR default top distribution directory (build artifacts) |
# CND_BUILDDIR default top build directory (object files, ...) |
# CONF name of current configuration |
# CND_ARTIFACT_DIR_${CONF} directory of build artifact (current configuration) |
# CND_ARTIFACT_NAME_${CONF} name of build artifact (current configuration) |
# CND_ARTIFACT_PATH_${CONF} path to build artifact (current configuration) |
# CND_PACKAGE_DIR_${CONF} directory of package (current configuration) |
# CND_PACKAGE_NAME_${CONF} name of package (current configuration) |
# CND_PACKAGE_PATH_${CONF} path to package (current configuration) |
# |
# NOCDDL |
# Environment |
MKDIR=mkdir |
CP=cp |
CCADMIN=CCadmin |
RANLIB=ranlib |
# build |
build: .build-post |
.build-pre: |
# Add your pre 'build' code here... |
.build-post: .build-impl |
# Add your post 'build' code here... |
# clean |
clean: .clean-post |
.clean-pre: |
# Add your pre 'clean' code here... |
.clean-post: .clean-impl |
# Add your post 'clean' code here... |
# clobber |
clobber: .clobber-post |
.clobber-pre: |
# Add your pre 'clobber' code here... |
.clobber-post: .clobber-impl |
# Add your post 'clobber' code here... |
# all |
all: .all-post |
.all-pre: |
# Add your pre 'all' code here... |
.all-post: .all-impl |
# Add your post 'all' code here... |
# help |
help: .help-post |
.help-pre: |
# Add your pre 'help' code here... |
.help-post: .help-impl |
# Add your post 'help' code here... |
# include project implementation makefile |
include nbproject/Makefile-impl.mk |
# include project make variables |
include nbproject/Makefile-variables.mk |
/PIC Stuff/Cerebot_32MX7_LED_Cube/build/default/production/main.o.d |
---|
0,0 → 1,3 |
build/default/production/main.o: \ |
main.c \ |
defines.h |
/PIC Stuff/Cerebot_32MX7_LED_Cube/defines.h |
---|
0,0 → 1,202 |
// Power supply must be 5V for proper operation of the board! |
#define ADDRESS_EEPROM 0x50 |
// BTN1 = RG6, BTN2 = RG7, BTN3 = RD13 |
// Note: Write to PORTx is effectively the same as write to LATx |
#define BTN1_TRIS TRISGbits.TRISG6 |
#define BTN1_PORT PORTGbits.RG6 |
#define BTN2_TRIS TRISGbits.TRISG7 |
#define BTN2_PORT PORTGbits.RG7 |
#define BTN3_TRIS TRISDbits.TRISD13 |
#define BTN3_PORT PORTDbits.RD13 |
// LED1 = G12, LED2 = G13, LED3 = G14, LED4 = G15 |
#define LED1_TRIS TRISGbits.TRISG12 |
#define LED1_PORT PORTGbits.RG12 |
#define LED2_TRIS TRISGbits.TRISG13 |
#define LED2_PORT PORTGbits.RG13 |
#define LED3_TRIS TRISGbits.TRISG14 |
#define LED3_PORT PORTGbits.RG14 |
#define LED4_TRIS TRISGbits.TRISG15 |
#define LED4_PORT PORTGbits.RG15 |
// <editor-fold defaultstate="collapsed" desc="PMOD to MCU Pinouts"> |
/* |
JA-01 AN2/C2IN-/CN4/RB2 RB02 |
JA-02 AN3/C2IN+/CN5/RB3 RB03 |
JA-03 AN4/C1IN-/CN6/RB4 RB04 |
JA-04 PGEC2/AN6/OCFA/RB6 RB06 |
JA-07 PGED2/AN7/RB7 RB07 |
JA-08 AN8/C1OUT/RB8 RB08 |
JA-09 AN9/C2OUT/RB9 RB09 |
JA-10 CVrefout/PMA13/AN10/RB10 RB10 |
* |
JB-01 PMD0/RE0 RE00 |
JB-02 PMD1/RE1 RE01 |
JB-03 PMD2/RE2 RE02 |
JB-04 PMD3/RE3 RE03 |
JB-07 PMD4/RE4 RE04 |
JB-08 PMD5/RE5 RE05 |
JB-09 PMD6/RE6 RE06 |
JB-10 PMD7/RE7 RE07 |
* |
JC-01 T2CK/RC1 RC01 |
JC-02 C2RX/PMD8/RG0 RG00 |
JC-03 C2TX/ETXERR/PMD9/RG1 RG01 |
JC-04 ETXCLK/PMD15/CN16/RD7 RD07 |
JC-07 AN15/?/OCFB/PMALL/PMA0/CN12/RB15 RB15 |
JC-08 PMRD/CN14/RD5 RD05 |
JC-09 OC5/PMWR/CN13/RD4 RD04 |
JC-10 AN14/ERXD2/AETXD3/PMALH/PMA1/RB14 RB14 |
* |
JD-01 SS1/IC2/RD9 RD09 |
JD-02 SDO1/OC1/INT0/RD0 RD00 |
JD-03 T5CK/SDI1/RC4 RC04 |
JD-04 SCK1/IC3/PMCS2/PMA15/RD10 RD10 |
JD-07 OC2/RD1 RD01 |
JD-08 OC3/RD2 RD02 |
JD-09 OC4/RD3 RD03 |
JD-10 ETXD2/IC5/PMD12/RD12 RD12 |
* |
JE-01 AETXD0/SS1A/U1BRX/U1ACTS/CN20/RD14 RD14 |
JE-02 SCL1A/SDO1A/U1ATX/RF8 RF08 |
JE-03 SDA1A/SDI1A/U1ARX/RF2 RF02 |
JE-04 AETXD1/SCK1A/U1BTX/U1ARTS/CN21/RD15 RD15 |
JE-07 TRCLK/RA6 RA06 |
JE-08 TRD3/RA7 RA07 |
JE-09 Vref-/CVref-/AERXD2/PMA7/RA9 RA09 |
JE-10 Vref+/CVref+/AERXD3/PMA6/RA10 RA10 |
* |
JF-01 AC1RX/SS3A/U3BRX/U3ACTS/RF12 RF12 shared with CAN1 Transceiver (JP-1) |
JF-02 SCL3A/SDO3A/U3ATX/PMA8/CN18/RF5 RF05 |
JF-03 SDA3A/SDI3A/U3ARX/PMA9/CN17/RF4 RF04 |
JF-04 AC1TX/SCK3A/U3BTX/U3ARTS/RF13 RF13 shared with CAN1 Transceiver (JP-2) |
JF-07 TMS/RA0 RA00 |
JF-08 TCK/RA1 RA01 |
JF-09 TDI/RA4 RA04 |
JF-10 TDO/RA5 RA05 |
N/A SCL2/RA2 RA02 I2C bus #2, not shared with Pmod connector |
N/A SDA2/RA3 RA03 I2C bus #2, not shared with Pmod connector |
N/A AETXCLK/SCL1/INT3/RA14 RA14 I2C Bus #1, not shared with Pmod connector |
N/A AETXEN/SDA1/INT4/RA15 RA15 I2C Bus #1, not shared with Pmod connector |
N/A PGED1/AN0/CN2/RB0 RB00 Used by debug circuit, PGC |
N/A PGEC1/AN1/CN3/RB1 RB01 Used by debug circuit, PGD |
N/A AN5/C1IN+/VBUSON/CN7/RB5 RB05 USB VBUSON |
N/A AN11/ERXERR/AETXERR/PMA12/RB11 RB11 Ethernet PHY |
N/A AN12/ERXD0/AECRS/PMA11/RB12 RB12 Ethernet PHY |
N/A AN13/ERXD1/AECOL/PMA10/RB13 RB13 Ethernet PHY |
N/A OSC1/CLKI/RC12 RC12 Primary Oscillator Crystal |
N/A SOSCI/CN1/RC13 RC13 Secondary Oscillator Crystal |
N/A SOSCO/T1CK/CN0/RC14 RC14 Secondary Oscillator Crystal |
N/A OSC2/CLKO/RC15 RC15 Primary Oscillator Crystal |
N/A ETXEN/PMD14/CN15/RD6 RD06 Ethernet PHY |
N/A RTCC/EMDIO/AEMDIO/IC1/RD8 RD08 Ethernet PHY |
N/A EMDC/AEMDC/IC4/PMCS1/PMA14/RD11 RD11 Ethernet PHY |
N/A ETXD3/PMD13/CN19/RD13 RD13 BTN3 |
N/A AERXD0/INT1/RE8 RE08 USB Overcurrent detect |
N/A AERXD1/INT2/RE9 RE09 Ethernet PHY Reset |
N/A C1RX/ETXD1/PMD11/RF0 RF00 Ethernet PHY |
N/A C1TX/ETXD0/PMD10/RF1 RF01 Ethernet PHY |
N/A USBID/RF3 RF03 USBID (USB-4) |
N/A D+/RG2 RG02 D+ (USB-3) |
N/A D-/RG3 RG03 D- (USB-2) |
N/A ECOL/SCK2A/U2BTX/U2ARTS/PMA5/CN8/RG6 RG06 BTN1 |
N/A ECRS/SDA2A/SDI2A/U2ARX/PMA4/CN9/RG7 RG07 BTN2 |
N/A ?/SCL2A/SDO2A/U2ATX/PMA3/CN10/RG8 RG08 Ethernet PHY |
N/A ?/SS2A/U2BRX/U2ACTS/PMA2/CN11/RG9 RG09 Ethernet PHY |
N/A TRD1/RG12 RG12 LED1 |
N/A TRD0/RG13 RG13 LED2 |
N/A TRD2/RG14 RG14 LED3 |
N/A AERXERR/RG15 RG15 LED4 |
*/ |
// </editor-fold> |
// <editor-fold defaultstate="collapsed" desc="Connectors"> |
/* |
J7 - I2C port #2 daisy chain connector |
* This connector provides access to the I2C signals, power and ground for I2C port #2. |
J8 - I2C port #1 daisy chain connector |
* This connector provides access to the I2C signals, power and ground for I2C port #1. |
J9 - CAN #1 Connector |
* This connector is used to access the signals for CAN #1. |
J10 - CAN #2 Connector |
* This connector is used to access the signals for CAN #2. |
J11 - Ethernet Connector |
* This connector provides access to the 10/100 Ethernet port. |
J12-J14 |
* Do Not Use. |
J15 - Debug USB Connector |
* This connector is used to connect the on-board programming and |
debug circuit to the PC for use with the MPLAB IDE. |
J16 - Power supply source select |
* This jumper is used to select the source of main board power. |
Place a shorting block in the upper, ?USB? position to have the |
board powered from the USB device connector, J19. |
Place a shorting block in the center, ?EXT? position to have the |
board powered from one of the external power connectors, J17 or J18. |
Place a shorting block in the lower, ?DBG? position to have the |
board powered from the debug USB connector, J15. |
J17 - External Power Connector |
* This is a 2.5mm x 5.5mm, center positive, coax power connector used to |
provide external power to the board. The optional Digilent 5V Switching |
Power Supply is connected here. |
J18 - External Power Connector |
* This is a screw terminal connector used to provide external power to |
the board. Be sure to observe proper polarity (marked near the connector) |
when providing power via this connector, or damage to the board and/or |
connected devices may result. |
J19 - USB Device / OTG Connector |
* This is a USB micro-AB connector. It is used when using the PIC32MX795 |
microcontroller to implement a USB device or OTG Host/Device. |
J20 - USB Host Connector |
* This is a standard sized USB type A connector. This connector is used to |
connect USB devices to the board when using the PIC32MX795 microcontroller |
to implement an embedded USB host. |
*/ |
// </editor-fold> |
// <editor-fold defaultstate="collapsed" desc="Jumpers"> |
/* |
J20 - USB Host Connector |
* This is a standard sized USB type A connector. This connector is used to |
connect USB devices to the board when using the PIC32MX795 microcontroller |
to implement an embedded USB host. |
JP1 & JP2 - CAN or Pmod Select |
* These jumpers select microcontroller signals RF12 and RF13 for use with CAN |
#1 or Pmod connector JF. Place these jumpers in the CAN position to use CAN |
#1. Place the jumpers in the PMOD position to use then with Pmod connector JF. |
JP3 & JP4 - Pull-up enable for I2C port #2 |
* These two jumpers are used to enable/disable the pull-up resistors on I2C |
port #2. Insert shorting blocks on these two jumpers to enable the pull-up |
resistors. Remove the shorting blocks to disable the pull-up resistors. Only |
a single device on the I2C bus should have the pull-up resistors enabled. |
JP5 - CAN #1 Termination |
* This jumper is used to enable/disable the 120 ohm termination resistor for |
CAN #1. Insert the shorting block to enable the termination resistor, remove |
it to disable the termination resistor. |
JP6 - CAN #1 5V0 Enable |
* This jumper is used to enable/disable providing 5V to the CAN #1 connector. |
Insert the shorting block to connect the board 5V0 supply to pins 9 & 10 of |
CAN #1 connector. Remove the shorting block to disconnect the 5V0 supply. |
JP7 - CAN #2 Termination |
* This jumper is used to enable/disable the 120 ohm termination resistor for |
CAN #2. Insert the shorting block to enable the termination resistor, remove |
it to disable the termination resistor. |
JP8 - CAN #1 5V0 Enable |
* This jumper is used to enable/disable providing 5V to the CAN #1 connector. |
Insert the shorting block to connect the board 5V0 supply to pins 9 & 10 of |
CAN #1 connector. Remove the shorting block to disconnect the 5V0 supply. |
JP9 - Do Not Use |
JP10 - USB host power select |
* This jumper is used to select which host connector is powered when host power |
is enabled. Place the shorting block in the ?MICRO? position to supply power |
to the USB micro-AB OTG Connector, J19. Place the shorting block in the ?A? |
position to supply power to the USB type A Host Connector, J20. |
JP17 - Do Not Use |
*/ |
// </editor-fold> |
/PIC Stuff/Cerebot_32MX7_LED_Cube/dist/default/production/Cerebot_32MX7.production.elf |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/PIC Stuff/Cerebot_32MX7_LED_Cube/dist/default/production/Cerebot_32MX7.production.elf |
---|
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/PIC Stuff/Cerebot_32MX7_LED_Cube/dist/default/production/Cerebot_32MX7.production.hex |
---|
0,0 → 1,356 |
:020000040000fa |
:020000041fc01b |
:042ff000ffffff3aa6 |
:020000040000fa |
:020000041fc01b |
:042ff400d979f8ff90 |
:020000040000fa |
:020000041fc01b |
:042ff8005bfc6aff15 |
:020000040000fa |
:020000041fc01b |
:042ffc00f7ffff7f5d |
:020000040000fa |
:020000041fc01b |
:10000000c0bf1a3c10005a2708004003000000003f |
:1000100000601a40c0045a7f050040130000000031 |
:10002000009d1a3c88045a27080040030000000085 |
:1000300002a01d3cf8ffbd2700a01c3cf07f9c27c0 |
:100040000260094020582001801e2a7d8449497d94 |
:1000500002608940c000000000e0dc4102608b408b |
:10006000009d083cc004082509f8000100000000bc |
:1000700000a0083c0000082500a0093c000029253c |
:100080000600001000000000000000ad040000adfc |
:10009000080000ad0c0000ad100008252b08090178 |
:1000a000f9ff201400000000009d083cd004082542 |
:1000b0000000098d180020110400082500000a8d99 |
:1000c0000400082500000b8d0900601104000825bc |
:1000d00000000c91ffff4a250100082500002ca11b |
:1000e000fbff40150100292505000010000000005d |
:1000f000000020a1ffff4a25fdff40150100292532 |
:1001000003000825fcff0a24244048010000098d53 |
:10011000e7ff2015000000000000093c0000292531 |
:1001200010002011000000000200093c00002925f9 |
:1001300088bf0a3c10204a25000049ad0200093c56 |
:100140000000292588bf0a3c20204a25000049ad2f |
:100150000200093c0000292588bf0a3c30204a25be |
:10016000000049ad00488040ffff0a2400588a4043 |
:10017000c09f093c00102925017889400000093cf6 |
:100180000100292500000a2444492a7d01608a4093 |
:100190008000093c00688940008008408005097d96 |
:1001a000404c0900006008405800013c2440010117 |
:1001b0002540280100608840009d083cc8040825af |
:1001c00009f800010000000000600840bfff013c8a |
:1001d000ffff21342440010100608840000084308a |
:1001e0000000a530009d083cd4030825080000014c |
:0401f000000000000b |
:020000040000fa |
:020000041fc01b |
:10038000009d1a3ca0045a2708004003000000000a |
:020000040000fa |
:020000041fc01b |
:10118000009d1a3cbc025a270800400300000000e2 |
:020000040000fa |
:020000041fc01b |
:08120000e300400b00000000b8 |
:020000040000fa |
:020000041fc01b |
:08122000e300400b0000000098 |
:020000040000fa |
:020000041fc01b |
:08124000e300400b0000000078 |
:020000040000fa |
:020000041fc01b |
:08126000e300400b0000000058 |
:020000040000fa |
:020000041fc01b |
:08128000e300400b0000000038 |
:020000040000fa |
:020000041fc01b |
:0812a000e300400b0000000018 |
:020000040000fa |
:020000041fc01b |
:0812c000e300400b00000000f8 |
:020000040000fa |
:020000041fc01b |
:0812e000e300400b00000000d8 |
:020000040000fa |
:020000041fc01b |
:08130000e300400b00000000b7 |
:020000040000fa |
:020000041fc01b |
:08132000e300400b0000000097 |
:020000040000fa |
:020000041fc01b |
:08134000e300400b0000000077 |
:020000040000fa |
:020000041fc01b |
:08136000e300400b0000000057 |
:020000040000fa |
:020000041fc01b |
:08138000e300400b0000000037 |
:020000040000fa |
:020000041fc01b |
:0813a000e300400b0000000017 |
:020000040000fa |
:020000041fc01b |
:0813c000e300400b00000000f7 |
:020000040000fa |
:020000041fc01b |
:0813e000e300400b00000000d7 |
:020000040000fa |
:020000041fc01b |
:08140000e300400b00000000b6 |
:020000040000fa |
:020000041fc01b |
:08142000e300400b0000000096 |
:020000040000fa |
:020000041fc01b |
:08144000e300400b0000000076 |
:020000040000fa |
:020000041fc01b |
:08146000e300400b0000000056 |
:020000040000fa |
:020000041fc01b |
:08148000e300400b0000000036 |
:020000040000fa |
:020000041fc01b |
:0814a000e300400b0000000016 |
:020000040000fa |
:020000041fc01b |
:0814c000e300400b00000000f6 |
:020000040000fa |
:020000041fc01b |
:0814e000e300400b00000000d6 |
:020000040000fa |
:020000041fc01b |
:08150000e300400b00000000b5 |
:020000040000fa |
:020000041fc01b |
:08152000e300400b0000000095 |
:020000040000fa |
:020000041fc01b |
:08154000e300400b0000000075 |
:020000040000fa |
:020000041fc01b |
:08156000e300400b0000000055 |
:020000040000fa |
:020000041fc01b |
:08158000e300400b0000000035 |
:020000040000fa |
:020000041fc01b |
:0815a000e300400b0000000015 |
:020000040000fa |
:020000041fc01b |
:0815c000e300400b00000000f5 |
:020000040000fa |
:020000041fc01b |
:0815e000e300400b00000000d5 |
:020000040000fa |
:020000041fc01b |
:08160000e300400b00000000b4 |
:020000040000fa |
:020000041fc01b |
:08162000e300400b0000000094 |
:020000040000fa |
:020000041fc01b |
:08164000e300400b0000000074 |
:020000040000fa |
:020000041fc01b |
:08166000e300400b0000000054 |
:020000040000fa |
:020000041fc01b |
:08168000e300400b0000000034 |
:020000040000fa |
:020000041fc01b |
:0816a000e300400b0000000014 |
:020000040000fa |
:020000041fc01b |
:0816c000e300400b00000000f4 |
:020000040000fa |
:020000041fc01b |
:0816e000e300400b00000000d4 |
:020000040000fa |
:020000041fc01b |
:08170000e300400b00000000b3 |
:020000040000fa |
:020000041fc01b |
:08172000e300400b0000000093 |
:020000040000fa |
:020000041fc01b |
:08174000e300400b0000000073 |
:020000040000fa |
:020000041fc01b |
:08176000e300400b0000000053 |
:020000040000fa |
:020000041fc01b |
:08178000e300400b0000000033 |
:020000040000fa |
:020000041fc01b |
:0817a000e300400b0000000013 |
:020000040000fa |
:020000041fc01b |
:0817c000e300400b00000000f3 |
:020000040000fa |
:020000041fc01b |
:0817e000e300400b00000000d3 |
:020000040000fa |
:020000041fc01b |
:08180000e300400b00000000b2 |
:020000040000fa |
:020000041fc01b |
:08182000e300400b0000000092 |
:020000040000fa |
:020000041fc01b |
:08184000e300400b0000000072 |
:020000040000fa |
:020000041fc01b |
:08186000e300400b0000000052 |
:020000040000fa |
:020000041fc01b |
:08188000e300400b0000000032 |
:020000040000fa |
:020000041fc01b |
:0818a000e300400b0000000012 |
:020000040000fa |
:020000041fc01b |
:0818c000e300400b00000000f2 |
:020000040000fa |
:020000041fc01b |
:0818e000e300400b00000000d2 |
:020000040000fa |
:020000041fc01b |
:08190000e300400b00000000b1 |
:020000040000fa |
:020000041fc01b |
:08192000e300400b0000000091 |
:020000040000fa |
:020000041fc01b |
:08194000e300400b0000000071 |
:020000040000fa |
:020000041fc01b |
:08196000e300400b0000000051 |
:020000040000fa |
:020000041fc01b |
:08198000e300400b0000000031 |
:020000040000fa |
:020000041fc01b |
:0819a000e300400b0000000011 |
:020000040000fa |
:020000041fc01b |
:0819c000e300400b00000000f1 |
:020000040000fa |
:020000041fc01b |
:0819e000e300400b00000000d1 |
:020000040000fa |
:020000041d00dd |
:10002000a0ffbd275c00bfaf5800beaf21f0a0030a |
:10003000c404023c00b442341000c2af1000c28fae |
:100040001400c2af1400c28f1800c2af1800c28fd4 |
:100050001c00c2af1800c38fc404023c01b4423478 |
:100060002b10620008004014000000000800023c51 |
:100070002000c2af1c00c28f421002001c00c2afa1 |
:100080002300400b000000002000c0af2000c28f02 |
:100090002400c2af2e01400f000000002800c2afb4 |
:1000a00088bf023c0030428c0003427cff0042309b |
:1000b0002c00c2af2c00c28f0900401400000000c9 |
:1000c00088bf023c00100324083043ac88bf023cc8 |
:1000d0000030428c00084230fcff40140000000059 |
:1000e0002c00c28f3000c2af81bf023c30f240ac66 |
:1000f00081bf023c99aa033c5566633430f243ac9d |
:1001000081bf023c6655033caa99633430f243ac8c |
:1001100081bf023c00f0428c5400c2af5400c28f39 |
:10012000c4a4027c5400c2af5400c38f2400c28f09 |
:10013000251062005400c2af5400c38f81bf023c3f |
:1001400000f043ac81bf023c00f0428c5400c2afcf |
:1001500081bf023c3333033c3333633430f243ac6e |
:100160003000c28f3400c2af3400c28f1300401081 |
:100170000000000088bf023c0030428c0003427c3b |
:10018000ff0042303800c2af3800c28f1000401468 |
:100190000000000088bf023c00100324083043ac7c |
:1001a00088bf023c0030428c00084230fcff401403 |
:1001b000000000007500400b0000000088bf023cfa |
:1001c00000100324043043ac7500400b0000000015 |
:1001d000000000002800c48f0f01400f0000000045 |
:1001e0001c00c28f3c00c2af4000c0af8500400b76 |
:1001f000000000004000c28f010042244000c2af56 |
:100200001400c38f36fe023c803c42342110620051 |
:100210001400c2af1400c38fc901023c81c3423431 |
:100220002b106200f3ff4010000000002e01400f71 |
:10023000000000004400c2af88bf023c4000c38ff2 |
:10024000004043ac4400c48f0f01400f0000000089 |
:100250003c00c28f4800c2af2e01400f00000000da |
:100260004c00c2af88bf023c40000324042043acd2 |
:1002700088bf023c0040428c5000c2af5000c28f89 |
:10028000300042345000c2af88bf023c5000c38fe0 |
:10029000004043ac1c01400f000000004c00c48f24 |
:1002a0000f01400f00000000212000000301400f5b |
:0c02b00000000000ad00400b000000004a |
:020000040000fa |
:020000041d00dd |
:1002bc00a8ffbd270400a1af0800a2af0c00a3af9c |
:1002cc001000a4af1400a5af1800a6af1c00a7af78 |
:1002dc002000a8af2400a9af2800aaaf2c00abaf18 |
:1002ec003000acaf3400adaf3800aeaf3c00afafb8 |
:1002fc004000b8af4400b9af4800bfaf1240000097 |
:10030c004c00a8af104000005000a8af006804409b |
:10031c00006005402b01400f000000005000a88f2a |
:10032c00110000014c00a88f130000010400a18fe4 |
:10033c000800a28f0c00a38f1000a48f1400a58faf |
:10034c001800a68f1c00a78f2000a88f2400a98f4f |
:10035c002800aa8f2c00ab8f3000ac8f3400ad8fef |
:10036c003800ae8f3c00af8f4000b88f4400b98f7f |
:10037c004800bf8f5800bd27c00000001800004285 |
:020000040000fa |
:020000041d00dd |
:10038c003f00007000606241c000000099aa033c6d |
:10039c0081bf023c5566632430f240ac30f243ac72 |
:1003ac006655033caa99633430f243ac81bf023cde |
:1003bc000100032418f643ac81bf023c10f6428cba |
:0803cc00f300400b00000000eb |
:020000040000fa |
:020000041d00dd |
:1003d4000000043ce8ffbd270000842403008010d3 |
:1003e4001400bfaf09f88000000000000000843052 |
:1003f4000000a5300800400f00000000ffff0010bf |
:08040400000000003f00007041 |
:020000040000fa |
:020000041d00dd |
:10040c00006803408000023c2510620000688240b6 |
:10041c00040080100010032488bf023c0800e00395 |
:10042c00041043ac88bf023c0800e003081043ac46 |
:020000040000fa |
:020000041d00dd |
:10043c000100843003008014000000000800e00379 |
:0c044c00006060410800e0032060604197 |
:020000040000fa |
:020000041d00dd |
:10045800f8ff0224008003402410620002004234a6 |
:080468000800e003008082405f |
:020000040000fa |
:020000041d00dd |
:10047000f8ff02240080034024106200030042348d |
:080480000800e0030080824047 |
:020000040000fa |
:020000041d00dd |
:1004880000601a40bfff1b3cffff7b3724d05b0393 |
:0804980000609a4018000042c8 |
:020000040000fa |
:020000041d00dd |
:0c04a0003f0000702901400b000000002c |
:020000040000fa |
:020000041d00dd |
:0c04ac003f0000702c01400b000000001d |
:020000040000fa |
:020000041d00dd |
:0804b8000800e003006062414e |
:020000040000fa |
:020000041d00dd |
:0804c0000800e0030000000049 |
:020000040000fa |
:020000041d00dd |
:0804c8000800e0030000000041 |
:020000040000fa |
:020000041d00dd |
:0404d0000000000028 |
:00000001FF |
/PIC Stuff/Cerebot_32MX7_LED_Cube/dist/default/production/Cerebot_32MX7_LED_Cube.production.elf |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/PIC Stuff/Cerebot_32MX7_LED_Cube/dist/default/production/Cerebot_32MX7_LED_Cube.production.elf |
---|
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/PIC Stuff/Cerebot_32MX7_LED_Cube/dist/default/production/Cerebot_32MX7_LED_Cube.production.hex |
---|
0,0 → 1,365 |
:020000040000fa |
:020000041fc01b |
:042ff000ffffff3aa6 |
:020000040000fa |
:020000041fc01b |
:042ff400d979f8ff90 |
:020000040000fa |
:020000041fc01b |
:042ff8005bfc6aff15 |
:020000040000fa |
:020000041fc01b |
:042ffc00f7ffff7f5d |
:020000040000fa |
:020000041fc01b |
:10000000c0bf1a3c10005a2708004003000000003f |
:1000100000601a40c0045a7f050040130000000031 |
:10002000009d1a3c18055a270800400300000000f4 |
:1000300002a01d3cf8ffbd2700a01c3cf07f9c27c0 |
:100040000260094020582001801e2a7d8449497d94 |
:1000500002608940c000000000e0dc4102608b408b |
:10006000009d083c5005082509f80001000000002b |
:1000700000a0083c0000082500a0093c000029253c |
:100080000600001000000000000000ad040000adfc |
:10009000080000ad0c0000ad100008252b08090178 |
:1000a000f9ff201400000000009d083c60050825b1 |
:1000b0000000098d180020110400082500000a8d99 |
:1000c0000400082500000b8d0900601104000825bc |
:1000d00000000c91ffff4a250100082500002ca11b |
:1000e000fbff40150100292505000010000000005d |
:1000f000000020a1ffff4a25fdff40150100292532 |
:1001000003000825fcff0a24244048010000098d53 |
:10011000e7ff2015000000000000093c0000292531 |
:1001200010002011000000000200093c00002925f9 |
:1001300088bf0a3c10204a25000049ad0200093c56 |
:100140000000292588bf0a3c20204a25000049ad2f |
:100150000200093c0000292588bf0a3c30204a25be |
:10016000000049ad00488040ffff0a2400588a4043 |
:10017000c09f093c00102925017889400000093cf6 |
:100180000100292500000a2444492a7d01608a4093 |
:100190008000093c00688940008008408005097d96 |
:1001a000404c0900006008405800013c2440010117 |
:1001b0002540280100608840009d083c580508251e |
:1001c00009f800010000000000600840bfff013c8a |
:1001d000ffff21342440010100608840000084308a |
:1001e0000000a530009d083c6404082508000001bb |
:0401f000000000000b |
:020000040000fa |
:020000041fc01b |
:10038000009d1a3c30055a27080040030000000079 |
:020000040000fa |
:020000041fc01b |
:10118000009d1a3c4c035a27080040030000000051 |
:020000040000fa |
:020000041fc01b |
:081200000701400b0000000093 |
:020000040000fa |
:020000041fc01b |
:081220000701400b0000000073 |
:020000040000fa |
:020000041fc01b |
:081240000701400b0000000053 |
:020000040000fa |
:020000041fc01b |
:081260000701400b0000000033 |
:020000040000fa |
:020000041fc01b |
:081280000701400b0000000013 |
:020000040000fa |
:020000041fc01b |
:0812a0000701400b00000000f3 |
:020000040000fa |
:020000041fc01b |
:0812c0000701400b00000000d3 |
:020000040000fa |
:020000041fc01b |
:0812e0000701400b00000000b3 |
:020000040000fa |
:020000041fc01b |
:081300000701400b0000000092 |
:020000040000fa |
:020000041fc01b |
:081320000701400b0000000072 |
:020000040000fa |
:020000041fc01b |
:081340000701400b0000000052 |
:020000040000fa |
:020000041fc01b |
:081360000701400b0000000032 |
:020000040000fa |
:020000041fc01b |
:081380000701400b0000000012 |
:020000040000fa |
:020000041fc01b |
:0813a0000701400b00000000f2 |
:020000040000fa |
:020000041fc01b |
:0813c0000701400b00000000d2 |
:020000040000fa |
:020000041fc01b |
:0813e0000701400b00000000b2 |
:020000040000fa |
:020000041fc01b |
:081400000701400b0000000091 |
:020000040000fa |
:020000041fc01b |
:081420000701400b0000000071 |
:020000040000fa |
:020000041fc01b |
:081440000701400b0000000051 |
:020000040000fa |
:020000041fc01b |
:081460000701400b0000000031 |
:020000040000fa |
:020000041fc01b |
:081480000701400b0000000011 |
:020000040000fa |
:020000041fc01b |
:0814a0000701400b00000000f1 |
:020000040000fa |
:020000041fc01b |
:0814c0000701400b00000000d1 |
:020000040000fa |
:020000041fc01b |
:0814e0000701400b00000000b1 |
:020000040000fa |
:020000041fc01b |
:081500000701400b0000000090 |
:020000040000fa |
:020000041fc01b |
:081520000701400b0000000070 |
:020000040000fa |
:020000041fc01b |
:081540000701400b0000000050 |
:020000040000fa |
:020000041fc01b |
:081560000701400b0000000030 |
:020000040000fa |
:020000041fc01b |
:081580000701400b0000000010 |
:020000040000fa |
:020000041fc01b |
:0815a0000701400b00000000f0 |
:020000040000fa |
:020000041fc01b |
:0815c0000701400b00000000d0 |
:020000040000fa |
:020000041fc01b |
:0815e0000701400b00000000b0 |
:020000040000fa |
:020000041fc01b |
:081600000701400b000000008f |
:020000040000fa |
:020000041fc01b |
:081620000701400b000000006f |
:020000040000fa |
:020000041fc01b |
:081640000701400b000000004f |
:020000040000fa |
:020000041fc01b |
:081660000701400b000000002f |
:020000040000fa |
:020000041fc01b |
:081680000701400b000000000f |
:020000040000fa |
:020000041fc01b |
:0816a0000701400b00000000ef |
:020000040000fa |
:020000041fc01b |
:0816c0000701400b00000000cf |
:020000040000fa |
:020000041fc01b |
:0816e0000701400b00000000af |
:020000040000fa |
:020000041fc01b |
:081700000701400b000000008e |
:020000040000fa |
:020000041fc01b |
:081720000701400b000000006e |
:020000040000fa |
:020000041fc01b |
:081740000701400b000000004e |
:020000040000fa |
:020000041fc01b |
:081760000701400b000000002e |
:020000040000fa |
:020000041fc01b |
:081780000701400b000000000e |
:020000040000fa |
:020000041fc01b |
:0817a0000701400b00000000ee |
:020000040000fa |
:020000041fc01b |
:0817c0000701400b00000000ce |
:020000040000fa |
:020000041fc01b |
:0817e0000701400b00000000ae |
:020000040000fa |
:020000041fc01b |
:081800000701400b000000008d |
:020000040000fa |
:020000041fc01b |
:081820000701400b000000006d |
:020000040000fa |
:020000041fc01b |
:081840000701400b000000004d |
:020000040000fa |
:020000041fc01b |
:081860000701400b000000002d |
:020000040000fa |
:020000041fc01b |
:081880000701400b000000000d |
:020000040000fa |
:020000041fc01b |
:0818a0000701400b00000000ed |
:020000040000fa |
:020000041fc01b |
:0818c0000701400b00000000cd |
:020000040000fa |
:020000041fc01b |
:0818e0000701400b00000000ad |
:020000040000fa |
:020000041fc01b |
:081900000701400b000000008c |
:020000040000fa |
:020000041fc01b |
:081920000701400b000000006c |
:020000040000fa |
:020000041fc01b |
:081940000701400b000000004c |
:020000040000fa |
:020000041fc01b |
:081960000701400b000000002c |
:020000040000fa |
:020000041fc01b |
:081980000701400b000000000c |
:020000040000fa |
:020000041fc01b |
:0819a0000701400b00000000ec |
:020000040000fa |
:020000041fc01b |
:0819c0000701400b00000000cc |
:020000040000fa |
:020000041fc01b |
:0819e0000701400b00000000ac |
:020000040000fa |
:020000041d00dd |
:10002000a0ffbd275c00bfaf5800beaf21f0a0030a |
:10003000c404023c00b442341000c2af1000c28fae |
:100040001400c2af1400c28f1800c2af1800c28fd4 |
:100050001c00c2af1800c38fc404023c01b4423478 |
:100060002b10620008004014000000000800023c51 |
:100070002000c2af1c00c28f421002001c00c2afa1 |
:100080002300400b000000002000c0af2000c28f02 |
:100090002400c2af5201400f000000002800c2af90 |
:1000a00088bf023c0030428c0003427cff0042309b |
:1000b0002c00c2af2c00c28f0900401400000000c9 |
:1000c00088bf023c00100324083043ac88bf023cc8 |
:1000d0000030428c00084230fcff40140000000059 |
:1000e0002c00c28f3000c2af81bf023c30f240ac66 |
:1000f00081bf023c99aa033c5566633430f243ac9d |
:1001000081bf023c6655033caa99633430f243ac8c |
:1001100081bf023c00f0428c5400c2af5400c28f39 |
:10012000c4a4027c5400c2af5400c38f2400c28f09 |
:10013000251062005400c2af5400c38f81bf023c3f |
:1001400000f043ac81bf023c00f0428c5400c2afcf |
:1001500081bf023c3333033c3333633430f243ac6e |
:100160003000c28f3400c2af3400c28f1300401081 |
:100170000000000088bf023c0030428c0003427c3b |
:10018000ff0042303800c2af3800c28f1000401468 |
:100190000000000088bf023c00100324083043ac7c |
:1001a00088bf023c0030428c00084230fcff401403 |
:1001b000000000007500400b0000000088bf023cfa |
:1001c00000100324043043ac7500400b0000000015 |
:1001d000000000002800c48f3301400f0000000021 |
:1001e0001c00c28f3c00c2af4000c0af8500400b76 |
:1001f000000000004000c28f010042244000c2af56 |
:100200001400c38f36fe023c803c42342110620051 |
:100210001400c2af1400c38fc901023c81c3423431 |
:100220002b106200f3ff4010000000005201400f4d |
:10023000000000004400c2af88bf023c4000c38ff2 |
:10024000004043ac4400c48f3301400f0000000065 |
:100250003c00c28f4800c2af5201400f00000000b6 |
:100260004c00c2af88bf023c40000324042043acd2 |
:1002700088bf023c0040428c5000c2af5000c28f89 |
:10028000300042345000c2af88bf023c5000c38fe0 |
:10029000004043ac4001400f000000004c00c48f00 |
:1002a0003301400f00000000212000002701400f13 |
:1002b0000000000088bf033c8061628c0463027c04 |
:1002c000806162ac88bf033c8061628c446b027cbd |
:1002d000806162ac88bf033c8061628c8473027c65 |
:1002e000806162ac88bf033c8061628cc47b027c0d |
:1002f000806162ac88bf033c9061628c0100042481 |
:100300000463827c906162ac88bf033c9061628c24 |
:1003100001000424446b827c906162ac88bf033c82 |
:100320009061628c010004248473827c906162acd1 |
:1003300088bf033c9061628c01000424c47b827cf2 |
:0c034000906162acd100400b0000000096 |
:020000040000fa |
:020000041d00dd |
:10034c00a8ffbd270400a1af0800a2af0c00a3af0b |
:10035c001000a4af1400a5af1800a6af1c00a7afe7 |
:10036c002000a8af2400a9af2800aaaf2c00abaf87 |
:10037c003000acaf3400adaf3800aeaf3c00afaf27 |
:10038c004000b8af4400b9af4800bfaf1240000006 |
:10039c004c00a8af104000005000a8af006804400b |
:1003ac00006005404f01400f000000005000a88f76 |
:1003bc00110000014c00a88f130000010400a18f54 |
:1003cc000800a28f0c00a38f1000a48f1400a58f1f |
:1003dc001800a68f1c00a78f2000a88f2400a98fbf |
:1003ec002800aa8f2c00ab8f3000ac8f3400ad8f5f |
:1003fc003800ae8f3c00af8f4000b88f4400b98fef |
:10040c004800bf8f5800bd27c000000018000042f4 |
:020000040000fa |
:020000041d00dd |
:10041c003f00007000606241c000000099aa033cdc |
:10042c0081bf023c5566632430f240ac30f243ace1 |
:10043c006655033caa99633430f243ac81bf023c4d |
:10044c000100032418f643ac81bf023c10f6428c29 |
:08045c001701400b0000000035 |
:020000040000fa |
:020000041d00dd |
:100464000000043ce8ffbd27000084240300801042 |
:100474001400bfaf09f880000000000000008430c1 |
:100484000000a5300800400f00000000ffff00102e |
:08049400000000003f000070b1 |
:020000040000fa |
:020000041d00dd |
:10049c00006803408000023c251062000068824026 |
:1004ac00040080100010032488bf023c0800e00305 |
:1004bc00041043ac88bf023c0800e003081043acb6 |
:020000040000fa |
:020000041d00dd |
:1004cc000100843003008014000000000800e003e9 |
:0c04dc00006060410800e0032060604107 |
:020000040000fa |
:020000041d00dd |
:1004e800f8ff022400800340241062000200423416 |
:0804f8000800e00300808240cf |
:020000040000fa |
:020000041d00dd |
:10050000f8ff0224008003402410620003004234fc |
:080510000800e00300808240b6 |
:020000040000fa |
:020000041d00dd |
:1005180000601a40bfff1b3cffff7b3724d05b0302 |
:0805280000609a401800004237 |
:020000040000fa |
:020000041d00dd |
:0c0530003f0000704d01400b0000000077 |
:020000040000fa |
:020000041d00dd |
:0c053c003f0000705001400b0000000068 |
:020000040000fa |
:020000041d00dd |
:080548000800e00300606241bd |
:020000040000fa |
:020000041d00dd |
:080550000800e00300000000b8 |
:020000040000fa |
:020000041d00dd |
:080558000800e00300000000b0 |
:020000040000fa |
:020000041d00dd |
:040560000000000097 |
:00000001FF |
/PIC Stuff/Cerebot_32MX7_LED_Cube/main.c |
---|
0,0 → 1,57 |
/* ------------------------------------------------------------ */ |
/* PIC32 Configuration Settings */ |
/* ------------------------------------------------------------ */ |
/* Oscillator Settings */ |
#pragma config FNOSC = PRIPLL // Oscillator Selection Bits |
#pragma config POSCMOD = EC // Primary Oscillator Configuration |
#pragma config FPLLIDIV = DIV_2 // PLL Input Divider |
#pragma config FPLLMUL = MUL_20 // PLL Multiplier |
#pragma config FPLLODIV = DIV_1 // PLL Output Divider |
#pragma config FPBDIV = DIV_8 // Peripheral Clock Divisor (timers/UART/SPI/I2C) |
#pragma config FSOSCEN = OFF // Secondary Oscillator Enable |
/* Clock Control Settings */ |
#pragma config IESO = OFF // Internal/External Clock Switch Over |
#pragma config FCKSM = CSDCMD // Clock Switching and Monitor Selection |
#pragma config OSCIOFNC = OFF // CLKO Output Signal Active on the OSCO Pin |
/* USB Settings */ |
#pragma config UPLLEN = ON // USB PLL Enable |
#pragma config UPLLIDIV = DIV_2 // USB PLL Input Divider |
#pragma config FVBUSONIO = OFF // USB VBUS ON Selection |
#pragma config FUSBIDIO = OFF // USB USID Selection |
/* Other Peripheral Device Settings */ |
#pragma config FWDTEN = OFF // Watchdog Timer Enable |
#pragma config WDTPS = PS1024 // Watchdog Timer Postscaler |
#pragma config FSRSSEL = PRIORITY_7 // SRS Interrupt Priority |
#pragma config FCANIO = OFF // CAN I/O Pin Select (default/alternate) |
#pragma config FETHIO = ON // Ethernet I/O Pin Select (default/alternate) |
#pragma config FMIIEN = OFF // Ethernet MII/RMII select (OFF=RMII) |
/* Code Protection Settings */ |
#pragma config CP = OFF // Code Protect |
#pragma config BWP = OFF // Boot Flash Write Protect |
#pragma config PWP = OFF // Program Flash Write Protect |
/* Debug Settings */ |
#pragma config ICESEL = ICS_PGx1 // ICE/ICD Comm Channel Select (on-board debugger) |
/* ------------------------------------------------------------ */ |
#include <xc.h> |
#include <plib.h> |
#include "defines.h" |
int main() { |
/* Configure the target for maximum performance at 80 MHz. */ |
SYSTEMConfigPerformance(80000000UL); |
INTConfigureSystem(INT_SYSTEM_CONFIG_MULT_VECTOR); |
LED1_TRIS = 0; |
LED2_TRIS = 0; |
LED3_TRIS = 0; |
LED4_TRIS = 0; |
LED1_PORT = 1; |
LED2_PORT = 1; |
LED3_PORT = 1; |
LED4_PORT = 1; |
while(1) {} |
} |
/PIC Stuff/Cerebot_32MX7_LED_Cube/nbproject/Makefile-default.mk |
---|
0,0 → 1,140 |
# |
# Generated Makefile - do not edit! |
# |
# Edit the Makefile in the project folder instead (../Makefile). Each target |
# has a -pre and a -post target defined where you can add customized code. |
# |
# This makefile implements configuration specific macros and targets. |
# Include project Makefile |
ifeq "${IGNORE_LOCAL}" "TRUE" |
# do not include local makefile. User is passing all local related variables already |
else |
include Makefile |
# Include makefile containing local settings |
ifeq "$(wildcard nbproject/Makefile-local-default.mk)" "nbproject/Makefile-local-default.mk" |
include nbproject/Makefile-local-default.mk |
endif |
endif |
# Environment |
MKDIR=gnumkdir -p |
RM=rm -f |
MV=mv |
CP=cp |
# Macros |
CND_CONF=default |
ifeq ($(TYPE_IMAGE), DEBUG_RUN) |
IMAGE_TYPE=debug |
OUTPUT_SUFFIX=elf |
DEBUGGABLE_SUFFIX=elf |
FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/Cerebot_32MX7_LED_Cube.${IMAGE_TYPE}.${OUTPUT_SUFFIX} |
else |
IMAGE_TYPE=production |
OUTPUT_SUFFIX=hex |
DEBUGGABLE_SUFFIX=elf |
FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/Cerebot_32MX7_LED_Cube.${IMAGE_TYPE}.${OUTPUT_SUFFIX} |
endif |
# Object Directory |
OBJECTDIR=build/${CND_CONF}/${IMAGE_TYPE} |
# Distribution Directory |
DISTDIR=dist/${CND_CONF}/${IMAGE_TYPE} |
# Object Files Quoted if spaced |
OBJECTFILES_QUOTED_IF_SPACED=${OBJECTDIR}/main.o |
POSSIBLE_DEPFILES=${OBJECTDIR}/main.o.d |
# Object Files |
OBJECTFILES=${OBJECTDIR}/main.o |
CFLAGS= |
ASFLAGS= |
LDLIBSOPTIONS= |
############# Tool locations ########################################## |
# If you copy a project from one host to another, the path where the # |
# compiler is installed may be different. # |
# If you open this project with MPLAB X in the new host, this # |
# makefile will be regenerated and the paths will be corrected. # |
####################################################################### |
# fixDeps replaces a bunch of sed/cat/printf statements that slow down the build |
FIXDEPS=fixDeps |
.build-conf: ${BUILD_SUBPROJECTS} |
${MAKE} ${MAKE_OPTIONS} -f nbproject/Makefile-default.mk dist/${CND_CONF}/${IMAGE_TYPE}/Cerebot_32MX7_LED_Cube.${IMAGE_TYPE}.${OUTPUT_SUFFIX} |
MP_PROCESSOR_OPTION=32MX795F512L |
MP_LINKER_FILE_OPTION= |
# ------------------------------------------------------------------------------------ |
# Rules for buildStep: assemble |
ifeq ($(TYPE_IMAGE), DEBUG_RUN) |
else |
endif |
# ------------------------------------------------------------------------------------ |
# Rules for buildStep: assembleWithPreprocess |
ifeq ($(TYPE_IMAGE), DEBUG_RUN) |
else |
endif |
# ------------------------------------------------------------------------------------ |
# Rules for buildStep: compile |
ifeq ($(TYPE_IMAGE), DEBUG_RUN) |
${OBJECTDIR}/main.o: main.c nbproject/Makefile-${CND_CONF}.mk |
@${MKDIR} ${OBJECTDIR} |
@${RM} ${OBJECTDIR}/main.o.d |
@${FIXDEPS} "${OBJECTDIR}/main.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -fframe-base-loclist -x c -c -mprocessor=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/main.o.d" -o ${OBJECTDIR}/main.o main.c |
else |
${OBJECTDIR}/main.o: main.c nbproject/Makefile-${CND_CONF}.mk |
@${MKDIR} ${OBJECTDIR} |
@${RM} ${OBJECTDIR}/main.o.d |
@${FIXDEPS} "${OBJECTDIR}/main.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -x c -c -mprocessor=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/main.o.d" -o ${OBJECTDIR}/main.o main.c |
endif |
# ------------------------------------------------------------------------------------ |
# Rules for buildStep: compileCPP |
ifeq ($(TYPE_IMAGE), DEBUG_RUN) |
else |
endif |
# ------------------------------------------------------------------------------------ |
# Rules for buildStep: link |
ifeq ($(TYPE_IMAGE), DEBUG_RUN) |
dist/${CND_CONF}/${IMAGE_TYPE}/Cerebot_32MX7_LED_Cube.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk |
@${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE} |
${MP_CC} $(MP_EXTRA_LD_PRE) -mdebugger -D__MPLAB_DEBUGGER_PK3=1 -mprocessor=$(MP_PROCESSOR_OPTION) -o dist/${CND_CONF}/${IMAGE_TYPE}/Cerebot_32MX7_LED_Cube.${IMAGE_TYPE}.${OUTPUT_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -Wl,--defsym=__MPLAB_BUILD=1$(MP_EXTRA_LD_POST)$(MP_LINKER_FILE_OPTION),--defsym=__ICD2RAM=1,--defsym=__MPLAB_DEBUG=1,--defsym=__DEBUG=1,--defsym=__MPLAB_DEBUGGER_PK3=1 |
else |
dist/${CND_CONF}/${IMAGE_TYPE}/Cerebot_32MX7_LED_Cube.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk |
@${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE} |
${MP_CC} $(MP_EXTRA_LD_PRE) -mprocessor=$(MP_PROCESSOR_OPTION) -o dist/${CND_CONF}/${IMAGE_TYPE}/Cerebot_32MX7_LED_Cube.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -Wl,--defsym=__MPLAB_BUILD=1$(MP_EXTRA_LD_POST)$(MP_LINKER_FILE_OPTION) |
${MP_CC_DIR}\\xc32-bin2hex dist/${CND_CONF}/${IMAGE_TYPE}/Cerebot_32MX7_LED_Cube.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} |
endif |
# Subprojects |
.build-subprojects: |
# Subprojects |
.clean-subprojects: |
# Clean Targets |
.clean-conf: ${CLEAN_SUBPROJECTS} |
${RM} -r build/default |
${RM} -r dist/default |
# Enable dependency checking |
.dep.inc: .depcheck-impl |
DEPFILES=$(shell mplabwildcard ${POSSIBLE_DEPFILES}) |
ifneq (${DEPFILES},) |
include ${DEPFILES} |
endif |
/PIC Stuff/Cerebot_32MX7_LED_Cube/nbproject/Makefile-genesis.properties |
---|
0,0 → 1,8 |
# |
#Sun May 05 22:04:33 EDT 2013 |
default.com-microchip-mplab-nbide-toolchainXC32-XC32LanguageToolchain.md5=6b4fa04caf3910c7c3a4666b1aea8c5c |
default.languagetoolchain.dir=C\:\\Program Files (x86)\\Microchip\\xc32\\v1.20\\bin |
com-microchip-mplab-nbide-embedded-makeproject-MakeProject.md5=415494acd195d89b2f6d7a36797a5ab4 |
default.languagetoolchain.version=1.20 |
host.platform=windows |
conf.ids=default |
/PIC Stuff/Cerebot_32MX7_LED_Cube/nbproject/Makefile-impl.mk |
---|
0,0 → 1,69 |
# |
# Generated Makefile - do not edit! |
# |
# Edit the Makefile in the project folder instead (../Makefile). Each target |
# has a pre- and a post- target defined where you can add customization code. |
# |
# This makefile implements macros and targets common to all configurations. |
# |
# NOCDDL |
# Building and Cleaning subprojects are done by default, but can be controlled with the SUB |
# macro. If SUB=no, subprojects will not be built or cleaned. The following macro |
# statements set BUILD_SUB-CONF and CLEAN_SUB-CONF to .build-reqprojects-conf |
# and .clean-reqprojects-conf unless SUB has the value 'no' |
SUB_no=NO |
SUBPROJECTS=${SUB_${SUB}} |
BUILD_SUBPROJECTS_=.build-subprojects |
BUILD_SUBPROJECTS_NO= |
BUILD_SUBPROJECTS=${BUILD_SUBPROJECTS_${SUBPROJECTS}} |
CLEAN_SUBPROJECTS_=.clean-subprojects |
CLEAN_SUBPROJECTS_NO= |
CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}} |
# Project Name |
PROJECTNAME=Cerebot_32MX7_LED_Cube |
# Active Configuration |
DEFAULTCONF=default |
CONF=${DEFAULTCONF} |
# All Configurations |
ALLCONFS=default |
# build |
.build-impl: .build-pre |
${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-conf |
# clean |
.clean-impl: .clean-pre |
${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .clean-conf |
# clobber |
.clobber-impl: .clobber-pre .depcheck-impl |
${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default clean |
# all |
.all-impl: .all-pre .depcheck-impl |
${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default build |
# dependency checking support |
.depcheck-impl: |
# @echo "# This code depends on make tool being used" >.dep.inc |
# @if [ -n "${MAKE_VERSION}" ]; then \ |
# echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES}))" >>.dep.inc; \ |
# echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \ |
# echo "include \$${DEPFILES}" >>.dep.inc; \ |
# echo "endif" >>.dep.inc; \ |
# else \ |
# echo ".KEEP_STATE:" >>.dep.inc; \ |
# echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \ |
# fi |
/PIC Stuff/Cerebot_32MX7_LED_Cube/nbproject/Makefile-local-default.mk |
---|
0,0 → 1,37 |
# |
# Generated Makefile - do not edit! |
# |
# |
# This file contains information about the location of compilers and other tools. |
# If you commmit this file into your revision control server, you will be able to |
# to checkout the project and build it from the command line with make. However, |
# if more than one person works on the same project, then this file might show |
# conflicts since different users are bound to have compilers in different places. |
# In that case you might choose to not commit this file and let MPLAB X recreate this file |
# for each user. The disadvantage of not commiting this file is that you must run MPLAB X at |
# least once so the file gets created and the project can be built. Finally, you can also |
# avoid using this file at all if you are only building from the command line with make. |
# You can invoke make with the values of the macros: |
# $ makeMP_CC="/opt/microchip/mplabc30/v3.30c/bin/pic30-gcc" ... |
# |
SHELL=cmd.exe |
PATH_TO_IDE_BIN=C:/Program Files (x86)/Microchip/MPLABX/mplab_ide/mplab_ide/modules/../../bin/ |
# Adding MPLAB X bin directory to path. |
PATH:=C:/Program Files (x86)/Microchip/MPLABX/mplab_ide/mplab_ide/modules/../../bin/:$(PATH) |
# Path to java used to run MPLAB X when this makefile was created |
MP_JAVA_PATH="C:\Program Files (x86)\Microchip\MPLABX\sys\java\jre1.6.0_32-windows-x64\java-windows/bin/" |
OS_CURRENT="$(shell uname -s)" |
MP_CC="C:\Program Files (x86)\Microchip\xc32\v1.20\bin\xc32-gcc.exe" |
MP_CPPC="C:\Program Files (x86)\Microchip\xc32\v1.20\bin\xc32-g++.exe" |
# MP_BC is not defined |
MP_AS="C:\Program Files (x86)\Microchip\xc32\v1.20\bin\xc32-as.exe" |
MP_LD="C:\Program Files (x86)\Microchip\xc32\v1.20\bin\xc32-ld.exe" |
MP_AR="C:\Program Files (x86)\Microchip\xc32\v1.20\bin\xc32-ar.exe" |
DEP_GEN=${MP_JAVA_PATH}java -jar "C:/Program Files (x86)/Microchip/MPLABX/mplab_ide/mplab_ide/modules/../../bin/extractobjectdependencies.jar" |
MP_CC_DIR="C:\Program Files (x86)\Microchip\xc32\v1.20\bin" |
MP_CPPC_DIR="C:\Program Files (x86)\Microchip\xc32\v1.20\bin" |
# MP_BC_DIR is not defined |
MP_AS_DIR="C:\Program Files (x86)\Microchip\xc32\v1.20\bin" |
MP_LD_DIR="C:\Program Files (x86)\Microchip\xc32\v1.20\bin" |
MP_AR_DIR="C:\Program Files (x86)\Microchip\xc32\v1.20\bin" |
# MP_BC_DIR is not defined |
/PIC Stuff/Cerebot_32MX7_LED_Cube/nbproject/Makefile-variables.mk |
---|
0,0 → 1,13 |
# |
# Generated - do not edit! |
# |
# NOCDDL |
# |
CND_BASEDIR=`pwd` |
# default configuration |
CND_ARTIFACT_DIR_default=dist/default/production |
CND_ARTIFACT_NAME_default=Cerebot_32MX7_LED_Cube.production.hex |
CND_ARTIFACT_PATH_default=dist/default/production/Cerebot_32MX7_LED_Cube.production.hex |
CND_PACKAGE_DIR_default=${CND_DISTDIR}/default/package |
CND_PACKAGE_NAME_default=cerebot32mx7ledcube.tar |
CND_PACKAGE_PATH_default=${CND_DISTDIR}/default/package/cerebot32mx7ledcube.tar |
/PIC Stuff/Cerebot_32MX7_LED_Cube/nbproject/Package-default.bash |
---|
0,0 → 1,73 |
#!/bin/bash -x |
# |
# Generated - do not edit! |
# |
# Macros |
TOP=`pwd` |
CND_CONF=default |
CND_DISTDIR=dist |
TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging |
TMPDIRNAME=tmp-packaging |
OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/Cerebot_32MX7_LED_Cube.${IMAGE_TYPE}.${OUTPUT_SUFFIX} |
OUTPUT_BASENAME=Cerebot_32MX7_LED_Cube.${IMAGE_TYPE}.${OUTPUT_SUFFIX} |
PACKAGE_TOP_DIR=cerebot32mx7ledcube/ |
# Functions |
function checkReturnCode |
{ |
rc=$? |
if [ $rc != 0 ] |
then |
exit $rc |
fi |
} |
function makeDirectory |
# $1 directory path |
# $2 permission (optional) |
{ |
mkdir -p "$1" |
checkReturnCode |
if [ "$2" != "" ] |
then |
chmod $2 "$1" |
checkReturnCode |
fi |
} |
function copyFileToTmpDir |
# $1 from-file path |
# $2 to-file path |
# $3 permission |
{ |
cp "$1" "$2" |
checkReturnCode |
if [ "$3" != "" ] |
then |
chmod $3 "$2" |
checkReturnCode |
fi |
} |
# Setup |
cd "${TOP}" |
mkdir -p ${CND_DISTDIR}/${CND_CONF}/package |
rm -rf ${TMPDIR} |
mkdir -p ${TMPDIR} |
# Copy files and create directories and links |
cd "${TOP}" |
makeDirectory ${TMPDIR}/cerebot32mx7ledcube/bin |
copyFileToTmpDir "${OUTPUT_PATH}" "${TMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755 |
# Generate tar file |
cd "${TOP}" |
rm -f ${CND_DISTDIR}/${CND_CONF}/package/cerebot32mx7ledcube.tar |
cd ${TMPDIR} |
tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/package/cerebot32mx7ledcube.tar * |
checkReturnCode |
# Cleanup |
cd "${TOP}" |
rm -rf ${TMPDIR} |
/PIC Stuff/Cerebot_32MX7_LED_Cube/nbproject/configurations.xml |
---|
0,0 → 1,168 |
<?xml version="1.0" encoding="UTF-8"?> |
<configurationDescriptor version="62"> |
<logicalFolder name="root" displayName="root" projectFiles="true"> |
<logicalFolder name="HeaderFiles" |
displayName="Header Files" |
projectFiles="true"> |
<itemPath>defines.h</itemPath> |
</logicalFolder> |
<logicalFolder name="LinkerScript" |
displayName="Linker Files" |
projectFiles="true"> |
</logicalFolder> |
<logicalFolder name="SourceFiles" |
displayName="Source Files" |
projectFiles="true"> |
<itemPath>main.c</itemPath> |
</logicalFolder> |
<logicalFolder name="ExternalFiles" |
displayName="Important Files" |
projectFiles="false"> |
<itemPath>Makefile</itemPath> |
</logicalFolder> |
</logicalFolder> |
<projectmakefile>Makefile</projectmakefile> |
<confs> |
<conf name="default" type="2"> |
<toolsSet> |
<developmentServer>localhost</developmentServer> |
<targetDevice>PIC32MX795F512L</targetDevice> |
<targetHeader></targetHeader> |
<targetPluginBoard></targetPluginBoard> |
<platformTool>PK3OBPlatformTool</platformTool> |
<languageToolchain>XC32</languageToolchain> |
<languageToolchainVersion>1.20</languageToolchainVersion> |
<platform>3</platform> |
</toolsSet> |
<compileType> |
<linkerTool> |
<linkerLibItems> |
</linkerLibItems> |
</linkerTool> |
<loading> |
<useAlternateLoadableFile>false</useAlternateLoadableFile> |
<alternateLoadableFile></alternateLoadableFile> |
</loading> |
</compileType> |
<makeCustomizationType> |
<makeCustomizationPreStepEnabled>false</makeCustomizationPreStepEnabled> |
<makeCustomizationPreStep></makeCustomizationPreStep> |
<makeCustomizationPostStepEnabled>false</makeCustomizationPostStepEnabled> |
<makeCustomizationPostStep></makeCustomizationPostStep> |
<makeCustomizationPutChecksumInUserID>false</makeCustomizationPutChecksumInUserID> |
<makeCustomizationEnableLongLines>false</makeCustomizationEnableLongLines> |
<makeCustomizationNormalizeHexFile>false</makeCustomizationNormalizeHexFile> |
</makeCustomizationType> |
<C32> |
<property key="additional-warnings" value="false"/> |
<property key="enable-app-io" value="false"/> |
<property key="enable-omit-frame-pointer" value="false"/> |
<property key="enable-symbols" value="true"/> |
<property key="enable-unroll-loops" value="false"/> |
<property key="exclude-floating-point" value="false"/> |
<property key="extra-include-directories" value=""/> |
<property key="generate-16-bit-code" value="false"/> |
<property key="isolate-each-function" value="false"/> |
<property key="keep-inline" value="false"/> |
<property key="make-warnings-into-errors" value="false"/> |
<property key="optimization-level" value=""/> |
<property key="place-data-into-section" value="false"/> |
<property key="post-instruction-scheduling" value="default"/> |
<property key="pre-instruction-scheduling" value="default"/> |
<property key="preprocessor-macros" value=""/> |
<property key="strict-ansi" value="false"/> |
<property key="support-ansi" value="false"/> |
<property key="use-cci" value="false"/> |
<property key="use-indirect-calls" value="false"/> |
</C32> |
<C32-AS> |
<property key="assembler-symbols" value=""/> |
<property key="enable-symbols" value="true"/> |
<property key="exclude-floating-point-library" value="false"/> |
<property key="expand-macros" value="false"/> |
<property key="extra-include-directories-for-assembler" value=""/> |
<property key="extra-include-directories-for-preprocessor" value=""/> |
<property key="false-conditionals" value="false"/> |
<property key="keep-locals" value="false"/> |
<property key="list-assembly" value="false"/> |
<property key="list-source" value="false"/> |
<property key="list-symbols" value="false"/> |
<property key="oXC32asm-list-to-file" value="false"/> |
<property key="omit-debug-dirs" value="false"/> |
<property key="omit-forms" value="false"/> |
<property key="preprocessor-macros" value=""/> |
<property key="warning-level" value=""/> |
</C32-AS> |
<C32-LD> |
<property key="enable-check-sections" value="false"/> |
<property key="exclude-floating-point-library" value="false"/> |
<property key="exclude-standard-libraries" value="false"/> |
<property key="extra-lib-directories" value=""/> |
<property key="generate-16-bit-code" value="false"/> |
<property key="generate-cross-reference-file" value="false"/> |
<property key="heap-size" value=""/> |
<property key="input-libraries" value=""/> |
<property key="linker-symbols" value=""/> |
<property key="map-file" value=""/> |
<property key="no-startup-files" value="false"/> |
<property key="optimization-level" value=""/> |
<property key="preprocessor-macros" value=""/> |
<property key="remove-unused-sections" value="false"/> |
<property key="report-memory-usage" value="false"/> |
<property key="stack-size" value=""/> |
<property key="symbol-stripping" value=""/> |
<property key="trace-symbols" value=""/> |
<property key="warn-section-align" value="false"/> |
</C32-LD> |
<C32CPP> |
<property key="additional-warnings" value="false"/> |
<property key="check-new" value="false"/> |
<property key="eh-specs" value="true"/> |
<property key="enable-app-io" value="false"/> |
<property key="enable-omit-frame-pointer" value="false"/> |
<property key="enable-symbols" value="true"/> |
<property key="enable-unroll-loops" value="false"/> |
<property key="exceptions" value="true"/> |
<property key="exclude-floating-point" value="false"/> |
<property key="extra-include-directories" value=""/> |
<property key="generate-16-bit-code" value="false"/> |
<property key="isolate-each-function" value="false"/> |
<property key="keep-inline" value="false"/> |
<property key="make-warnings-into-errors" value="false"/> |
<property key="optimization-level" value=""/> |
<property key="place-data-into-section" value="false"/> |
<property key="post-instruction-scheduling" value="default"/> |
<property key="pre-instruction-scheduling" value="default"/> |
<property key="preprocessor-macros" value=""/> |
<property key="rtti" value="true"/> |
<property key="strict-ansi" value="false"/> |
<property key="use-cci" value="false"/> |
<property key="use-indirect-calls" value="false"/> |
</C32CPP> |
<C32Global> |
<property key="legacy-libc" value="false"/> |
</C32Global> |
<PK3OBPlatformTool> |
<property key="AutoSelectMemRanges" value="auto"/> |
<property key="SecureSegment.SegmentProgramming" value="FullChipProgramming"/> |
<property key="ToolFirmwareFilePath" |
value="Press to browse for a specific firmware version"/> |
<property key="ToolFirmwareOption.UseLatestFirmware" value="true"/> |
<property key="memories.eeprom" value="false"/> |
<property key="memories.id" value="false"/> |
<property key="memories.programmemory" value="true"/> |
<property key="memories.programmemory.end" value="0x1d07ffff"/> |
<property key="memories.programmemory.start" value="0x1d000000"/> |
<property key="poweroptions.powerenable" value="false"/> |
<property key="programoptions.eraseb4program" value="true"/> |
<property key="programoptions.preserveeeprom" value="false"/> |
<property key="programoptions.preserveprogramrange" value="false"/> |
<property key="programoptions.preserveprogramrange.end" value="0x1d0001ff"/> |
<property key="programoptions.preserveprogramrange.start" value="0x1d000000"/> |
<property key="programoptions.usehighvoltageonmclr" value="false"/> |
<property key="programoptions.uselvpprogramming" value="false"/> |
<property key="voltagevalue" value="3.25"/> |
</PK3OBPlatformTool> |
</conf> |
</confs> |
</configurationDescriptor> |
/PIC Stuff/Cerebot_32MX7_LED_Cube/nbproject/private/configurations.xml |
---|
0,0 → 1,25 |
<?xml version="1.0" encoding="UTF-8"?> |
<configurationDescriptor version="62"> |
<projectmakefile>Makefile</projectmakefile> |
<defaultConf>0</defaultConf> |
<confs> |
<conf name="default" type="2"> |
<platformToolSN>:=MPLABCommUSB:=04D8:=8108:=0002:=Digilent:=Cerebot 32MX7:=D370400:=x:=en</platformToolSN> |
<languageToolchainDir>C:\Program Files (x86)\Microchip\xc32\v1.20\bin</languageToolchainDir> |
<mdbdebugger version="1"> |
<placeholder1>place holder 1</placeholder1> |
<placeholder2>place holder 2</placeholder2> |
</mdbdebugger> |
<runprofile version="6"> |
<args></args> |
<rundir></rundir> |
<buildfirst>true</buildfirst> |
<console-type>0</console-type> |
<terminal-type>0</terminal-type> |
<remove-instrumentation>0</remove-instrumentation> |
<environment> |
</environment> |
</runprofile> |
</conf> |
</confs> |
</configurationDescriptor> |
/PIC Stuff/Cerebot_32MX7_LED_Cube/nbproject/private/private.properties |
---|
--- PIC Stuff/Cerebot_32MX7_LED_Cube/nbproject/private/private.xml (nonexistent) |
+++ PIC Stuff/Cerebot_32MX7_LED_Cube/nbproject/private/private.xml (revision 193) |
@@ -0,0 +1,4 @@ |
+<?xml version="1.0" encoding="UTF-8"?> |
+<project-private xmlns="http://www.netbeans.org/ns/project-private/1"> |
+ <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/1"/> |
+</project-private> |
/PIC Stuff/Cerebot_32MX7_LED_Cube/nbproject/project.properties |
---|
--- PIC Stuff/Cerebot_32MX7_LED_Cube/nbproject/project.xml (nonexistent) |
+++ PIC Stuff/Cerebot_32MX7_LED_Cube/nbproject/project.xml (revision 193) |
@@ -0,0 +1,16 @@ |
+<?xml version="1.0" encoding="UTF-8"?> |
+<project xmlns="http://www.netbeans.org/ns/project/1"> |
+ <type>com.microchip.mplab.nbide.embedded.makeproject</type> |
+ <configuration> |
+ <data xmlns="http://www.netbeans.org/ns/make-project/1"> |
+ <name>Cerebot_32MX7</name> |
+ <creation-uuid>a23479a1-6afc-4362-a20c-e5ddcf3c7815</creation-uuid> |
+ <make-project-type>0</make-project-type> |
+ <c-extensions>c</c-extensions> |
+ <cpp-extensions/> |
+ <header-extensions>h</header-extensions> |
+ <sourceEncoding>ISO-8859-1</sourceEncoding> |
+ <make-dep-projects/> |
+ </data> |
+ </configuration> |
+</project> |