• R/O
  • HTTP
  • SSH
  • HTTPS

cpu2010: Commit

サブCPU2010のPICプログラム
ADデータ取得とGPS時刻付けを行いLinux部にデータを出力します。


Commit MetaInfo

Revisãoe6f94f2b0f0224bdac7bb32aebd7dbc932159a53 (tree)
Hora2016-02-29 10:42:04
AutorNaoya Takamura <ntaka206@user...>
CommiterNaoya Takamura

Mensagem de Log

IDE MPLABXで使えるようにする

xc16-gccのオプション, Option Categories: Optimization, Do not override 'inline' チェックを入れる
_CONFIG2変更 定数定義が変わっているので

Mudança Sumário

Diff

--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
1+build
2+debug
13 *.o
24 *.out
35 *.hex
--- a/build/default/production/byte2var.o.d
+++ /dev/null
@@ -1 +0,0 @@
1-build/default/production/byte2var.o: byte2var.c
--- a/build/default/production/debug_print.o.d
+++ /dev/null
@@ -1 +0,0 @@
1-build/default/production/debug_print.o: debug_print.c myuart.h
--- a/build/default/production/main.o.d
+++ /dev/null
@@ -1,2 +0,0 @@
1-build/default/production/main.o: main.c myuart.h myspi.h debug_print.h \
2- ublox.h myad.h delay.h ring.h byte2var.h myint.h mysts.h util.h
--- a/build/default/production/myad.o.d
+++ /dev/null
@@ -1 +0,0 @@
1-build/default/production/myad.o: myad.c delay.h myspi.h myad.h
--- a/build/default/production/myspi.o.d
+++ /dev/null
@@ -1 +0,0 @@
1-build/default/production/myspi.o: myspi.c myspi.h
--- a/build/default/production/myuart.o.d
+++ /dev/null
@@ -1 +0,0 @@
1-build/default/production/myuart.o: myuart.c myuart.h
--- a/build/default/production/ring.o.d
+++ /dev/null
@@ -1 +0,0 @@
1-build/default/production/ring.o: ring.c ring.h
--- a/build/default/production/ublox.o.d
+++ /dev/null
@@ -1 +0,0 @@
1-build/default/production/ublox.o: ublox.c ublox.h myuart.h byte2var.h
Binary files /dev/null and b/dist/default/production/cpu2010_v11.production.elf differ
--- a/main.c
+++ b/main.c
@@ -3,6 +3,12 @@
33 * sciLogger サブCPU
44 * PIC24Fj64GA004
55 * 8MHz
6+
7+ **** Ver1.1
8+ * 2016/2
9+ * IDE MPLABXで使えるようにするため
10+ * xc16-gccのオプション, Option Categories: Optimization, Do not override 'inline' チェックを入れる
11+ * _CONFIG2変更 定数定義が変わっているので
612 *
713 * Created on February 9, 2010, 10:53 AM
814 */
@@ -26,7 +32,9 @@
2632
2733 _CONFIG1( JTAGEN_OFF & GCP_OFF & GWRP_OFF & COE_OFF & FWDTEN_OFF & ICS_PGx2 )
2834 //_CONFIG2( FCKSM_CSDCMD & OSCIOFNC_ON & POSCMOD_OFF & FNOSC_FRC)
29-#pragma config FCKSM = CSDCMD, OSCIOFNC = ON, POSCMOD = OFF, FNOSC = FRC, FPBDIV = DIV_8
35+//#pragma config FCKSM = CSDCMD, OSCIOFNC = ON, POSCMOD = OFF, FNOSC = FRC, FPBDIV = DIV_8
36+_CONFIG2(POSCMOD_NONE & IOL1WAY_OFF & OSCIOFNC_ON & FCKSM_CSDCMD & FCKSM_CSECMD & FNOSC_FRC) // RC 8MHz
37+
3038
3139 //#define CPU_CLOCK 10000000 // クロック[ Hz ]
3240 //#define CPU_PLL 8 // PLL
--- a/nbproject/Makefile-default.mk
+++ b/nbproject/Makefile-default.mk
@@ -8,12 +8,18 @@
88
99
1010 # Include project Makefile
11+ifeq "${IGNORE_LOCAL}" "TRUE"
12+# do not include local makefile. User is passing all local related variables already
13+else
1114 include Makefile
15+# Include makefile containing local settings
16+ifeq "$(wildcard nbproject/Makefile-local-default.mk)" "nbproject/Makefile-local-default.mk"
17+include nbproject/Makefile-local-default.mk
18+endif
19+endif
1220
1321 # Environment
14-# Adding MPLAB X bin directory to path
15-PATH:=/opt/microchip/mplabx/mplab_ide/mplab_ide/modules/../../bin/:$(PATH)
16-MKDIR=mkdir -p
22+MKDIR=gnumkdir -p
1723 RM=rm -f
1824 MV=mv
1925 CP=cp
@@ -22,10 +28,14 @@ CP=cp
2228 CND_CONF=default
2329 ifeq ($(TYPE_IMAGE), DEBUG_RUN)
2430 IMAGE_TYPE=debug
25-FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/cpu2010.${IMAGE_TYPE}.out
31+OUTPUT_SUFFIX=elf
32+DEBUGGABLE_SUFFIX=elf
33+FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/cpu2010_v11.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
2634 else
2735 IMAGE_TYPE=production
28-FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/cpu2010.${IMAGE_TYPE}.out
36+OUTPUT_SUFFIX=hex
37+DEBUGGABLE_SUFFIX=elf
38+FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/cpu2010_v11.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
2939 endif
3040
3141 # Object Directory
@@ -34,210 +44,231 @@ OBJECTDIR=build/${CND_CONF}/${IMAGE_TYPE}
3444 # Distribution Directory
3545 DISTDIR=dist/${CND_CONF}/${IMAGE_TYPE}
3646
47+# Source Files Quoted if spaced
48+SOURCEFILES_QUOTED_IF_SPACED=byte2var.c debug_print.c main.c myad.c myspi.c mysts.c myuart.c ring.c test.c ublox.c
49+
3750 # Object Files Quoted if spaced
3851 OBJECTFILES_QUOTED_IF_SPACED=${OBJECTDIR}/byte2var.o ${OBJECTDIR}/debug_print.o ${OBJECTDIR}/main.o ${OBJECTDIR}/myad.o ${OBJECTDIR}/myspi.o ${OBJECTDIR}/mysts.o ${OBJECTDIR}/myuart.o ${OBJECTDIR}/ring.o ${OBJECTDIR}/test.o ${OBJECTDIR}/ublox.o
52+POSSIBLE_DEPFILES=${OBJECTDIR}/byte2var.o.d ${OBJECTDIR}/debug_print.o.d ${OBJECTDIR}/main.o.d ${OBJECTDIR}/myad.o.d ${OBJECTDIR}/myspi.o.d ${OBJECTDIR}/mysts.o.d ${OBJECTDIR}/myuart.o.d ${OBJECTDIR}/ring.o.d ${OBJECTDIR}/test.o.d ${OBJECTDIR}/ublox.o.d
3953
4054 # Object Files
4155 OBJECTFILES=${OBJECTDIR}/byte2var.o ${OBJECTDIR}/debug_print.o ${OBJECTDIR}/main.o ${OBJECTDIR}/myad.o ${OBJECTDIR}/myspi.o ${OBJECTDIR}/mysts.o ${OBJECTDIR}/myuart.o ${OBJECTDIR}/ring.o ${OBJECTDIR}/test.o ${OBJECTDIR}/ublox.o
4256
57+# Source Files
58+SOURCEFILES=byte2var.c debug_print.c main.c myad.c myspi.c mysts.c myuart.c ring.c test.c ublox.c
59+
4360
4461 CFLAGS=
4562 ASFLAGS=
4663 LDLIBSOPTIONS=
4764
48-# Path to java used to run MPLAB X when this makefile was created
49-MP_JAVA_PATH="/usr/lib/jvm/java-6-openjdk/jre/bin/"
50-OS_CURRENT="$(shell uname -s)"
5165 ############# Tool locations ##########################################
5266 # If you copy a project from one host to another, the path where the #
5367 # compiler is installed may be different. #
5468 # If you open this project with MPLAB X in the new host, this #
5569 # makefile will be regenerated and the paths will be corrected. #
5670 #######################################################################
57-MP_CC="/opt/microchip/mplabc30/v3.30c/bin/pic30-gcc"
58-# MP_BC is not defined
59-MP_AS="/opt/microchip/mplabc30/v3.30c/bin/pic30-as"
60-MP_LD="/opt/microchip/mplabc30/v3.30c/bin/pic30-ld"
61-MP_AR="/opt/microchip/mplabc30/v3.30c/bin/pic30-ar"
62-DEP_GEN=${MP_JAVA_PATH}java -jar "/opt/microchip/mplabx/mplab_ide/mplab_ide/modules/../../bin/extractobjectdependencies.jar"
6371 # fixDeps replaces a bunch of sed/cat/printf statements that slow down the build
6472 FIXDEPS=fixDeps
65-MP_CC_DIR="/opt/microchip/mplabc30/v3.30c/bin"
66-# MP_BC_DIR is not defined
67-MP_AS_DIR="/opt/microchip/mplabc30/v3.30c/bin"
68-MP_LD_DIR="/opt/microchip/mplabc30/v3.30c/bin"
69-MP_AR_DIR="/opt/microchip/mplabc30/v3.30c/bin"
70-# MP_BC_DIR is not defined
7173
7274 .build-conf: ${BUILD_SUBPROJECTS}
73- ${MAKE} -f nbproject/Makefile-default.mk dist/${CND_CONF}/${IMAGE_TYPE}/cpu2010.${IMAGE_TYPE}.out
74-
75-MP_PROCESSOR_OPTION=24FJ64GA004
76-MP_LINKER_FILE_OPTION=,-Tp24FJ64GA004.gld
77-# ------------------------------------------------------------------------------------
78-# Rules for buildStep: assemble
79-ifeq ($(TYPE_IMAGE), DEBUG_RUN)
80-else
81-endif
82-
83-# ------------------------------------------------------------------------------------
84-# Rules for buildStep: assembleWithPreprocess
85-ifeq ($(TYPE_IMAGE), DEBUG_RUN)
86-else
75+ifneq ($(INFORMATION_MESSAGE), )
76+ @echo $(INFORMATION_MESSAGE)
8777 endif
78+ ${MAKE} -f nbproject/Makefile-default.mk dist/${CND_CONF}/${IMAGE_TYPE}/cpu2010_v11.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
8879
80+MP_PROCESSOR_OPTION=24FJ64GA004
81+MP_LINKER_FILE_OPTION=,--script=p24FJ64GA004.gld
8982 # ------------------------------------------------------------------------------------
9083 # Rules for buildStep: compile
9184 ifeq ($(TYPE_IMAGE), DEBUG_RUN)
92-${OBJECTDIR}/test.o: test.c nbproject/Makefile-${CND_CONF}.mk
93- @${MKDIR} ${OBJECTDIR}
94- @${RM} ${OBJECTDIR}/test.o.d
95- @${RM} ${OBJECTDIR}/test.o.ok ${OBJECTDIR}/test.o.err
96- @${FIXDEPS} "${OBJECTDIR}/test.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -mlarge-data -O1 -MMD -MF "${OBJECTDIR}/test.o.d" -o ${OBJECTDIR}/test.o test.c -Winline
97-
9885 ${OBJECTDIR}/byte2var.o: byte2var.c nbproject/Makefile-${CND_CONF}.mk
9986 @${MKDIR} ${OBJECTDIR}
10087 @${RM} ${OBJECTDIR}/byte2var.o.d
101- @${RM} ${OBJECTDIR}/byte2var.o.ok ${OBJECTDIR}/byte2var.o.err
102- @${FIXDEPS} "${OBJECTDIR}/byte2var.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -mlarge-data -O1 -MMD -MF "${OBJECTDIR}/byte2var.o.d" -o ${OBJECTDIR}/byte2var.o byte2var.c -Winline
103-
104-${OBJECTDIR}/myuart.o: myuart.c nbproject/Makefile-${CND_CONF}.mk
105- @${MKDIR} ${OBJECTDIR}
106- @${RM} ${OBJECTDIR}/myuart.o.d
107- @${RM} ${OBJECTDIR}/myuart.o.ok ${OBJECTDIR}/myuart.o.err
108- @${FIXDEPS} "${OBJECTDIR}/myuart.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -mlarge-data -O1 -MMD -MF "${OBJECTDIR}/myuart.o.d" -o ${OBJECTDIR}/myuart.o myuart.c -Winline
88+ @${RM} ${OBJECTDIR}/byte2var.o
89+ ${MP_CC} $(MP_EXTRA_CC_PRE) byte2var.c -o ${OBJECTDIR}/byte2var.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/byte2var.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -mlarge-data -O1 -mno-override-inline -msmart-io=1 -msfr-warn=off -Winline
90+ @${FIXDEPS} "${OBJECTDIR}/byte2var.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
10991
11092 ${OBJECTDIR}/debug_print.o: debug_print.c nbproject/Makefile-${CND_CONF}.mk
11193 @${MKDIR} ${OBJECTDIR}
11294 @${RM} ${OBJECTDIR}/debug_print.o.d
113- @${RM} ${OBJECTDIR}/debug_print.o.ok ${OBJECTDIR}/debug_print.o.err
114- @${FIXDEPS} "${OBJECTDIR}/debug_print.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -mlarge-data -O1 -MMD -MF "${OBJECTDIR}/debug_print.o.d" -o ${OBJECTDIR}/debug_print.o debug_print.c -Winline
115-
116-${OBJECTDIR}/mysts.o: mysts.c nbproject/Makefile-${CND_CONF}.mk
117- @${MKDIR} ${OBJECTDIR}
118- @${RM} ${OBJECTDIR}/mysts.o.d
119- @${RM} ${OBJECTDIR}/mysts.o.ok ${OBJECTDIR}/mysts.o.err
120- @${FIXDEPS} "${OBJECTDIR}/mysts.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -mlarge-data -O1 -MMD -MF "${OBJECTDIR}/mysts.o.d" -o ${OBJECTDIR}/mysts.o mysts.c -Winline
95+ @${RM} ${OBJECTDIR}/debug_print.o
96+ ${MP_CC} $(MP_EXTRA_CC_PRE) debug_print.c -o ${OBJECTDIR}/debug_print.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/debug_print.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -mlarge-data -O1 -mno-override-inline -msmart-io=1 -msfr-warn=off -Winline
97+ @${FIXDEPS} "${OBJECTDIR}/debug_print.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
12198
122-${OBJECTDIR}/ublox.o: ublox.c nbproject/Makefile-${CND_CONF}.mk
99+${OBJECTDIR}/main.o: main.c nbproject/Makefile-${CND_CONF}.mk
123100 @${MKDIR} ${OBJECTDIR}
124- @${RM} ${OBJECTDIR}/ublox.o.d
125- @${RM} ${OBJECTDIR}/ublox.o.ok ${OBJECTDIR}/ublox.o.err
126- @${FIXDEPS} "${OBJECTDIR}/ublox.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -mlarge-data -O1 -MMD -MF "${OBJECTDIR}/ublox.o.d" -o ${OBJECTDIR}/ublox.o ublox.c -Winline
101+ @${RM} ${OBJECTDIR}/main.o.d
102+ @${RM} ${OBJECTDIR}/main.o
103+ ${MP_CC} $(MP_EXTRA_CC_PRE) main.c -o ${OBJECTDIR}/main.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/main.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -mlarge-data -O1 -mno-override-inline -msmart-io=1 -msfr-warn=off -Winline
104+ @${FIXDEPS} "${OBJECTDIR}/main.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
127105
128106 ${OBJECTDIR}/myad.o: myad.c nbproject/Makefile-${CND_CONF}.mk
129107 @${MKDIR} ${OBJECTDIR}
130108 @${RM} ${OBJECTDIR}/myad.o.d
131- @${RM} ${OBJECTDIR}/myad.o.ok ${OBJECTDIR}/myad.o.err
132- @${FIXDEPS} "${OBJECTDIR}/myad.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -mlarge-data -O1 -MMD -MF "${OBJECTDIR}/myad.o.d" -o ${OBJECTDIR}/myad.o myad.c -Winline
109+ @${RM} ${OBJECTDIR}/myad.o
110+ ${MP_CC} $(MP_EXTRA_CC_PRE) myad.c -o ${OBJECTDIR}/myad.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/myad.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -mlarge-data -O1 -mno-override-inline -msmart-io=1 -msfr-warn=off -Winline
111+ @${FIXDEPS} "${OBJECTDIR}/myad.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
133112
134-${OBJECTDIR}/main.o: main.c nbproject/Makefile-${CND_CONF}.mk
113+${OBJECTDIR}/myspi.o: myspi.c nbproject/Makefile-${CND_CONF}.mk
135114 @${MKDIR} ${OBJECTDIR}
136- @${RM} ${OBJECTDIR}/main.o.d
137- @${RM} ${OBJECTDIR}/main.o.ok ${OBJECTDIR}/main.o.err
138- @${FIXDEPS} "${OBJECTDIR}/main.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -mlarge-data -O1 -MMD -MF "${OBJECTDIR}/main.o.d" -o ${OBJECTDIR}/main.o main.c -Winline
115+ @${RM} ${OBJECTDIR}/myspi.o.d
116+ @${RM} ${OBJECTDIR}/myspi.o
117+ ${MP_CC} $(MP_EXTRA_CC_PRE) myspi.c -o ${OBJECTDIR}/myspi.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/myspi.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -mlarge-data -O1 -mno-override-inline -msmart-io=1 -msfr-warn=off -Winline
118+ @${FIXDEPS} "${OBJECTDIR}/myspi.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
139119
140-${OBJECTDIR}/ring.o: ring.c nbproject/Makefile-${CND_CONF}.mk
120+${OBJECTDIR}/mysts.o: mysts.c nbproject/Makefile-${CND_CONF}.mk
141121 @${MKDIR} ${OBJECTDIR}
142- @${RM} ${OBJECTDIR}/ring.o.d
143- @${RM} ${OBJECTDIR}/ring.o.ok ${OBJECTDIR}/ring.o.err
144- @${FIXDEPS} "${OBJECTDIR}/ring.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -mlarge-data -O1 -MMD -MF "${OBJECTDIR}/ring.o.d" -o ${OBJECTDIR}/ring.o ring.c -Winline
122+ @${RM} ${OBJECTDIR}/mysts.o.d
123+ @${RM} ${OBJECTDIR}/mysts.o
124+ ${MP_CC} $(MP_EXTRA_CC_PRE) mysts.c -o ${OBJECTDIR}/mysts.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/mysts.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -mlarge-data -O1 -mno-override-inline -msmart-io=1 -msfr-warn=off -Winline
125+ @${FIXDEPS} "${OBJECTDIR}/mysts.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
145126
146-${OBJECTDIR}/myspi.o: myspi.c nbproject/Makefile-${CND_CONF}.mk
127+${OBJECTDIR}/myuart.o: myuart.c nbproject/Makefile-${CND_CONF}.mk
147128 @${MKDIR} ${OBJECTDIR}
148- @${RM} ${OBJECTDIR}/myspi.o.d
149- @${RM} ${OBJECTDIR}/myspi.o.ok ${OBJECTDIR}/myspi.o.err
150- @${FIXDEPS} "${OBJECTDIR}/myspi.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -mlarge-data -O1 -MMD -MF "${OBJECTDIR}/myspi.o.d" -o ${OBJECTDIR}/myspi.o myspi.c -Winline
129+ @${RM} ${OBJECTDIR}/myuart.o.d
130+ @${RM} ${OBJECTDIR}/myuart.o
131+ ${MP_CC} $(MP_EXTRA_CC_PRE) myuart.c -o ${OBJECTDIR}/myuart.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/myuart.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -mlarge-data -O1 -mno-override-inline -msmart-io=1 -msfr-warn=off -Winline
132+ @${FIXDEPS} "${OBJECTDIR}/myuart.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
133+
134+${OBJECTDIR}/ring.o: ring.c nbproject/Makefile-${CND_CONF}.mk
135+ @${MKDIR} ${OBJECTDIR}
136+ @${RM} ${OBJECTDIR}/ring.o.d
137+ @${RM} ${OBJECTDIR}/ring.o
138+ ${MP_CC} $(MP_EXTRA_CC_PRE) ring.c -o ${OBJECTDIR}/ring.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/ring.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -mlarge-data -O1 -mno-override-inline -msmart-io=1 -msfr-warn=off -Winline
139+ @${FIXDEPS} "${OBJECTDIR}/ring.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
151140
152-else
153141 ${OBJECTDIR}/test.o: test.c nbproject/Makefile-${CND_CONF}.mk
154142 @${MKDIR} ${OBJECTDIR}
155143 @${RM} ${OBJECTDIR}/test.o.d
156- @${RM} ${OBJECTDIR}/test.o.ok ${OBJECTDIR}/test.o.err
157- @${FIXDEPS} "${OBJECTDIR}/test.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -mlarge-data -O1 -MMD -MF "${OBJECTDIR}/test.o.d" -o ${OBJECTDIR}/test.o test.c -Winline
144+ @${RM} ${OBJECTDIR}/test.o
145+ ${MP_CC} $(MP_EXTRA_CC_PRE) test.c -o ${OBJECTDIR}/test.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/test.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -mlarge-data -O1 -mno-override-inline -msmart-io=1 -msfr-warn=off -Winline
146+ @${FIXDEPS} "${OBJECTDIR}/test.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
158147
159-${OBJECTDIR}/byte2var.o: byte2var.c nbproject/Makefile-${CND_CONF}.mk
148+${OBJECTDIR}/ublox.o: ublox.c nbproject/Makefile-${CND_CONF}.mk
160149 @${MKDIR} ${OBJECTDIR}
161- @${RM} ${OBJECTDIR}/byte2var.o.d
162- @${RM} ${OBJECTDIR}/byte2var.o.ok ${OBJECTDIR}/byte2var.o.err
163- @${FIXDEPS} "${OBJECTDIR}/byte2var.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -mlarge-data -O1 -MMD -MF "${OBJECTDIR}/byte2var.o.d" -o ${OBJECTDIR}/byte2var.o byte2var.c -Winline
150+ @${RM} ${OBJECTDIR}/ublox.o.d
151+ @${RM} ${OBJECTDIR}/ublox.o
152+ ${MP_CC} $(MP_EXTRA_CC_PRE) ublox.c -o ${OBJECTDIR}/ublox.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/ublox.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -mlarge-data -O1 -mno-override-inline -msmart-io=1 -msfr-warn=off -Winline
153+ @${FIXDEPS} "${OBJECTDIR}/ublox.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
164154
165-${OBJECTDIR}/myuart.o: myuart.c nbproject/Makefile-${CND_CONF}.mk
155+else
156+${OBJECTDIR}/byte2var.o: byte2var.c nbproject/Makefile-${CND_CONF}.mk
166157 @${MKDIR} ${OBJECTDIR}
167- @${RM} ${OBJECTDIR}/myuart.o.d
168- @${RM} ${OBJECTDIR}/myuart.o.ok ${OBJECTDIR}/myuart.o.err
169- @${FIXDEPS} "${OBJECTDIR}/myuart.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -mlarge-data -O1 -MMD -MF "${OBJECTDIR}/myuart.o.d" -o ${OBJECTDIR}/myuart.o myuart.c -Winline
158+ @${RM} ${OBJECTDIR}/byte2var.o.d
159+ @${RM} ${OBJECTDIR}/byte2var.o
160+ ${MP_CC} $(MP_EXTRA_CC_PRE) byte2var.c -o ${OBJECTDIR}/byte2var.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/byte2var.o.d" -g -omf=elf -mlarge-data -O1 -mno-override-inline -msmart-io=1 -msfr-warn=off -Winline
161+ @${FIXDEPS} "${OBJECTDIR}/byte2var.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
170162
171163 ${OBJECTDIR}/debug_print.o: debug_print.c nbproject/Makefile-${CND_CONF}.mk
172164 @${MKDIR} ${OBJECTDIR}
173165 @${RM} ${OBJECTDIR}/debug_print.o.d
174- @${RM} ${OBJECTDIR}/debug_print.o.ok ${OBJECTDIR}/debug_print.o.err
175- @${FIXDEPS} "${OBJECTDIR}/debug_print.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -mlarge-data -O1 -MMD -MF "${OBJECTDIR}/debug_print.o.d" -o ${OBJECTDIR}/debug_print.o debug_print.c -Winline
166+ @${RM} ${OBJECTDIR}/debug_print.o
167+ ${MP_CC} $(MP_EXTRA_CC_PRE) debug_print.c -o ${OBJECTDIR}/debug_print.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/debug_print.o.d" -g -omf=elf -mlarge-data -O1 -mno-override-inline -msmart-io=1 -msfr-warn=off -Winline
168+ @${FIXDEPS} "${OBJECTDIR}/debug_print.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
176169
177-${OBJECTDIR}/mysts.o: mysts.c nbproject/Makefile-${CND_CONF}.mk
178- @${MKDIR} ${OBJECTDIR}
179- @${RM} ${OBJECTDIR}/mysts.o.d
180- @${RM} ${OBJECTDIR}/mysts.o.ok ${OBJECTDIR}/mysts.o.err
181- @${FIXDEPS} "${OBJECTDIR}/mysts.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -mlarge-data -O1 -MMD -MF "${OBJECTDIR}/mysts.o.d" -o ${OBJECTDIR}/mysts.o mysts.c -Winline
182-
183-${OBJECTDIR}/ublox.o: ublox.c nbproject/Makefile-${CND_CONF}.mk
170+${OBJECTDIR}/main.o: main.c nbproject/Makefile-${CND_CONF}.mk
184171 @${MKDIR} ${OBJECTDIR}
185- @${RM} ${OBJECTDIR}/ublox.o.d
186- @${RM} ${OBJECTDIR}/ublox.o.ok ${OBJECTDIR}/ublox.o.err
187- @${FIXDEPS} "${OBJECTDIR}/ublox.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -mlarge-data -O1 -MMD -MF "${OBJECTDIR}/ublox.o.d" -o ${OBJECTDIR}/ublox.o ublox.c -Winline
172+ @${RM} ${OBJECTDIR}/main.o.d
173+ @${RM} ${OBJECTDIR}/main.o
174+ ${MP_CC} $(MP_EXTRA_CC_PRE) main.c -o ${OBJECTDIR}/main.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/main.o.d" -g -omf=elf -mlarge-data -O1 -mno-override-inline -msmart-io=1 -msfr-warn=off -Winline
175+ @${FIXDEPS} "${OBJECTDIR}/main.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
188176
189177 ${OBJECTDIR}/myad.o: myad.c nbproject/Makefile-${CND_CONF}.mk
190178 @${MKDIR} ${OBJECTDIR}
191179 @${RM} ${OBJECTDIR}/myad.o.d
192- @${RM} ${OBJECTDIR}/myad.o.ok ${OBJECTDIR}/myad.o.err
193- @${FIXDEPS} "${OBJECTDIR}/myad.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -mlarge-data -O1 -MMD -MF "${OBJECTDIR}/myad.o.d" -o ${OBJECTDIR}/myad.o myad.c -Winline
180+ @${RM} ${OBJECTDIR}/myad.o
181+ ${MP_CC} $(MP_EXTRA_CC_PRE) myad.c -o ${OBJECTDIR}/myad.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/myad.o.d" -g -omf=elf -mlarge-data -O1 -mno-override-inline -msmart-io=1 -msfr-warn=off -Winline
182+ @${FIXDEPS} "${OBJECTDIR}/myad.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
194183
195-${OBJECTDIR}/main.o: main.c nbproject/Makefile-${CND_CONF}.mk
184+${OBJECTDIR}/myspi.o: myspi.c nbproject/Makefile-${CND_CONF}.mk
196185 @${MKDIR} ${OBJECTDIR}
197- @${RM} ${OBJECTDIR}/main.o.d
198- @${RM} ${OBJECTDIR}/main.o.ok ${OBJECTDIR}/main.o.err
199- @${FIXDEPS} "${OBJECTDIR}/main.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -mlarge-data -O1 -MMD -MF "${OBJECTDIR}/main.o.d" -o ${OBJECTDIR}/main.o main.c -Winline
186+ @${RM} ${OBJECTDIR}/myspi.o.d
187+ @${RM} ${OBJECTDIR}/myspi.o
188+ ${MP_CC} $(MP_EXTRA_CC_PRE) myspi.c -o ${OBJECTDIR}/myspi.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/myspi.o.d" -g -omf=elf -mlarge-data -O1 -mno-override-inline -msmart-io=1 -msfr-warn=off -Winline
189+ @${FIXDEPS} "${OBJECTDIR}/myspi.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
190+
191+${OBJECTDIR}/mysts.o: mysts.c nbproject/Makefile-${CND_CONF}.mk
192+ @${MKDIR} ${OBJECTDIR}
193+ @${RM} ${OBJECTDIR}/mysts.o.d
194+ @${RM} ${OBJECTDIR}/mysts.o
195+ ${MP_CC} $(MP_EXTRA_CC_PRE) mysts.c -o ${OBJECTDIR}/mysts.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/mysts.o.d" -g -omf=elf -mlarge-data -O1 -mno-override-inline -msmart-io=1 -msfr-warn=off -Winline
196+ @${FIXDEPS} "${OBJECTDIR}/mysts.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
197+
198+${OBJECTDIR}/myuart.o: myuart.c nbproject/Makefile-${CND_CONF}.mk
199+ @${MKDIR} ${OBJECTDIR}
200+ @${RM} ${OBJECTDIR}/myuart.o.d
201+ @${RM} ${OBJECTDIR}/myuart.o
202+ ${MP_CC} $(MP_EXTRA_CC_PRE) myuart.c -o ${OBJECTDIR}/myuart.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/myuart.o.d" -g -omf=elf -mlarge-data -O1 -mno-override-inline -msmart-io=1 -msfr-warn=off -Winline
203+ @${FIXDEPS} "${OBJECTDIR}/myuart.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
200204
201205 ${OBJECTDIR}/ring.o: ring.c nbproject/Makefile-${CND_CONF}.mk
202206 @${MKDIR} ${OBJECTDIR}
203207 @${RM} ${OBJECTDIR}/ring.o.d
204- @${RM} ${OBJECTDIR}/ring.o.ok ${OBJECTDIR}/ring.o.err
205- @${FIXDEPS} "${OBJECTDIR}/ring.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -mlarge-data -O1 -MMD -MF "${OBJECTDIR}/ring.o.d" -o ${OBJECTDIR}/ring.o ring.c -Winline
208+ @${RM} ${OBJECTDIR}/ring.o
209+ ${MP_CC} $(MP_EXTRA_CC_PRE) ring.c -o ${OBJECTDIR}/ring.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/ring.o.d" -g -omf=elf -mlarge-data -O1 -mno-override-inline -msmart-io=1 -msfr-warn=off -Winline
210+ @${FIXDEPS} "${OBJECTDIR}/ring.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
206211
207-${OBJECTDIR}/myspi.o: myspi.c nbproject/Makefile-${CND_CONF}.mk
212+${OBJECTDIR}/test.o: test.c nbproject/Makefile-${CND_CONF}.mk
208213 @${MKDIR} ${OBJECTDIR}
209- @${RM} ${OBJECTDIR}/myspi.o.d
210- @${RM} ${OBJECTDIR}/myspi.o.ok ${OBJECTDIR}/myspi.o.err
211- @${FIXDEPS} "${OBJECTDIR}/myspi.o.d" $(SILENT) -c ${MP_CC} $(MP_EXTRA_CC_PRE) -g -omf=elf -x c -c -mcpu=$(MP_PROCESSOR_OPTION) -mlarge-data -O1 -MMD -MF "${OBJECTDIR}/myspi.o.d" -o ${OBJECTDIR}/myspi.o myspi.c -Winline
214+ @${RM} ${OBJECTDIR}/test.o.d
215+ @${RM} ${OBJECTDIR}/test.o
216+ ${MP_CC} $(MP_EXTRA_CC_PRE) test.c -o ${OBJECTDIR}/test.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/test.o.d" -g -omf=elf -mlarge-data -O1 -mno-override-inline -msmart-io=1 -msfr-warn=off -Winline
217+ @${FIXDEPS} "${OBJECTDIR}/test.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
218+
219+${OBJECTDIR}/ublox.o: ublox.c nbproject/Makefile-${CND_CONF}.mk
220+ @${MKDIR} ${OBJECTDIR}
221+ @${RM} ${OBJECTDIR}/ublox.o.d
222+ @${RM} ${OBJECTDIR}/ublox.o
223+ ${MP_CC} $(MP_EXTRA_CC_PRE) ublox.c -o ${OBJECTDIR}/ublox.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/ublox.o.d" -g -omf=elf -mlarge-data -O1 -mno-override-inline -msmart-io=1 -msfr-warn=off -Winline
224+ @${FIXDEPS} "${OBJECTDIR}/ublox.o.d" $(SILENT) -rsi ${MP_CC_DIR}../
212225
213226 endif
214227
215228 # ------------------------------------------------------------------------------------
229+# Rules for buildStep: assemble
230+ifeq ($(TYPE_IMAGE), DEBUG_RUN)
231+else
232+endif
233+
234+# ------------------------------------------------------------------------------------
235+# Rules for buildStep: assemblePreproc
236+ifeq ($(TYPE_IMAGE), DEBUG_RUN)
237+else
238+endif
239+
240+# ------------------------------------------------------------------------------------
216241 # Rules for buildStep: link
217242 ifeq ($(TYPE_IMAGE), DEBUG_RUN)
218-dist/${CND_CONF}/${IMAGE_TYPE}/cpu2010.${IMAGE_TYPE}.out: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
243+dist/${CND_CONF}/${IMAGE_TYPE}/cpu2010_v11.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
219244 @${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE}
220- ${MP_CC} $(MP_EXTRA_LD_PRE) -omf=elf -mcpu=$(MP_PROCESSOR_OPTION) -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -o dist/${CND_CONF}/${IMAGE_TYPE}/cpu2010.${IMAGE_TYPE}.out ${OBJECTFILES_QUOTED_IF_SPACED} -Wl,--defsym=__MPLAB_BUILD=1,--heap=40,--no-check-sections$(MP_EXTRA_LD_POST)$(MP_LINKER_FILE_OPTION),--defsym=__MPLAB_DEBUG=1,--defsym=__ICD2RAM=1,--defsym=__DEBUG=1,--defsym=__MPLAB_DEBUGGER_ICD3=1
245+ ${MP_CC} $(MP_EXTRA_LD_PRE) -o dist/${CND_CONF}/${IMAGE_TYPE}/cpu2010_v11.${IMAGE_TYPE}.${OUTPUT_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -mcpu=$(MP_PROCESSOR_OPTION) -D__DEBUG -D__MPLAB_DEBUGGER_ICD3=1 -omf=elf -mreserve=data@0x800:0x81F -mreserve=data@0x820:0x821 -mreserve=data@0x822:0x823 -mreserve=data@0x824:0x825 -mreserve=data@0x826:0x84F -Wl,,--defsym=__MPLAB_BUILD=1,--defsym=__MPLAB_DEBUG=1,--defsym=__DEBUG=1,--defsym=__MPLAB_DEBUGGER_ICD3=1,$(MP_LINKER_FILE_OPTION),--heap=40,--no-check-sections,--data-init,--pack-data,--handles,--isr,--no-gc-sections,--fill-upper=0,--stackguard=16,--no-force-link,--smart-io$(MP_EXTRA_LD_POST)
246+
221247 else
222-dist/${CND_CONF}/${IMAGE_TYPE}/cpu2010.${IMAGE_TYPE}.out: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
248+dist/${CND_CONF}/${IMAGE_TYPE}/cpu2010_v11.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
223249 @${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE}
224- ${MP_CC} $(MP_EXTRA_LD_PRE) -omf=elf -mcpu=$(MP_PROCESSOR_OPTION) -o dist/${CND_CONF}/${IMAGE_TYPE}/cpu2010.${IMAGE_TYPE}.out ${OBJECTFILES_QUOTED_IF_SPACED} -Wl,--defsym=__MPLAB_BUILD=1,--heap=40,--no-check-sections$(MP_EXTRA_LD_POST)$(MP_LINKER_FILE_OPTION)
225- ${MP_CC_DIR}/pic30-bin2hex dist/${CND_CONF}/${IMAGE_TYPE}/cpu2010.${IMAGE_TYPE}.out -omf=elf
250+ ${MP_CC} $(MP_EXTRA_LD_PRE) -o dist/${CND_CONF}/${IMAGE_TYPE}/cpu2010_v11.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -mcpu=$(MP_PROCESSOR_OPTION) -omf=elf -Wl,,--defsym=__MPLAB_BUILD=1,$(MP_LINKER_FILE_OPTION),--heap=40,--no-check-sections,--data-init,--pack-data,--handles,--isr,--no-gc-sections,--fill-upper=0,--stackguard=16,--no-force-link,--smart-io$(MP_EXTRA_LD_POST)
251+ ${MP_CC_DIR}\\xc16-bin2hex dist/${CND_CONF}/${IMAGE_TYPE}/cpu2010_v11.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -a -omf=elf
252+
226253 endif
227254
228255
229256 # Subprojects
230257 .build-subprojects:
231258
259+
260+# Subprojects
261+.clean-subprojects:
262+
232263 # Clean Targets
233-.clean-conf:
264+.clean-conf: ${CLEAN_SUBPROJECTS}
234265 ${RM} -r build/default
235266 ${RM} -r dist/default
236267
237268 # Enable dependency checking
238269 .dep.inc: .depcheck-impl
239270
240-DEPFILES=$(wildcard $(addsuffix .d, ${OBJECTFILES}))
271+DEPFILES=$(shell mplabwildcard ${POSSIBLE_DEPFILES})
241272 ifneq (${DEPFILES},)
242273 include ${DEPFILES}
243274 endif
--- a/nbproject/Makefile-genesis.properties
+++ b/nbproject/Makefile-genesis.properties
@@ -1,8 +1,8 @@
1-#
2-#Fri Dec 16 21:32:52 JST 2011
3-default.languagetoolchain.dir=/opt/microchip/mplabc30/v3.30c/bin
4-com-microchip-mplab-nbide-embedded-makeproject-MakeProject.md5=11bb82e71763925c87fa30f6c65473b1
5-default.languagetoolchain.version=3_30
6-default.com-microchip-mplab-nbide-toolchainC30-C30LanguageToolchain.md5=17df7e8733752d3b984a90d5cec1213a
7-host.platform=linux
8-conf.ids=default
1+#
2+#Mon Feb 22 21:32:46 JST 2016
3+default.com-microchip-mplab-nbide-toolchainXC16-XC16LanguageToolchain.md5=aa594b660c17cad8c6f9c67ea975ae76
4+default.languagetoolchain.dir=C\:\\Program Files (x86)\\Microchip\\xc16\\v1.23\\bin
5+com-microchip-mplab-nbide-embedded-makeproject-MakeProject.md5=667d68090e68ae2b85172ad466b984c0
6+default.languagetoolchain.version=1.23
7+host.platform=windows
8+conf.ids=default
--- a/nbproject/Makefile-impl.mk
+++ b/nbproject/Makefile-impl.mk
@@ -24,7 +24,7 @@ CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}}
2424
2525
2626 # Project Name
27-PROJECTNAME=cpu2010
27+PROJECTNAME=cpu2010_v11
2828
2929 # Active Configuration
3030 DEFAULTCONF=default
@@ -43,6 +43,18 @@ ALLCONFS=default
4343 .clean-impl: .clean-pre
4444 ${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .clean-conf
4545
46+# clobber
47+.clobber-impl: .clobber-pre .depcheck-impl
48+ ${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default clean
49+
50+
51+
52+# all
53+.all-impl: .all-pre .depcheck-impl
54+ ${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default build
55+
56+
57+
4658 # dependency checking support
4759 .depcheck-impl:
4860 # @echo "# This code depends on make tool being used" >.dep.inc
--- /dev/null
+++ b/nbproject/Makefile-local-default.mk
@@ -0,0 +1,37 @@
1+#
2+# Generated Makefile - do not edit!
3+#
4+#
5+# This file contains information about the location of compilers and other tools.
6+# If you commmit this file into your revision control server, you will be able to
7+# to checkout the project and build it from the command line with make. However,
8+# if more than one person works on the same project, then this file might show
9+# conflicts since different users are bound to have compilers in different places.
10+# In that case you might choose to not commit this file and let MPLAB X recreate this file
11+# for each user. The disadvantage of not commiting this file is that you must run MPLAB X at
12+# least once so the file gets created and the project can be built. Finally, you can also
13+# avoid using this file at all if you are only building from the command line with make.
14+# You can invoke make with the values of the macros:
15+# $ makeMP_CC="/opt/microchip/mplabc30/v3.30c/bin/pic30-gcc" ...
16+#
17+SHELL=cmd.exe
18+PATH_TO_IDE_BIN=C:/Program Files (x86)/Microchip/MPLABX/mplab_ide/mplab_ide/modules/../../bin/
19+# Adding MPLAB X bin directory to path.
20+PATH:=C:/Program Files (x86)/Microchip/MPLABX/mplab_ide/mplab_ide/modules/../../bin/:$(PATH)
21+# Path to java used to run MPLAB X when this makefile was created
22+MP_JAVA_PATH="C:\Program Files (x86)\Microchip\MPLABX\sys\java\jre1.7.0_67/bin/"
23+OS_CURRENT="$(shell uname -s)"
24+MP_CC="C:\Program Files (x86)\Microchip\xc16\v1.23\bin\xc16-gcc.exe"
25+# MP_CPPC is not defined
26+# MP_BC is not defined
27+MP_AS="C:\Program Files (x86)\Microchip\xc16\v1.23\bin\xc16-as.exe"
28+# MP_LD is not defined
29+MP_AR="C:\Program Files (x86)\Microchip\xc16\v1.23\bin\xc16-ar.exe"
30+DEP_GEN=${MP_JAVA_PATH}java -jar "C:/Program Files (x86)/Microchip/MPLABX/mplab_ide/mplab_ide/modules/../../bin/extractobjectdependencies.jar"
31+MP_CC_DIR="C:\Program Files (x86)\Microchip\xc16\v1.23\bin"
32+# MP_CPPC_DIR is not defined
33+# MP_BC_DIR is not defined
34+MP_AS_DIR="C:\Program Files (x86)\Microchip\xc16\v1.23\bin"
35+# MP_LD_DIR is not defined
36+MP_AR_DIR="C:\Program Files (x86)\Microchip\xc16\v1.23\bin"
37+# MP_BC_DIR is not defined
--- a/nbproject/Makefile-variables.mk
+++ b/nbproject/Makefile-variables.mk
@@ -6,8 +6,8 @@
66 CND_BASEDIR=`pwd`
77 # default configuration
88 CND_ARTIFACT_DIR_default=dist/default/production
9-CND_ARTIFACT_NAME_default=cpu2010.production.out
10-CND_ARTIFACT_PATH_default=dist/default/production/cpu2010.production.out
9+CND_ARTIFACT_NAME_default=cpu2010_v11.production.hex
10+CND_ARTIFACT_PATH_default=dist/default/production/cpu2010_v11.production.hex
1111 CND_PACKAGE_DIR_default=${CND_DISTDIR}/default/package
12-CND_PACKAGE_NAME_default=cpu2010.tar
13-CND_PACKAGE_PATH_default=${CND_DISTDIR}/default/package/cpu2010.tar
12+CND_PACKAGE_NAME_default=cpu2010v11.tar
13+CND_PACKAGE_PATH_default=${CND_DISTDIR}/default/package/cpu2010v11.tar
--- a/nbproject/Package-default.bash
+++ b/nbproject/Package-default.bash
@@ -10,9 +10,9 @@ CND_CONF=default
1010 CND_DISTDIR=dist
1111 TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging
1212 TMPDIRNAME=tmp-packaging
13-OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/cpu2010.${IMAGE_TYPE}.out
14-OUTPUT_BASENAME=cpu2010.${IMAGE_TYPE}.out
15-PACKAGE_TOP_DIR=cpu2010/
13+OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/cpu2010_v11.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
14+OUTPUT_BASENAME=cpu2010_v11.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
15+PACKAGE_TOP_DIR=cpu2010v11/
1616
1717 # Functions
1818 function checkReturnCode
@@ -57,15 +57,15 @@ mkdir -p ${TMPDIR}
5757
5858 # Copy files and create directories and links
5959 cd "${TOP}"
60-makeDirectory ${TMPDIR}/cpu2010/bin
60+makeDirectory ${TMPDIR}/cpu2010v11/bin
6161 copyFileToTmpDir "${OUTPUT_PATH}" "${TMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755
6262
6363
6464 # Generate tar file
6565 cd "${TOP}"
66-rm -f ${CND_DISTDIR}/${CND_CONF}/package/cpu2010.tar
66+rm -f ${CND_DISTDIR}/${CND_CONF}/package/cpu2010v11.tar
6767 cd ${TMPDIR}
68-tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/package/cpu2010.tar *
68+tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/package/cpu2010v11.tar *
6969 checkReturnCode
7070
7171 # Cleanup
--- a/nbproject/configurations.xml
+++ b/nbproject/configurations.xml
@@ -1,202 +1,267 @@
1-<?xml version="1.0" encoding="UTF-8"?>
2-<configurationDescriptor version="62">
3- <logicalFolder name="root" displayName="root" projectFiles="true">
4- <logicalFolder name="HeaderFiles"
5- displayName="Header Files"
6- projectFiles="true">
7- </logicalFolder>
8- <logicalFolder name="LibraryFiles"
9- displayName="Library Files"
10- projectFiles="true">
11- </logicalFolder>
12- <logicalFolder name="LinkerScript"
13- displayName="Linker Files"
14- projectFiles="true">
15- </logicalFolder>
16- <logicalFolder name="ObjectFiles"
17- displayName="Object Files"
18- projectFiles="true">
19- </logicalFolder>
20- <logicalFolder name="SourceFiles"
21- displayName="Source Files"
22- projectFiles="true">
23- <itemPath>byte2var.c</itemPath>
24- <itemPath>byte2var.h</itemPath>
25- <itemPath>debug_print.c</itemPath>
26- <itemPath>debug_print.h</itemPath>
27- <itemPath>delay.h</itemPath>
28- <itemPath>main.c</itemPath>
29- <itemPath>myad.c</itemPath>
30- <itemPath>myad.h</itemPath>
31- <itemPath>myint.h</itemPath>
32- <itemPath>myspi.c</itemPath>
33- <itemPath>myspi.h</itemPath>
34- <itemPath>mysts.c</itemPath>
35- <itemPath>mysts.h</itemPath>
36- <itemPath>myuart.c</itemPath>
37- <itemPath>myuart.h</itemPath>
38- <itemPath>ring.c</itemPath>
39- <itemPath>ring.h</itemPath>
40- <itemPath>test.c</itemPath>
41- <itemPath>ublox.c</itemPath>
42- <itemPath>ublox.h</itemPath>
43- <itemPath>util.h</itemPath>
44- </logicalFolder>
45- <logicalFolder name="ExternalFiles"
46- displayName="Important Files"
47- projectFiles="false">
48- <itemPath>Makefile</itemPath>
49- </logicalFolder>
50- </logicalFolder>
51- <projectmakefile>Makefile</projectmakefile>
52- <confs>
53- <conf name="default" type="2">
54- <toolsSet>
55- <developmentServer>localhost</developmentServer>
56- <targetDevice>PIC24FJ64GA004</targetDevice>
57- <targetHeader></targetHeader>
58- <platformTool>ICD3PlatformTool</platformTool>
59- <languageToolchain>C30</languageToolchain>
60- <languageToolchainVersion>3.24</languageToolchainVersion>
61- <platform>2</platform>
62- </toolsSet>
63- <compileType>
64- <linkerTool>
65- <linkerLibItems>
66- </linkerLibItems>
67- </linkerTool>
68- </compileType>
69- <makeCustomizationType>
70- <makeCustomizationPreStepEnabled>false</makeCustomizationPreStepEnabled>
71- <makeCustomizationPreStep></makeCustomizationPreStep>
72- <makeCustomizationPostStepEnabled>false</makeCustomizationPostStepEnabled>
73- <makeCustomizationPostStep></makeCustomizationPostStep>
74- <makeCustomizationAlternativeFileToLoadEnabled>false</makeCustomizationAlternativeFileToLoadEnabled>
75- <makeCustomizationAlternativeFileToLoad></makeCustomizationAlternativeFileToLoad>
76- <makeCustomizationUseOfUserID>makeCustomizationUseOfUserID</makeCustomizationUseOfUserID>
77- <makeCustomizationUserID>makeCustomizationUserID</makeCustomizationUserID>
78- </makeCustomizationType>
79- <C30>
80- <property key="optimization-level" value="1"/>
81- <property key="preprocessor-macros" value=""/>
82- <property key="code-model" value="default"/>
83- <property key="const-model" value="default"/>
84- <property key="enable-procedural-abstraction" value="false"/>
85- <property key="enable-ansi-warnings" value="false"/>
86- <property key="enable-short-double" value="false"/>
87- <property key="extra-include-directories" value=""/>
88- <property key="post-instruction-scheduling" value="default"/>
89- <property key="enable-unroll-loops" value="false"/>
90- <property key="enable-symbols" value="true"/>
91- <property key="data-model" value="large-data"/>
92- <property key="isolate-each-function" value="false"/>
93- <property key="enable-fatal-warnings" value="false"/>
94- <property key="enable-omit-frame-pointer" value="false"/>
95- <property key="enable-ansi-std" value="false"/>
96- <property key="enable-all-warnings" value="false"/>
97- <property key="pre-instruction-scheduling" value="default"/>
98- <property key="enable-large-arrays" value="false"/>
99- <property key="scalar-model" value="default"/>
100- <appendMe value="-Winline"/>
101- </C30>
102- <C30-AS>
103- <property key="omit-debug-dirs" value="false"/>
104- <property key="extra-include-directories-for-assembler" value=""/>
105- <property key="preprocessor-macros" value=""/>
106- <property key="list-file" value=""/>
107- <property key="list-source" value="false"/>
108- <property key="list-assembly" value="false"/>
109- <property key="relax" value="false"/>
110- <property key="extra-include-directories-for-preprocessor" value=""/>
111- <property key="warning-level" value="emit-warnings"/>
112- <property key="list-section-info" value="false"/>
113- <property key="omit-forms" value="false"/>
114- <property key="list-symbols" value="false"/>
115- <property key="keep-locals" value="false"/>
116- <property key="false-conditionals" value="false"/>
117- <property key="expand-macros" value="false"/>
118- <property key="assembler-symbols" value=""/>
119- </C30-AS>
120- <C30-LD>
121- <property key="preprocessor-macros" value=""/>
122- <property key="general-code-protect" value="no_code_protect"/>
123- <property key="secure-write-protect" value="no_write_protect"/>
124- <property key="warn-section-align" value="false"/>
125- <property key="heap-size" value="40"/>
126- <property key="remove-unused-sections" value="false"/>
127- <property key="stack-size" value=""/>
128- <property key="linker-symbols" value=""/>
129- <property key="trace-symbols" value=""/>
130- <property key="map-file" value=""/>
131- <property key="enable-pack-data" value="true"/>
132- <property key="boot-eeprom" value="no_eeprom"/>
133- <property key="general-write-protect" value="no_write_protect"/>
134- <property key="enable-handles" value="true"/>
135- <property key="enable-data-init" value="true"/>
136- <property key="secure-flash" value="no_flash"/>
137- <property key="boot-write-protect" value="no_write_protect"/>
138- <property key="boot-flash" value="no_flash"/>
139- <property key="report-memory-usage" value="false"/>
140- <property key="generate-cross-reference-file" value="false"/>
141- <property key="input-libraries" value=""/>
142- <property key="secure-ram" value="no_ram"/>
143- <property key="enable-check-sections" value="true"/>
144- <property key="enable-default-isr" value="true"/>
145- <property key="symbol-stripping" value="keep-all"/>
146- <property key="boot-ram" value="no_ram"/>
147- <property key="secure-eeprom" value="no_eeprom"/>
148- <property key="extra-lib-directories" value=""/>
149- </C30-LD>
150- <C30Global>
151- <property key="fast-math" value="false"/>
152- <property key="output-file-format" value="elf"/>
153- <property key="legacy-libc" value="false"/>
154- </C30Global>
155- <ICD3PlatformTool>
156- <property key="UART 2" value="true"/>
157- <property key="UART 1" value="true"/>
158- <property key="programoptions.preserveprogramrange" value="false"/>
159- <property key="programoptions.eraseb4program" value="true"/>
160- <property key="memories.id" value="false"/>
161- <property key="ToolFirmwareFilePath" value=""/>
162- <property key="memories.eeprom" value="false"/>
163- <property key="SecureSegment.SegmentProgramming" value="FullChipProgramming"/>
164- <property key="programoptions.usehighvoltageonmclr" value="false"/>
165- <property key="INPUT CAPTURE 5" value="true"/>
166- <property key="INPUT CAPTURE 4" value="true"/>
167- <property key="INPUT CAPTURE 3" value="true"/>
168- <property key="INPUT CAPTURE 2" value="true"/>
169- <property key="INPUT CAPTURE 1" value="true"/>
170- <property key="programoptions.preserveeeprom" value="false"/>
171- <property key="ADC 1" value="true"/>
172- <property key="debugoptions.useswbreakpoints" value="false"/>
173- <property key="hwtoolclock.frcindebug" value="true"/>
174- <property key="OUTPUT COMPARE 5" value="true"/>
175- <property key="OUTPUT COMPARE 4" value="true"/>
176- <property key="memories.programmemory" value="true"/>
177- <property key="OUTPUT COMPARE 3" value="true"/>
178- <property key="OUTPUT COMPARE 2" value="true"/>
179- <property key="OUTPUT COMPARE 1" value="true"/>
180- <property key="poweroptions.powerenable" value="false"/>
181- <property key="memories.programmemory.start" value="0x0"/>
182- <property key="programoptions.preserveprogramrange.start" value="0x0"/>
183- <property key="ToolFirmwareOption.UseLatestFirmware" value="true"/>
184- <property key="AutoSelectMemRanges" value="auto"/>
185- <property key="voltagevalue" value="3.25"/>
186- <property key="memories.programmemory.end" value="0xabfb"/>
187- <property key="TIMER5" value="true"/>
188- <property key="TIMER4" value="true"/>
189- <property key="TIMER3" value="true"/>
190- <property key="SPI 2" value="true"/>
191- <property key="TIMER2" value="true"/>
192- <property key="SPI 1" value="true"/>
193- <property key="TIMER1" value="true"/>
194- <property key="CRC" value="true"/>
195- <property key="I2C2" value="true"/>
196- <property key="I2C1" value="true"/>
197- <property key="Freeze All Other Peripherals" value="true"/>
198- <property key="programoptions.preserveprogramrange.end" value="0xff"/>
199- </ICD3PlatformTool>
200- </conf>
201- </confs>
202-</configurationDescriptor>
1+<?xml version="1.0" encoding="UTF-8"?>
2+<configurationDescriptor version="62">
3+ <logicalFolder name="root" displayName="root" projectFiles="true">
4+ <logicalFolder name="HeaderFiles"
5+ displayName="Header Files"
6+ projectFiles="true">
7+ </logicalFolder>
8+ <logicalFolder name="LibraryFiles"
9+ displayName="Library Files"
10+ projectFiles="true">
11+ </logicalFolder>
12+ <logicalFolder name="LinkerScript"
13+ displayName="Linker Files"
14+ projectFiles="true">
15+ </logicalFolder>
16+ <logicalFolder name="ObjectFiles"
17+ displayName="Object Files"
18+ projectFiles="true">
19+ </logicalFolder>
20+ <logicalFolder name="SourceFiles"
21+ displayName="Source Files"
22+ projectFiles="true">
23+ <itemPath>byte2var.c</itemPath>
24+ <itemPath>byte2var.h</itemPath>
25+ <itemPath>debug_print.c</itemPath>
26+ <itemPath>debug_print.h</itemPath>
27+ <itemPath>delay.h</itemPath>
28+ <itemPath>main.c</itemPath>
29+ <itemPath>myad.c</itemPath>
30+ <itemPath>myad.h</itemPath>
31+ <itemPath>myint.h</itemPath>
32+ <itemPath>myspi.c</itemPath>
33+ <itemPath>myspi.h</itemPath>
34+ <itemPath>mysts.c</itemPath>
35+ <itemPath>mysts.h</itemPath>
36+ <itemPath>myuart.c</itemPath>
37+ <itemPath>myuart.h</itemPath>
38+ <itemPath>ring.c</itemPath>
39+ <itemPath>ring.h</itemPath>
40+ <itemPath>test.c</itemPath>
41+ <itemPath>ublox.c</itemPath>
42+ <itemPath>ublox.h</itemPath>
43+ <itemPath>util.h</itemPath>
44+ </logicalFolder>
45+ <logicalFolder name="ExternalFiles"
46+ displayName="Important Files"
47+ projectFiles="false">
48+ <itemPath>Makefile</itemPath>
49+ </logicalFolder>
50+ </logicalFolder>
51+ <projectmakefile>Makefile</projectmakefile>
52+ <confs>
53+ <conf name="default" type="2">
54+ <toolsSet>
55+ <developmentServer>localhost</developmentServer>
56+ <targetDevice>PIC24FJ64GA004</targetDevice>
57+ <targetHeader></targetHeader>
58+ <targetPluginBoard></targetPluginBoard>
59+ <platformTool>ICD3PlatformTool</platformTool>
60+ <languageToolchain>XC16</languageToolchain>
61+ <languageToolchainVersion>1.23</languageToolchainVersion>
62+ <platform>3</platform>
63+ </toolsSet>
64+ <compileType>
65+ <linkerTool>
66+ <linkerLibItems>
67+ </linkerLibItems>
68+ </linkerTool>
69+ <archiverTool>
70+ </archiverTool>
71+ <loading>
72+ <useAlternateLoadableFile>false</useAlternateLoadableFile>
73+ <parseOnProdLoad>false</parseOnProdLoad>
74+ <alternateLoadableFile></alternateLoadableFile>
75+ </loading>
76+ </compileType>
77+ <makeCustomizationType>
78+ <makeCustomizationPreStepEnabled>false</makeCustomizationPreStepEnabled>
79+ <makeCustomizationPreStep></makeCustomizationPreStep>
80+ <makeCustomizationPostStepEnabled>false</makeCustomizationPostStepEnabled>
81+ <makeCustomizationPostStep></makeCustomizationPostStep>
82+ <makeCustomizationPutChecksumInUserID>false</makeCustomizationPutChecksumInUserID>
83+ <makeCustomizationEnableLongLines>false</makeCustomizationEnableLongLines>
84+ <makeCustomizationNormalizeHexFile>false</makeCustomizationNormalizeHexFile>
85+ </makeCustomizationType>
86+ <C30>
87+ <property key="code-model" value="default"/>
88+ <property key="const-model" value="default"/>
89+ <property key="data-model" value="large-data"/>
90+ <property key="enable-all-warnings" value="false"/>
91+ <property key="enable-ansi-std" value="false"/>
92+ <property key="enable-ansi-warnings" value="false"/>
93+ <property key="enable-fatal-warnings" value="false"/>
94+ <property key="enable-large-arrays" value="false"/>
95+ <property key="enable-omit-frame-pointer" value="false"/>
96+ <property key="enable-procedural-abstraction" value="false"/>
97+ <property key="enable-short-double" value="false"/>
98+ <property key="enable-symbols" value="true"/>
99+ <property key="enable-unroll-loops" value="false"/>
100+ <property key="extra-include-directories" value=""/>
101+ <property key="isolate-each-function" value="false"/>
102+ <property key="keep-inline" value="true"/>
103+ <property key="oXC16gcc-align-arr" value="false"/>
104+ <property key="oXC16gcc-cnsts-mauxflash" value="false"/>
105+ <property key="oXC16gcc-data-sects" value="false"/>
106+ <property key="oXC16gcc-errata" value=""/>
107+ <property key="oXC16gcc-fillupper" value=""/>
108+ <property key="oXC16gcc-large-aggregate" value="false"/>
109+ <property key="oXC16gcc-mauxflash" value="false"/>
110+ <property key="oXC16gcc-mpa-lvl" value=""/>
111+ <property key="oXC16gcc-name-text-sec" value=""/>
112+ <property key="oXC16gcc-near-chars" value="false"/>
113+ <property key="oXC16gcc-no-isr-warn" value="false"/>
114+ <property key="oXC16gcc-sfr-warn" value="false"/>
115+ <property key="oXC16gcc-smar-io-lvl" value="1"/>
116+ <property key="oXC16gcc-smart-io-fmt" value=""/>
117+ <property key="optimization-level" value="1"/>
118+ <property key="post-instruction-scheduling" value="default"/>
119+ <property key="pre-instruction-scheduling" value="default"/>
120+ <property key="preprocessor-macros" value=""/>
121+ <property key="scalar-model" value="default"/>
122+ <property key="use-cci" value="false"/>
123+ <property key="use-iar" value="false"/>
124+ <appendMe value="-Winline"/>
125+ </C30>
126+ <C30-AR>
127+ <property key="additional-options-chop-files" value="false"/>
128+ </C30-AR>
129+ <C30-AS>
130+ <property key="assembler-symbols" value=""/>
131+ <property key="expand-macros" value="false"/>
132+ <property key="extra-include-directories-for-assembler" value=""/>
133+ <property key="extra-include-directories-for-preprocessor" value=""/>
134+ <property key="false-conditionals" value="false"/>
135+ <property key="keep-locals" value="false"/>
136+ <property key="list-assembly" value="false"/>
137+ <property key="list-file" value=""/>
138+ <property key="list-section-info" value="false"/>
139+ <property key="list-source" value="false"/>
140+ <property key="list-symbols" value="false"/>
141+ <property key="omit-debug-dirs" value="false"/>
142+ <property key="omit-forms" value="false"/>
143+ <property key="preprocessor-macros" value=""/>
144+ <property key="relax" value="false"/>
145+ <property key="warning-level" value="emit-warnings"/>
146+ </C30-AS>
147+ <C30-LD>
148+ <property key="additional-options-use-response-files" value="false"/>
149+ <property key="boot-eeprom" value="no_eeprom"/>
150+ <property key="boot-flash" value="no_flash"/>
151+ <property key="boot-ram" value="no_ram"/>
152+ <property key="boot-write-protect" value="no_write_protect"/>
153+ <property key="enable-check-sections" value="true"/>
154+ <property key="enable-data-init" value="true"/>
155+ <property key="enable-default-isr" value="true"/>
156+ <property key="enable-handles" value="true"/>
157+ <property key="enable-pack-data" value="true"/>
158+ <property key="extra-lib-directories" value=""/>
159+ <property key="fill-flash-options-addr" value=""/>
160+ <property key="fill-flash-options-const" value=""/>
161+ <property key="fill-flash-options-how" value="0"/>
162+ <property key="fill-flash-options-inc-const" value="1"/>
163+ <property key="fill-flash-options-increment" value=""/>
164+ <property key="fill-flash-options-seq" value=""/>
165+ <property key="fill-flash-options-what" value="0"/>
166+ <property key="general-code-protect" value="no_code_protect"/>
167+ <property key="general-write-protect" value="no_write_protect"/>
168+ <property key="generate-cross-reference-file" value="false"/>
169+ <property key="heap-size" value="40"/>
170+ <property key="input-libraries" value=""/>
171+ <property key="linker-stack" value="true"/>
172+ <property key="linker-symbols" value=""/>
173+ <property key="map-file" value=""/>
174+ <property key="oXC16ld-extra-opts" value=""/>
175+ <property key="oXC16ld-fill-upper" value="0"/>
176+ <property key="oXC16ld-force-link" value="false"/>
177+ <property key="oXC16ld-no-smart-io" value="false"/>
178+ <property key="oXC16ld-nostdlib" value="false"/>
179+ <property key="oXC16ld-stackguard" value="16"/>
180+ <property key="preprocessor-macros" value=""/>
181+ <property key="remove-unused-sections" value="false"/>
182+ <property key="report-memory-usage" value="false"/>
183+ <property key="secure-eeprom" value="no_eeprom"/>
184+ <property key="secure-flash" value="no_flash"/>
185+ <property key="secure-ram" value="no_ram"/>
186+ <property key="secure-write-protect" value="no_write_protect"/>
187+ <property key="stack-size" value=""/>
188+ <property key="symbol-stripping" value="keep-all"/>
189+ <property key="trace-symbols" value=""/>
190+ <property key="warn-section-align" value="false"/>
191+ </C30-LD>
192+ <C30Global>
193+ <property key="common-include-directories" value=""/>
194+ <property key="dual-boot-partition" value="0"/>
195+ <property key="fast-math" value="false"/>
196+ <property key="generic-16-bit" value="false"/>
197+ <property key="legacy-libc" value="false"/>
198+ <property key="oXC16glb-macros" value=""/>
199+ <property key="output-file-format" value="elf"/>
200+ <property key="relaxed-math" value="false"/>
201+ <property key="save-temps" value="false"/>
202+ </C30Global>
203+ <ICD3PlatformTool>
204+ <property key="ADC 1" value="true"/>
205+ <property key="AutoSelectMemRanges" value="auto"/>
206+ <property key="CRC" value="true"/>
207+ <property key="Freeze All Other Peripherals" value="true"/>
208+ <property key="I2C1" value="true"/>
209+ <property key="I2C2" value="true"/>
210+ <property key="INPUT CAPTURE 1" value="true"/>
211+ <property key="INPUT CAPTURE 2" value="true"/>
212+ <property key="INPUT CAPTURE 3" value="true"/>
213+ <property key="INPUT CAPTURE 4" value="true"/>
214+ <property key="INPUT CAPTURE 5" value="true"/>
215+ <property key="OUTPUT COMPARE 1" value="true"/>
216+ <property key="OUTPUT COMPARE 2" value="true"/>
217+ <property key="OUTPUT COMPARE 3" value="true"/>
218+ <property key="OUTPUT COMPARE 4" value="true"/>
219+ <property key="OUTPUT COMPARE 5" value="true"/>
220+ <property key="SPI 1" value="true"/>
221+ <property key="SPI 2" value="true"/>
222+ <property key="SecureSegment.SegmentProgramming" value="FullChipProgramming"/>
223+ <property key="TIMER1" value="true"/>
224+ <property key="TIMER2" value="true"/>
225+ <property key="TIMER3" value="true"/>
226+ <property key="TIMER4" value="true"/>
227+ <property key="TIMER5" value="true"/>
228+ <property key="ToolFirmwareFilePath" value=""/>
229+ <property key="ToolFirmwareOption.UseLatestFirmware" value="true"/>
230+ <property key="UART 1" value="true"/>
231+ <property key="UART 2" value="true"/>
232+ <property key="debugoptions.useswbreakpoints" value="false"/>
233+ <property key="hwtoolclock.frcindebug" value="true"/>
234+ <property key="memories.aux" value="false"/>
235+ <property key="memories.bootflash" value="false"/>
236+ <property key="memories.configurationmemory" value="true"/>
237+ <property key="memories.configurationmemory2" value="true"/>
238+ <property key="memories.dataflash" value="true"/>
239+ <property key="memories.eeprom" value="false"/>
240+ <property key="memories.flashdata" value="true"/>
241+ <property key="memories.programmemory" value="true"/>
242+ <property key="memories.programmemory.end" value="0xabfb"/>
243+ <property key="memories.programmemory.partition2" value="true"/>
244+ <property key="memories.programmemory.partition2.end"
245+ value="${memories.programmemory.partition2.end.value}"/>
246+ <property key="memories.programmemory.partition2.start"
247+ value="${memories.programmemory.partition2.start.value}"/>
248+ <property key="memories.programmemory.start" value="0x0"/>
249+ <property key="poweroptions.powerenable" value="false"/>
250+ <property key="programoptions.donoteraseauxmem" value="false"/>
251+ <property key="programoptions.eraseb4program" value="true"/>
252+ <property key="programoptions.preservedataflash" value="false"/>
253+ <property key="programoptions.preserveeeprom" value="false"/>
254+ <property key="programoptions.preserveprogramrange" value="false"/>
255+ <property key="programoptions.preserveprogramrange.end" value="0xff"/>
256+ <property key="programoptions.preserveprogramrange.start" value="0x0"/>
257+ <property key="programoptions.preserveuserid" value="false"/>
258+ <property key="programoptions.programcalmem" value="false"/>
259+ <property key="programoptions.programuserotp" value="false"/>
260+ <property key="programoptions.testmodeentrymethod" value="VPPFirst"/>
261+ <property key="programoptions.usehighvoltageonmclr" value="false"/>
262+ <property key="programoptions.uselvpprogramming" value="false"/>
263+ <property key="voltagevalue" value="3.25"/>
264+ </ICD3PlatformTool>
265+ </conf>
266+ </confs>
267+</configurationDescriptor>
--- /dev/null
+++ b/nbproject/private/SuppressibleMessageMemo.properties
@@ -0,0 +1,17 @@
1+#
2+#Tue Jul 24 16:28:36 JST 2012
3+pk3/CHECK_CLOCK=false
4+pk3/DEVID_MISMATCH=false
5+pkobskde/CHECK_4_HIGH_VOLTAGE_VPP=false
6+pkoblicdbgr/DEVID_MISMATCH=false
7+pk3/CHECK_4_HIGH_VOLTAGE_VPP=false
8+pkobskde/CHECK_CLOCK=false
9+pkoblicdbgr/CHECK_CLOCK=false
10+icd3/CHECK_CLOCK=false
11+pkobskde/DEVID_MISMATCH=false
12+icd3/DEVID_MISMATCH=false
13+realice/CHECK_CLOCK=false
14+pkoblicdbgr/CHECK_4_HIGH_VOLTAGE_VPP=false
15+realice/DEVID_MISMATCH=false
16+icd3/CHECK_4_HIGH_VOLTAGE_VPP=false
17+realice/CHECK_4_HIGH_VOLTAGE_VPP=false
--- a/nbproject/private/configurations.xml
+++ b/nbproject/private/configurations.xml
@@ -1,25 +1,25 @@
1-<?xml version="1.0" encoding="UTF-8"?>
2-<configurationDescriptor version="62">
3- <projectmakefile>Makefile</projectmakefile>
4- <defaultConf>0</defaultConf>
5- <confs>
6- <conf name="default" type="2">
7- <platformToolSN>:=MPLABCommUSB:=04D8:=9009:=0100:=Microchip Technology, Inc. (www.microchip.com):=MPLAB ICD3 tm (www.microchip.com):=TPM403082521:=x:=en</platformToolSN>
8- <languageToolchainDir>/opt/microchip/mplabc30/v3.24/bin</languageToolchainDir>
9- <mdbdebugger version="1">
10- <placeholder1>place holder 1</placeholder1>
11- <placeholder2>place holder 2</placeholder2>
12- </mdbdebugger>
13- <runprofile version="6">
14- <args></args>
15- <rundir></rundir>
16- <buildfirst>true</buildfirst>
17- <console-type>0</console-type>
18- <terminal-type>0</terminal-type>
19- <remove-instrumentation>0</remove-instrumentation>
20- <environment>
21- </environment>
22- </runprofile>
23- </conf>
24- </confs>
25-</configurationDescriptor>
1+<?xml version="1.0" encoding="UTF-8"?>
2+<configurationDescriptor version="62">
3+ <projectmakefile>Makefile</projectmakefile>
4+ <defaultConf>0</defaultConf>
5+ <confs>
6+ <conf name="default" type="2">
7+ <platformToolSN>:=MPLABComm-USB-Microchip:=&lt;vid>04D8:=&lt;pid>9009:=&lt;rev>0100:=&lt;man>Microchip Technology, Inc. (www.microchip.com):=&lt;prod>MPLAB ICD3 tm (www.microchip.com):=&lt;sn>TPM403082521:=&lt;drv>x:=&lt;xpt>b:=end</platformToolSN>
8+ <languageToolchainDir>C:\Program Files (x86)\Microchip\xc16\v1.23\bin</languageToolchainDir>
9+ <mdbdebugger version="1">
10+ <placeholder1>place holder 1</placeholder1>
11+ <placeholder2>place holder 2</placeholder2>
12+ </mdbdebugger>
13+ <runprofile version="6">
14+ <args></args>
15+ <rundir></rundir>
16+ <buildfirst>true</buildfirst>
17+ <console-type>0</console-type>
18+ <terminal-type>0</terminal-type>
19+ <remove-instrumentation>0</remove-instrumentation>
20+ <environment>
21+ </environment>
22+ </runprofile>
23+ </conf>
24+ </confs>
25+</configurationDescriptor>
--- a/nbproject/private/private.xml
+++ b/nbproject/private/private.xml
@@ -1,4 +1,3 @@
1-<?xml version="1.0" encoding="UTF-8"?>
2-<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
3- <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/1"/>
4-</project-private>
1+<?xml version="1.0" encoding="UTF-8"?><project-private xmlns="http://www.netbeans.org/ns/project-private/1">
2+ <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/1"/>
3+</project-private>
--- a/nbproject/project.xml
+++ b/nbproject/project.xml
@@ -1,15 +1,15 @@
1-<?xml version="1.0" encoding="UTF-8"?>
2-<project xmlns="http://www.netbeans.org/ns/project/1">
3- <type>com.microchip.mplab.nbide.embedded.makeproject</type>
4- <configuration>
5- <data xmlns="http://www.netbeans.org/ns/make-project/1">
6- <name>CPU2010</name>
7- <make-project-type>0</make-project-type>
8- <c-extensions>c</c-extensions>
9- <cpp-extensions/>
10- <header-extensions>h</header-extensions>
11- <sourceEncoding>UTF-8</sourceEncoding>
12- <make-dep-projects/>
13- </data>
14- </configuration>
15-</project>
1+<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://www.netbeans.org/ns/project/1">
2+ <type>com.microchip.mplab.nbide.embedded.makeproject</type>
3+ <configuration>
4+ <data xmlns="http://www.netbeans.org/ns/make-project/1">
5+ <name>CPU2010</name>
6+ <make-project-type>0</make-project-type>
7+ <c-extensions>c</c-extensions>
8+ <cpp-extensions/>
9+ <header-extensions>h</header-extensions>
10+ <sourceEncoding>UTF-8</sourceEncoding>
11+ <asminc-extensions/>
12+ <make-dep-projects/>
13+ </data>
14+ </configuration>
15+</project>
Show on old repository browser