From 4f975a707e8fe5c6d7dd01babd275b9c1d270251 Mon Sep 17 00:00:00 2001 From: Joshua Drake Date: Thu, 1 Feb 2024 01:21:26 -0600 Subject: Board Ready for Testing. --- nbproject/Makefile-default.mk | 261 ++++++++++++++ nbproject/Makefile-genesis.properties | 13 + nbproject/Makefile-impl.mk | 69 ++++ nbproject/Makefile-local-default.mk | 36 ++ nbproject/Makefile-variables.mk | 10 + nbproject/configurations.xml | 401 +++++++++++++++++++++ .../private/SuppressibleMessageMemo.properties | 3 + nbproject/private/configurations.xml | 25 ++ nbproject/private/private.xml | 22 ++ nbproject/project.xml | 23 ++ 10 files changed, 863 insertions(+) create mode 100644 nbproject/Makefile-default.mk create mode 100644 nbproject/Makefile-genesis.properties create mode 100644 nbproject/Makefile-impl.mk create mode 100644 nbproject/Makefile-local-default.mk create mode 100644 nbproject/Makefile-variables.mk create mode 100644 nbproject/configurations.xml create mode 100644 nbproject/private/SuppressibleMessageMemo.properties create mode 100644 nbproject/private/configurations.xml create mode 100644 nbproject/private/private.xml create mode 100644 nbproject/project.xml (limited to 'nbproject') diff --git a/nbproject/Makefile-default.mk b/nbproject/Makefile-default.mk new file mode 100644 index 0000000..db92572 --- /dev/null +++ b/nbproject/Makefile-default.mk @@ -0,0 +1,261 @@ +# +# 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=mkdir -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=${DISTDIR}/resbox.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} +else +IMAGE_TYPE=production +OUTPUT_SUFFIX=hex +DEBUGGABLE_SUFFIX=elf +FINAL_IMAGE=${DISTDIR}/resbox.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} +endif + +ifeq ($(COMPARE_BUILD), true) +COMPARISON_BUILD=-mafrlcsj +else +COMPARISON_BUILD= +endif + +# Object Directory +OBJECTDIR=build/${CND_CONF}/${IMAGE_TYPE} + +# Distribution Directory +DISTDIR=dist/${CND_CONF}/${IMAGE_TYPE} + +# Source Files Quoted if spaced +SOURCEFILES_QUOTED_IF_SPACED=mcc_generated_files/interrupt_manager.c mcc_generated_files/clock.c mcc_generated_files/pin_manager.c mcc_generated_files/mssp2_i2c.c mcc_generated_files/system.c mcc_generated_files/traps.c mcc_generated_files/mcc.c mcc_generated_files/mssp1_spi.c main.c SPI.c + +# Object Files Quoted if spaced +OBJECTFILES_QUOTED_IF_SPACED=${OBJECTDIR}/mcc_generated_files/interrupt_manager.o ${OBJECTDIR}/mcc_generated_files/clock.o ${OBJECTDIR}/mcc_generated_files/pin_manager.o ${OBJECTDIR}/mcc_generated_files/mssp2_i2c.o ${OBJECTDIR}/mcc_generated_files/system.o ${OBJECTDIR}/mcc_generated_files/traps.o ${OBJECTDIR}/mcc_generated_files/mcc.o ${OBJECTDIR}/mcc_generated_files/mssp1_spi.o ${OBJECTDIR}/main.o ${OBJECTDIR}/SPI.o +POSSIBLE_DEPFILES=${OBJECTDIR}/mcc_generated_files/interrupt_manager.o.d ${OBJECTDIR}/mcc_generated_files/clock.o.d ${OBJECTDIR}/mcc_generated_files/pin_manager.o.d ${OBJECTDIR}/mcc_generated_files/mssp2_i2c.o.d ${OBJECTDIR}/mcc_generated_files/system.o.d ${OBJECTDIR}/mcc_generated_files/traps.o.d ${OBJECTDIR}/mcc_generated_files/mcc.o.d ${OBJECTDIR}/mcc_generated_files/mssp1_spi.o.d ${OBJECTDIR}/main.o.d ${OBJECTDIR}/SPI.o.d + +# Object Files +OBJECTFILES=${OBJECTDIR}/mcc_generated_files/interrupt_manager.o ${OBJECTDIR}/mcc_generated_files/clock.o ${OBJECTDIR}/mcc_generated_files/pin_manager.o ${OBJECTDIR}/mcc_generated_files/mssp2_i2c.o ${OBJECTDIR}/mcc_generated_files/system.o ${OBJECTDIR}/mcc_generated_files/traps.o ${OBJECTDIR}/mcc_generated_files/mcc.o ${OBJECTDIR}/mcc_generated_files/mssp1_spi.o ${OBJECTDIR}/main.o ${OBJECTDIR}/SPI.o + +# Source Files +SOURCEFILES=mcc_generated_files/interrupt_manager.c mcc_generated_files/clock.c mcc_generated_files/pin_manager.c mcc_generated_files/mssp2_i2c.c mcc_generated_files/system.c mcc_generated_files/traps.c mcc_generated_files/mcc.c mcc_generated_files/mssp1_spi.c main.c SPI.c + + + +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} +ifneq ($(INFORMATION_MESSAGE), ) + @echo $(INFORMATION_MESSAGE) +endif + ${MAKE} -f nbproject/Makefile-default.mk ${DISTDIR}/resbox.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} + +MP_PROCESSOR_OPTION=24FV16KM202 +MP_LINKER_FILE_OPTION=,--script=p24FV16KM202.gld +# ------------------------------------------------------------------------------------ +# Rules for buildStep: compile +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +${OBJECTDIR}/mcc_generated_files/interrupt_manager.o: mcc_generated_files/interrupt_manager.c .generated_files/flags/default/8bbd249bdb50f9d9be8390199a36587abb610a7a .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709 + @${MKDIR} "${OBJECTDIR}/mcc_generated_files" + @${RM} ${OBJECTDIR}/mcc_generated_files/interrupt_manager.o.d + @${RM} ${OBJECTDIR}/mcc_generated_files/interrupt_manager.o + ${MP_CC} $(MP_EXTRA_CC_PRE) mcc_generated_files/interrupt_manager.c -o ${OBJECTDIR}/mcc_generated_files/interrupt_manager.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MP -MMD -MF "${OBJECTDIR}/mcc_generated_files/interrupt_manager.o.d" -g -D__DEBUG -omf=elf -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp="${DFP_DIR}/xc16" + +${OBJECTDIR}/mcc_generated_files/clock.o: mcc_generated_files/clock.c .generated_files/flags/default/b02cdcde4516744cdcb92203a93c8d3a3835888d .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709 + @${MKDIR} "${OBJECTDIR}/mcc_generated_files" + @${RM} ${OBJECTDIR}/mcc_generated_files/clock.o.d + @${RM} ${OBJECTDIR}/mcc_generated_files/clock.o + ${MP_CC} $(MP_EXTRA_CC_PRE) mcc_generated_files/clock.c -o ${OBJECTDIR}/mcc_generated_files/clock.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MP -MMD -MF "${OBJECTDIR}/mcc_generated_files/clock.o.d" -g -D__DEBUG -omf=elf -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp="${DFP_DIR}/xc16" + +${OBJECTDIR}/mcc_generated_files/pin_manager.o: mcc_generated_files/pin_manager.c .generated_files/flags/default/2ef57164fff61e8910a6e71dc3e81054678d2d9 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709 + @${MKDIR} "${OBJECTDIR}/mcc_generated_files" + @${RM} ${OBJECTDIR}/mcc_generated_files/pin_manager.o.d + @${RM} ${OBJECTDIR}/mcc_generated_files/pin_manager.o + ${MP_CC} $(MP_EXTRA_CC_PRE) mcc_generated_files/pin_manager.c -o ${OBJECTDIR}/mcc_generated_files/pin_manager.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MP -MMD -MF "${OBJECTDIR}/mcc_generated_files/pin_manager.o.d" -g -D__DEBUG -omf=elf -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp="${DFP_DIR}/xc16" + +${OBJECTDIR}/mcc_generated_files/mssp2_i2c.o: mcc_generated_files/mssp2_i2c.c .generated_files/flags/default/27051ea6ca6edf1d82857dd8cbb1da29718d49cf .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709 + @${MKDIR} "${OBJECTDIR}/mcc_generated_files" + @${RM} ${OBJECTDIR}/mcc_generated_files/mssp2_i2c.o.d + @${RM} ${OBJECTDIR}/mcc_generated_files/mssp2_i2c.o + ${MP_CC} $(MP_EXTRA_CC_PRE) mcc_generated_files/mssp2_i2c.c -o ${OBJECTDIR}/mcc_generated_files/mssp2_i2c.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MP -MMD -MF "${OBJECTDIR}/mcc_generated_files/mssp2_i2c.o.d" -g -D__DEBUG -omf=elf -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp="${DFP_DIR}/xc16" + +${OBJECTDIR}/mcc_generated_files/system.o: mcc_generated_files/system.c .generated_files/flags/default/d8ae1ddcf796d8593ac5c207fde907b837ec15a6 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709 + @${MKDIR} "${OBJECTDIR}/mcc_generated_files" + @${RM} ${OBJECTDIR}/mcc_generated_files/system.o.d + @${RM} ${OBJECTDIR}/mcc_generated_files/system.o + ${MP_CC} $(MP_EXTRA_CC_PRE) mcc_generated_files/system.c -o ${OBJECTDIR}/mcc_generated_files/system.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MP -MMD -MF "${OBJECTDIR}/mcc_generated_files/system.o.d" -g -D__DEBUG -omf=elf -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp="${DFP_DIR}/xc16" + +${OBJECTDIR}/mcc_generated_files/traps.o: mcc_generated_files/traps.c .generated_files/flags/default/94bbc1f3ec0e53754ff133e7a7c4dcab818edcfc .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709 + @${MKDIR} "${OBJECTDIR}/mcc_generated_files" + @${RM} ${OBJECTDIR}/mcc_generated_files/traps.o.d + @${RM} ${OBJECTDIR}/mcc_generated_files/traps.o + ${MP_CC} $(MP_EXTRA_CC_PRE) mcc_generated_files/traps.c -o ${OBJECTDIR}/mcc_generated_files/traps.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MP -MMD -MF "${OBJECTDIR}/mcc_generated_files/traps.o.d" -g -D__DEBUG -omf=elf -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp="${DFP_DIR}/xc16" + +${OBJECTDIR}/mcc_generated_files/mcc.o: mcc_generated_files/mcc.c .generated_files/flags/default/7162a506eca095cd66e4d930c08d533e8b98d6bf .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709 + @${MKDIR} "${OBJECTDIR}/mcc_generated_files" + @${RM} ${OBJECTDIR}/mcc_generated_files/mcc.o.d + @${RM} ${OBJECTDIR}/mcc_generated_files/mcc.o + ${MP_CC} $(MP_EXTRA_CC_PRE) mcc_generated_files/mcc.c -o ${OBJECTDIR}/mcc_generated_files/mcc.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MP -MMD -MF "${OBJECTDIR}/mcc_generated_files/mcc.o.d" -g -D__DEBUG -omf=elf -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp="${DFP_DIR}/xc16" + +${OBJECTDIR}/mcc_generated_files/mssp1_spi.o: mcc_generated_files/mssp1_spi.c .generated_files/flags/default/f6afb087fe40f1d533325d3ddce7ac9b5bbf2234 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709 + @${MKDIR} "${OBJECTDIR}/mcc_generated_files" + @${RM} ${OBJECTDIR}/mcc_generated_files/mssp1_spi.o.d + @${RM} ${OBJECTDIR}/mcc_generated_files/mssp1_spi.o + ${MP_CC} $(MP_EXTRA_CC_PRE) mcc_generated_files/mssp1_spi.c -o ${OBJECTDIR}/mcc_generated_files/mssp1_spi.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MP -MMD -MF "${OBJECTDIR}/mcc_generated_files/mssp1_spi.o.d" -g -D__DEBUG -omf=elf -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp="${DFP_DIR}/xc16" + +${OBJECTDIR}/main.o: main.c .generated_files/flags/default/96849bcb9175e5f411bc163a8bcb4d25209bcdbd .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709 + @${MKDIR} "${OBJECTDIR}" + @${RM} ${OBJECTDIR}/main.o.d + @${RM} ${OBJECTDIR}/main.o + ${MP_CC} $(MP_EXTRA_CC_PRE) main.c -o ${OBJECTDIR}/main.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MP -MMD -MF "${OBJECTDIR}/main.o.d" -g -D__DEBUG -omf=elf -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp="${DFP_DIR}/xc16" + +${OBJECTDIR}/SPI.o: SPI.c .generated_files/flags/default/203b05fee3c9c630c59c4dd06779e5eace8f9a37 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709 + @${MKDIR} "${OBJECTDIR}" + @${RM} ${OBJECTDIR}/SPI.o.d + @${RM} ${OBJECTDIR}/SPI.o + ${MP_CC} $(MP_EXTRA_CC_PRE) SPI.c -o ${OBJECTDIR}/SPI.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MP -MMD -MF "${OBJECTDIR}/SPI.o.d" -g -D__DEBUG -omf=elf -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp="${DFP_DIR}/xc16" + +else +${OBJECTDIR}/mcc_generated_files/interrupt_manager.o: mcc_generated_files/interrupt_manager.c .generated_files/flags/default/60c7431cb00aac0333132f5c647f60453ea1e840 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709 + @${MKDIR} "${OBJECTDIR}/mcc_generated_files" + @${RM} ${OBJECTDIR}/mcc_generated_files/interrupt_manager.o.d + @${RM} ${OBJECTDIR}/mcc_generated_files/interrupt_manager.o + ${MP_CC} $(MP_EXTRA_CC_PRE) mcc_generated_files/interrupt_manager.c -o ${OBJECTDIR}/mcc_generated_files/interrupt_manager.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MP -MMD -MF "${OBJECTDIR}/mcc_generated_files/interrupt_manager.o.d" -g -omf=elf -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp="${DFP_DIR}/xc16" + +${OBJECTDIR}/mcc_generated_files/clock.o: mcc_generated_files/clock.c .generated_files/flags/default/409534ad8c4cbdc330f3c9bda97adfade87f1c56 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709 + @${MKDIR} "${OBJECTDIR}/mcc_generated_files" + @${RM} ${OBJECTDIR}/mcc_generated_files/clock.o.d + @${RM} ${OBJECTDIR}/mcc_generated_files/clock.o + ${MP_CC} $(MP_EXTRA_CC_PRE) mcc_generated_files/clock.c -o ${OBJECTDIR}/mcc_generated_files/clock.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MP -MMD -MF "${OBJECTDIR}/mcc_generated_files/clock.o.d" -g -omf=elf -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp="${DFP_DIR}/xc16" + +${OBJECTDIR}/mcc_generated_files/pin_manager.o: mcc_generated_files/pin_manager.c .generated_files/flags/default/a1561236e820bc49bbb3c0036178a630cf0e530a .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709 + @${MKDIR} "${OBJECTDIR}/mcc_generated_files" + @${RM} ${OBJECTDIR}/mcc_generated_files/pin_manager.o.d + @${RM} ${OBJECTDIR}/mcc_generated_files/pin_manager.o + ${MP_CC} $(MP_EXTRA_CC_PRE) mcc_generated_files/pin_manager.c -o ${OBJECTDIR}/mcc_generated_files/pin_manager.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MP -MMD -MF "${OBJECTDIR}/mcc_generated_files/pin_manager.o.d" -g -omf=elf -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp="${DFP_DIR}/xc16" + +${OBJECTDIR}/mcc_generated_files/mssp2_i2c.o: mcc_generated_files/mssp2_i2c.c .generated_files/flags/default/275ab6bcdb39be4c25a3a98abc5a1270b0b88735 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709 + @${MKDIR} "${OBJECTDIR}/mcc_generated_files" + @${RM} ${OBJECTDIR}/mcc_generated_files/mssp2_i2c.o.d + @${RM} ${OBJECTDIR}/mcc_generated_files/mssp2_i2c.o + ${MP_CC} $(MP_EXTRA_CC_PRE) mcc_generated_files/mssp2_i2c.c -o ${OBJECTDIR}/mcc_generated_files/mssp2_i2c.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MP -MMD -MF "${OBJECTDIR}/mcc_generated_files/mssp2_i2c.o.d" -g -omf=elf -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp="${DFP_DIR}/xc16" + +${OBJECTDIR}/mcc_generated_files/system.o: mcc_generated_files/system.c .generated_files/flags/default/a71d29a56217fc646563b53e6068450b333865cb .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709 + @${MKDIR} "${OBJECTDIR}/mcc_generated_files" + @${RM} ${OBJECTDIR}/mcc_generated_files/system.o.d + @${RM} ${OBJECTDIR}/mcc_generated_files/system.o + ${MP_CC} $(MP_EXTRA_CC_PRE) mcc_generated_files/system.c -o ${OBJECTDIR}/mcc_generated_files/system.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MP -MMD -MF "${OBJECTDIR}/mcc_generated_files/system.o.d" -g -omf=elf -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp="${DFP_DIR}/xc16" + +${OBJECTDIR}/mcc_generated_files/traps.o: mcc_generated_files/traps.c .generated_files/flags/default/52e36ea07bbb40b0fdc7ddf5469a6190324a4823 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709 + @${MKDIR} "${OBJECTDIR}/mcc_generated_files" + @${RM} ${OBJECTDIR}/mcc_generated_files/traps.o.d + @${RM} ${OBJECTDIR}/mcc_generated_files/traps.o + ${MP_CC} $(MP_EXTRA_CC_PRE) mcc_generated_files/traps.c -o ${OBJECTDIR}/mcc_generated_files/traps.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MP -MMD -MF "${OBJECTDIR}/mcc_generated_files/traps.o.d" -g -omf=elf -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp="${DFP_DIR}/xc16" + +${OBJECTDIR}/mcc_generated_files/mcc.o: mcc_generated_files/mcc.c .generated_files/flags/default/bf8cc546328ab6d29b80d39bc9402d31eccfc2c6 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709 + @${MKDIR} "${OBJECTDIR}/mcc_generated_files" + @${RM} ${OBJECTDIR}/mcc_generated_files/mcc.o.d + @${RM} ${OBJECTDIR}/mcc_generated_files/mcc.o + ${MP_CC} $(MP_EXTRA_CC_PRE) mcc_generated_files/mcc.c -o ${OBJECTDIR}/mcc_generated_files/mcc.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MP -MMD -MF "${OBJECTDIR}/mcc_generated_files/mcc.o.d" -g -omf=elf -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp="${DFP_DIR}/xc16" + +${OBJECTDIR}/mcc_generated_files/mssp1_spi.o: mcc_generated_files/mssp1_spi.c .generated_files/flags/default/28f36a534e0032e10edbcf91f5124095e1de0efd .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709 + @${MKDIR} "${OBJECTDIR}/mcc_generated_files" + @${RM} ${OBJECTDIR}/mcc_generated_files/mssp1_spi.o.d + @${RM} ${OBJECTDIR}/mcc_generated_files/mssp1_spi.o + ${MP_CC} $(MP_EXTRA_CC_PRE) mcc_generated_files/mssp1_spi.c -o ${OBJECTDIR}/mcc_generated_files/mssp1_spi.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MP -MMD -MF "${OBJECTDIR}/mcc_generated_files/mssp1_spi.o.d" -g -omf=elf -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp="${DFP_DIR}/xc16" + +${OBJECTDIR}/main.o: main.c .generated_files/flags/default/79a6b51a4cf7333a383edbcfc76be0f4cadc4609 .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709 + @${MKDIR} "${OBJECTDIR}" + @${RM} ${OBJECTDIR}/main.o.d + @${RM} ${OBJECTDIR}/main.o + ${MP_CC} $(MP_EXTRA_CC_PRE) main.c -o ${OBJECTDIR}/main.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MP -MMD -MF "${OBJECTDIR}/main.o.d" -g -omf=elf -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp="${DFP_DIR}/xc16" + +${OBJECTDIR}/SPI.o: SPI.c .generated_files/flags/default/270f3ff20fccff0b7479905f807c4f4d4d73251c .generated_files/flags/default/da39a3ee5e6b4b0d3255bfef95601890afd80709 + @${MKDIR} "${OBJECTDIR}" + @${RM} ${OBJECTDIR}/SPI.o.d + @${RM} ${OBJECTDIR}/SPI.o + ${MP_CC} $(MP_EXTRA_CC_PRE) SPI.c -o ${OBJECTDIR}/SPI.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MP -MMD -MF "${OBJECTDIR}/SPI.o.d" -g -omf=elf -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp="${DFP_DIR}/xc16" + +endif + +# ------------------------------------------------------------------------------------ +# Rules for buildStep: assemble +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +else +endif + +# ------------------------------------------------------------------------------------ +# Rules for buildStep: assemblePreproc +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +else +endif + +# ------------------------------------------------------------------------------------ +# Rules for buildStep: link +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +${DISTDIR}/resbox.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${DISTDIR} + ${MP_CC} $(MP_EXTRA_LD_PRE) -o ${DISTDIR}/resbox.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -mcpu=$(MP_PROCESSOR_OPTION) -D__DEBUG=__DEBUG -omf=elf -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -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,-D__DEBUG=__DEBUG,,$(MP_LINKER_FILE_OPTION),--stack=16,--check-sections,--data-init,--pack-data,--handles,--isr,--no-gc-sections,--fill-upper=0,--stackguard=16,--no-force-link,--smart-io,-Map="${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.map",--report-mem,--memorysummary,${DISTDIR}/memoryfile.xml$(MP_EXTRA_LD_POST) -mdfp="${DFP_DIR}/xc16" + +else +${DISTDIR}/resbox.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} ${DISTDIR} + ${MP_CC} $(MP_EXTRA_LD_PRE) -o ${DISTDIR}/resbox.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -mcpu=$(MP_PROCESSOR_OPTION) -omf=elf -DXPRJ_default=$(CND_CONF) $(COMPARISON_BUILD) -Wl,,,--defsym=__MPLAB_BUILD=1,$(MP_LINKER_FILE_OPTION),--stack=16,--check-sections,--data-init,--pack-data,--handles,--isr,--no-gc-sections,--fill-upper=0,--stackguard=16,--no-force-link,--smart-io,-Map="${DISTDIR}/${PROJECTNAME}.${IMAGE_TYPE}.map",--report-mem,--memorysummary,${DISTDIR}/memoryfile.xml$(MP_EXTRA_LD_POST) -mdfp="${DFP_DIR}/xc16" + ${MP_CC_DIR}/xc16-bin2hex ${DISTDIR}/resbox.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -a -omf=elf -mdfp="${DFP_DIR}/xc16" + +endif + + +# Subprojects +.build-subprojects: + + +# Subprojects +.clean-subprojects: + +# Clean Targets +.clean-conf: ${CLEAN_SUBPROJECTS} + ${RM} -r ${OBJECTDIR} + ${RM} -r ${DISTDIR} + +# Enable dependency checking +.dep.inc: .depcheck-impl + +DEPFILES=$(wildcard ${POSSIBLE_DEPFILES}) +ifneq (${DEPFILES},) +include ${DEPFILES} +endif diff --git a/nbproject/Makefile-genesis.properties b/nbproject/Makefile-genesis.properties new file mode 100644 index 0000000..7e1e353 --- /dev/null +++ b/nbproject/Makefile-genesis.properties @@ -0,0 +1,13 @@ +# +#Wed Jan 31 20:34:31 CST 2024 +default.languagetoolchain.version=2.10 +default.Pack.dfplocation=/opt/microchip/mplabx/v6.15/packs/Microchip/PIC24F-KA-KL-KM_DFP/1.4.83 +conf.ids=default +default.languagetoolchain.dir=/opt/microchip/xc16/v2.10/bin +host.id=2oqs-k23c-b5 +configurations-xml=4c5412c9fb2829082b03a3b277b024e2 +com-microchip-mplab-nbide-embedded-makeproject-MakeProject.md5=e62346c0c0ecee2637e613b49cb7b7fa +proj.dir=/home/josh/MPLABXProjects/resbox.X +default.com-microchip-mplab-mdbcore-pk4hybrid-Pk4HybridTooImpl.md5=38058ec39ea8224adcc766836376f0d6 +host.platform=linux +default.com-microchip-mplab-nbide-toolchain-xc16-XC16LanguageToolchain.md5=07f7da95e66d00aa4668de5175f752c5 diff --git a/nbproject/Makefile-impl.mk b/nbproject/Makefile-impl.mk new file mode 100644 index 0000000..5892fe9 --- /dev/null +++ b/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=resbox.X + +# 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 diff --git a/nbproject/Makefile-local-default.mk b/nbproject/Makefile-local-default.mk new file mode 100644 index 0000000..aa56ff0 --- /dev/null +++ b/nbproject/Makefile-local-default.mk @@ -0,0 +1,36 @@ +# +# 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" ... +# +PATH_TO_IDE_BIN=/opt/microchip/mplabx/v6.15/mplab_platform/platform/../mplab_ide/modules/../../bin/ +# Adding MPLAB X bin directory to path. +PATH:=/opt/microchip/mplabx/v6.15/mplab_platform/platform/../mplab_ide/modules/../../bin/:$(PATH) +# Path to java used to run MPLAB X when this makefile was created +MP_JAVA_PATH="/usr/lib/jvm/java-8-openjdk/jre/bin/" +OS_CURRENT="$(shell uname -s)" +MP_CC="/opt/microchip/xc16/v2.10/bin/xc16-gcc" +# MP_CPPC is not defined +# MP_BC is not defined +MP_AS="/opt/microchip/xc16/v2.10/bin/xc16-as" +MP_LD="/opt/microchip/xc16/v2.10/bin/xc16-ld" +MP_AR="/opt/microchip/xc16/v2.10/bin/xc16-ar" +DEP_GEN=${MP_JAVA_PATH}java -jar "/opt/microchip/mplabx/v6.15/mplab_platform/platform/../mplab_ide/modules/../../bin/extractobjectdependencies.jar" +MP_CC_DIR="/opt/microchip/xc16/v2.10/bin" +# MP_CPPC_DIR is not defined +# MP_BC_DIR is not defined +MP_AS_DIR="/opt/microchip/xc16/v2.10/bin" +MP_LD_DIR="/opt/microchip/xc16/v2.10/bin" +MP_AR_DIR="/opt/microchip/xc16/v2.10/bin" +DFP_DIR=/opt/microchip/mplabx/v6.15/packs/Microchip/PIC24F-KA-KL-KM_DFP/1.4.83 diff --git a/nbproject/Makefile-variables.mk b/nbproject/Makefile-variables.mk new file mode 100644 index 0000000..244bef7 --- /dev/null +++ b/nbproject/Makefile-variables.mk @@ -0,0 +1,10 @@ +# +# Generated - do not edit! +# +# NOCDDL +# +CND_BASEDIR=`pwd` +# default configuration +CND_ARTIFACT_DIR_default=dist/default/production +CND_ARTIFACT_NAME_default=resbox.X.production.hex +CND_ARTIFACT_PATH_default=dist/default/production/resbox.X.production.hex diff --git a/nbproject/configurations.xml b/nbproject/configurations.xml new file mode 100644 index 0000000..48a4d3e --- /dev/null +++ b/nbproject/configurations.xml @@ -0,0 +1,401 @@ + + + + + + mcc_generated_files/clock.h + mcc_generated_files/mssp1_spi.h + mcc_generated_files/interrupt_manager.h + mcc_generated_files/mssp2_i2c.h + mcc_generated_files/pin_manager.h + mcc_generated_files/traps.h + mcc_generated_files/system.h + mcc_generated_files/mcc.h + + SPI.h + + + + + + mcc_generated_files/interrupt_manager.c + mcc_generated_files/clock.c + mcc_generated_files/pin_manager.c + mcc_generated_files/mssp2_i2c.c + mcc_generated_files/system.c + mcc_generated_files/traps.c + mcc_generated_files/mcc.c + mcc_generated_files/mssp1_spi.c + + main.c + SPI.c + + + Makefile + resbox.mc3 + + + Makefile + + + + localhost + PIC24FV16KM202 + + + pk4hybrid + XC16 + 2.10 + 2 + + + + + + + + + + + + + + + false + false + + + + + + + false + false + + false + + false + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/nbproject/private/SuppressibleMessageMemo.properties b/nbproject/private/SuppressibleMessageMemo.properties new file mode 100644 index 0000000..3704710 --- /dev/null +++ b/nbproject/private/SuppressibleMessageMemo.properties @@ -0,0 +1,3 @@ +# +#Wed Jan 31 16:17:43 CST 2024 +PICkit\ 4/CHECK_4_HIGH_VOLTAGE_VPP=true diff --git a/nbproject/private/configurations.xml b/nbproject/private/configurations.xml new file mode 100644 index 0000000..512c97f --- /dev/null +++ b/nbproject/private/configurations.xml @@ -0,0 +1,25 @@ + + + Makefile + 0 + + + :=MPLABComm-USB-Microchip:=<vid>04D8:=<pid>9012:=<rev>0100:=<man>Microchip Technology Incorporated:=<prod>MPLAB PICkit 4:=<sn>BUR222271433:=<drv>x:=<xpt>b:=end + /opt/microchip/xc16/v2.10/bin + + place holder 1 + place holder 2 + + + + + true + 0 + 0 + 0 + + + + + + diff --git a/nbproject/private/private.xml b/nbproject/private/private.xml new file mode 100644 index 0000000..2130e4f --- /dev/null +++ b/nbproject/private/private.xml @@ -0,0 +1,22 @@ + + + + + + file:/home/josh/MPLABXProjects/resbox.X/main.c + file:/home/josh/MPLABXProjects/resbox.X/mcc_generated_files/mssp2_i2c.h + file:/home/josh/MPLABXProjects/resbox.X/mcc_generated_files/mssp1_spi.c + file:/home/josh/MPLABXProjects/resbox.X/mcc_generated_files/clock.h + file:/home/josh/MPLABXProjects/resbox.X/mcc_generated_files/clock.c + file:/home/josh/MPLABXProjects/resbox.X/mcc_generated_files/pin_manager.c + file:/home/josh/MPLABXProjects/resbox.X/mcc_generated_files/mssp1_spi.h + file:/home/josh/MPLABXProjects/resbox.X/mcc_generated_files/system.c + file:/home/josh/MPLABXProjects/resbox.X/SPI.h + file:/home/josh/MPLABXProjects/resbox.X/SPI.c + file:/home/josh/MPLABXProjects/resbox.X/mcc_generated_files/system.h + file:/home/josh/MPLABXProjects/resbox.X/mcc_generated_files/mcc.c + file:/home/josh/MPLABXProjects/resbox.X/mcc_generated_files/mssp2_i2c.c + file:/home/josh/MPLABXProjects/resbox.X/mcc_generated_files/pin_manager.h + + + diff --git a/nbproject/project.xml b/nbproject/project.xml new file mode 100644 index 0000000..0f73416 --- /dev/null +++ b/nbproject/project.xml @@ -0,0 +1,23 @@ + + + com.microchip.mplab.nbide.embedded.makeproject + + + resbox + 091bc46f-0217-4f17-924f-13ac74b2af60 + 0 + ISO-8859-1 + + + + + default + 2 + + + + false + + + + -- cgit v1.2.3