From 2611212d80a1a65c47e09822e75f2506283c949a Mon Sep 17 00:00:00 2001 From: Andrea Date: Sat, 27 Mar 2021 12:12:39 -0500 Subject: Added intial PIC24 Firmware --- EE3102Testing.X/nbproject/Makefile-default.mk | 203 ++++++++++++++++++ .../nbproject/Makefile-genesis.properties | 10 + EE3102Testing.X/nbproject/Makefile-impl.mk | 69 +++++++ .../nbproject/Makefile-local-default.mk | 38 ++++ EE3102Testing.X/nbproject/Makefile-variables.mk | 13 ++ EE3102Testing.X/nbproject/Package-default.bash | 73 +++++++ EE3102Testing.X/nbproject/configurations.xml | 229 +++++++++++++++++++++ .../nbproject/private/configurations.xml | 25 +++ EE3102Testing.X/nbproject/private/private.xml | 13 ++ EE3102Testing.X/nbproject/project.xml | 29 +++ 10 files changed, 702 insertions(+) create mode 100644 EE3102Testing.X/nbproject/Makefile-default.mk create mode 100644 EE3102Testing.X/nbproject/Makefile-genesis.properties create mode 100644 EE3102Testing.X/nbproject/Makefile-impl.mk create mode 100644 EE3102Testing.X/nbproject/Makefile-local-default.mk create mode 100644 EE3102Testing.X/nbproject/Makefile-variables.mk create mode 100644 EE3102Testing.X/nbproject/Package-default.bash create mode 100644 EE3102Testing.X/nbproject/configurations.xml create mode 100644 EE3102Testing.X/nbproject/private/configurations.xml create mode 100644 EE3102Testing.X/nbproject/private/private.xml create mode 100644 EE3102Testing.X/nbproject/project.xml (limited to 'EE3102Testing.X/nbproject') diff --git a/EE3102Testing.X/nbproject/Makefile-default.mk b/EE3102Testing.X/nbproject/Makefile-default.mk new file mode 100644 index 0000000..75006f0 --- /dev/null +++ b/EE3102Testing.X/nbproject/Makefile-default.mk @@ -0,0 +1,203 @@ +# +# 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}/EE3102Testing.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} +else +IMAGE_TYPE=production +OUTPUT_SUFFIX=hex +DEBUGGABLE_SUFFIX=elf +FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/EE3102Testing.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} +endif + +ifeq ($(COMPARE_BUILD), true) +COMPARISON_BUILD=-mafrlcsj +else +COMPARISON_BUILD= +endif + +ifdef SUB_IMAGE_ADDRESS +SUB_IMAGE_ADDRESS_COMMAND=--image-address $(SUB_IMAGE_ADDRESS) +else +SUB_IMAGE_ADDRESS_COMMAND= +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=spies046_lab6_asm_v001.s spies046_lab6_buffer_v001.c spies046_lab6_lcdLib_v001.c spies046_lab6_main_v001.c + +# Object Files Quoted if spaced +OBJECTFILES_QUOTED_IF_SPACED=${OBJECTDIR}/spies046_lab6_asm_v001.o ${OBJECTDIR}/spies046_lab6_buffer_v001.o ${OBJECTDIR}/spies046_lab6_lcdLib_v001.o ${OBJECTDIR}/spies046_lab6_main_v001.o +POSSIBLE_DEPFILES=${OBJECTDIR}/spies046_lab6_asm_v001.o.d ${OBJECTDIR}/spies046_lab6_buffer_v001.o.d ${OBJECTDIR}/spies046_lab6_lcdLib_v001.o.d ${OBJECTDIR}/spies046_lab6_main_v001.o.d + +# Object Files +OBJECTFILES=${OBJECTDIR}/spies046_lab6_asm_v001.o ${OBJECTDIR}/spies046_lab6_buffer_v001.o ${OBJECTDIR}/spies046_lab6_lcdLib_v001.o ${OBJECTDIR}/spies046_lab6_main_v001.o + +# Source Files +SOURCEFILES=spies046_lab6_asm_v001.s spies046_lab6_buffer_v001.c spies046_lab6_lcdLib_v001.c spies046_lab6_main_v001.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 dist/${CND_CONF}/${IMAGE_TYPE}/EE3102Testing.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} + +MP_PROCESSOR_OPTION=24FJ64GA002 +MP_LINKER_FILE_OPTION=,--script=p24FJ64GA002.gld +# ------------------------------------------------------------------------------------ +# Rules for buildStep: compile +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +${OBJECTDIR}/spies046_lab6_buffer_v001.o: spies046_lab6_buffer_v001.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}" + @${RM} ${OBJECTDIR}/spies046_lab6_buffer_v001.o.d + @${RM} ${OBJECTDIR}/spies046_lab6_buffer_v001.o + ${MP_CC} $(MP_EXTRA_CC_PRE) spies046_lab6_buffer_v001.c -o ${OBJECTDIR}/spies046_lab6_buffer_v001.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/spies046_lab6_buffer_v001.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp=${DFP_DIR}/xc16 + @${FIXDEPS} "${OBJECTDIR}/spies046_lab6_buffer_v001.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/spies046_lab6_lcdLib_v001.o: spies046_lab6_lcdLib_v001.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}" + @${RM} ${OBJECTDIR}/spies046_lab6_lcdLib_v001.o.d + @${RM} ${OBJECTDIR}/spies046_lab6_lcdLib_v001.o + ${MP_CC} $(MP_EXTRA_CC_PRE) spies046_lab6_lcdLib_v001.c -o ${OBJECTDIR}/spies046_lab6_lcdLib_v001.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/spies046_lab6_lcdLib_v001.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp=${DFP_DIR}/xc16 + @${FIXDEPS} "${OBJECTDIR}/spies046_lab6_lcdLib_v001.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/spies046_lab6_main_v001.o: spies046_lab6_main_v001.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}" + @${RM} ${OBJECTDIR}/spies046_lab6_main_v001.o.d + @${RM} ${OBJECTDIR}/spies046_lab6_main_v001.o + ${MP_CC} $(MP_EXTRA_CC_PRE) spies046_lab6_main_v001.c -o ${OBJECTDIR}/spies046_lab6_main_v001.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/spies046_lab6_main_v001.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp=${DFP_DIR}/xc16 + @${FIXDEPS} "${OBJECTDIR}/spies046_lab6_main_v001.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +else +${OBJECTDIR}/spies046_lab6_buffer_v001.o: spies046_lab6_buffer_v001.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}" + @${RM} ${OBJECTDIR}/spies046_lab6_buffer_v001.o.d + @${RM} ${OBJECTDIR}/spies046_lab6_buffer_v001.o + ${MP_CC} $(MP_EXTRA_CC_PRE) spies046_lab6_buffer_v001.c -o ${OBJECTDIR}/spies046_lab6_buffer_v001.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/spies046_lab6_buffer_v001.o.d" -g -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp=${DFP_DIR}/xc16 + @${FIXDEPS} "${OBJECTDIR}/spies046_lab6_buffer_v001.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/spies046_lab6_lcdLib_v001.o: spies046_lab6_lcdLib_v001.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}" + @${RM} ${OBJECTDIR}/spies046_lab6_lcdLib_v001.o.d + @${RM} ${OBJECTDIR}/spies046_lab6_lcdLib_v001.o + ${MP_CC} $(MP_EXTRA_CC_PRE) spies046_lab6_lcdLib_v001.c -o ${OBJECTDIR}/spies046_lab6_lcdLib_v001.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/spies046_lab6_lcdLib_v001.o.d" -g -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp=${DFP_DIR}/xc16 + @${FIXDEPS} "${OBJECTDIR}/spies046_lab6_lcdLib_v001.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/spies046_lab6_main_v001.o: spies046_lab6_main_v001.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}" + @${RM} ${OBJECTDIR}/spies046_lab6_main_v001.o.d + @${RM} ${OBJECTDIR}/spies046_lab6_main_v001.o + ${MP_CC} $(MP_EXTRA_CC_PRE) spies046_lab6_main_v001.c -o ${OBJECTDIR}/spies046_lab6_main_v001.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/spies046_lab6_main_v001.o.d" -g -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off -mdfp=${DFP_DIR}/xc16 + @${FIXDEPS} "${OBJECTDIR}/spies046_lab6_main_v001.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +endif + +# ------------------------------------------------------------------------------------ +# Rules for buildStep: assemble +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +${OBJECTDIR}/spies046_lab6_asm_v001.o: spies046_lab6_asm_v001.s nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}" + @${RM} ${OBJECTDIR}/spies046_lab6_asm_v001.o.d + @${RM} ${OBJECTDIR}/spies046_lab6_asm_v001.o + ${MP_CC} $(MP_EXTRA_AS_PRE) spies046_lab6_asm_v001.s -o ${OBJECTDIR}/spies046_lab6_asm_v001.o -c -mcpu=$(MP_PROCESSOR_OPTION) -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc -Wa,-MD,"${OBJECTDIR}/spies046_lab6_asm_v001.o.d",--defsym=__MPLAB_BUILD=1,--defsym=__ICD2RAM=1,--defsym=__MPLAB_DEBUG=1,--defsym=__DEBUG=1,--defsym=__MPLAB_DEBUGGER_PK3=1,-g,--no-relax$(MP_EXTRA_AS_POST) -mdfp=${DFP_DIR}/xc16 + @${FIXDEPS} "${OBJECTDIR}/spies046_lab6_asm_v001.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +else +${OBJECTDIR}/spies046_lab6_asm_v001.o: spies046_lab6_asm_v001.s nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}" + @${RM} ${OBJECTDIR}/spies046_lab6_asm_v001.o.d + @${RM} ${OBJECTDIR}/spies046_lab6_asm_v001.o + ${MP_CC} $(MP_EXTRA_AS_PRE) spies046_lab6_asm_v001.s -o ${OBJECTDIR}/spies046_lab6_asm_v001.o -c -mcpu=$(MP_PROCESSOR_OPTION) -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc -Wa,-MD,"${OBJECTDIR}/spies046_lab6_asm_v001.o.d",--defsym=__MPLAB_BUILD=1,-g,--no-relax$(MP_EXTRA_AS_POST) -mdfp=${DFP_DIR}/xc16 + @${FIXDEPS} "${OBJECTDIR}/spies046_lab6_asm_v001.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +endif + +# ------------------------------------------------------------------------------------ +# Rules for buildStep: assemblePreproc +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +else +endif + +# ------------------------------------------------------------------------------------ +# Rules for buildStep: link +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +dist/${CND_CONF}/${IMAGE_TYPE}/EE3102Testing.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE} + ${MP_CC} $(MP_EXTRA_LD_PRE) -o dist/${CND_CONF}/${IMAGE_TYPE}/EE3102Testing.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -mcpu=$(MP_PROCESSOR_OPTION) -D__DEBUG=__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(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,--defsym=__MPLAB_DEBUGGER_PK3=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,dist/${CND_CONF}/${IMAGE_TYPE}/memoryfile.xml$(MP_EXTRA_LD_POST) -mdfp=${DFP_DIR}/xc16 + +else +dist/${CND_CONF}/${IMAGE_TYPE}/EE3102Testing.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE} + ${MP_CC} $(MP_EXTRA_LD_PRE) -o dist/${CND_CONF}/${IMAGE_TYPE}/EE3102Testing.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -mcpu=$(MP_PROCESSOR_OPTION) -omf=elf -DXPRJ_default=$(CND_CONF) -legacy-libc $(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,dist/${CND_CONF}/${IMAGE_TYPE}/memoryfile.xml$(MP_EXTRA_LD_POST) -mdfp=${DFP_DIR}/xc16 + ${MP_CC_DIR}\\xc16-bin2hex dist/${CND_CONF}/${IMAGE_TYPE}/EE3102Testing.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 build/default + ${RM} -r dist/default + +# Enable dependency checking +.dep.inc: .depcheck-impl + +DEPFILES=$(shell mplabwildcard ${POSSIBLE_DEPFILES}) +ifneq (${DEPFILES},) +include ${DEPFILES} +endif diff --git a/EE3102Testing.X/nbproject/Makefile-genesis.properties b/EE3102Testing.X/nbproject/Makefile-genesis.properties new file mode 100644 index 0000000..0219967 --- /dev/null +++ b/EE3102Testing.X/nbproject/Makefile-genesis.properties @@ -0,0 +1,10 @@ +# +#Thu Mar 25 23:27:59 CDT 2021 +default.Pack.dfplocation=C\:\\Program Files (x86)\\Microchip\\MPLABX\\v5.30\\packs\\Microchip\\PIC24F-GA-GB_DFP\\1.1.74 +default.com-microchip-mplab-nbide-toolchainXC16-XC16LanguageToolchain.md5=3de759bc6af06f5ee7453ec146192402 +default.languagetoolchain.dir=C\:\\Program Files (x86)\\Microchip\\xc16\\v1.41\\bin +configurations-xml=7dc7f8b68116d1403182a9d96cce1e9d +com-microchip-mplab-nbide-embedded-makeproject-MakeProject.md5=7cd2eead2ea6964989cbf02efe721a76 +default.languagetoolchain.version=1.41 +host.platform=windows +conf.ids=default diff --git a/EE3102Testing.X/nbproject/Makefile-impl.mk b/EE3102Testing.X/nbproject/Makefile-impl.mk new file mode 100644 index 0000000..b3c14e3 --- /dev/null +++ b/EE3102Testing.X/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=EE3102Testing.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/EE3102Testing.X/nbproject/Makefile-local-default.mk b/EE3102Testing.X/nbproject/Makefile-local-default.mk new file mode 100644 index 0000000..214e7fa --- /dev/null +++ b/EE3102Testing.X/nbproject/Makefile-local-default.mk @@ -0,0 +1,38 @@ +# +# 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/v5.30/mplab_platform/platform/../mplab_ide/modules/../../bin/ +# Adding MPLAB X bin directory to path. +PATH:=C:/Program Files (x86)/Microchip/MPLABX/v5.30/mplab_platform/platform/../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\v5.30\sys\java\jre1.8.0_181/bin/" +OS_CURRENT="$(shell uname -s)" +MP_CC="C:\Program Files (x86)\Microchip\xc16\v1.41\bin\xc16-gcc.exe" +# MP_CPPC is not defined +# MP_BC is not defined +MP_AS="C:\Program Files (x86)\Microchip\xc16\v1.41\bin\xc16-as.exe" +MP_LD="C:\Program Files (x86)\Microchip\xc16\v1.41\bin\xc16-ld.exe" +MP_AR="C:\Program Files (x86)\Microchip\xc16\v1.41\bin\xc16-ar.exe" +DEP_GEN=${MP_JAVA_PATH}java -jar "C:/Program Files (x86)/Microchip/MPLABX/v5.30/mplab_platform/platform/../mplab_ide/modules/../../bin/extractobjectdependencies.jar" +MP_CC_DIR="C:\Program Files (x86)\Microchip\xc16\v1.41\bin" +# MP_CPPC_DIR is not defined +# MP_BC_DIR is not defined +MP_AS_DIR="C:\Program Files (x86)\Microchip\xc16\v1.41\bin" +MP_LD_DIR="C:\Program Files (x86)\Microchip\xc16\v1.41\bin" +MP_AR_DIR="C:\Program Files (x86)\Microchip\xc16\v1.41\bin" +# MP_BC_DIR is not defined +DFP_DIR="C:/Program Files (x86)/Microchip/MPLABX/v5.30/packs/Microchip/PIC24F-GA-GB_DFP/1.1.74" diff --git a/EE3102Testing.X/nbproject/Makefile-variables.mk b/EE3102Testing.X/nbproject/Makefile-variables.mk new file mode 100644 index 0000000..e4ed122 --- /dev/null +++ b/EE3102Testing.X/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=EE3102Testing.X.production.hex +CND_ARTIFACT_PATH_default=dist/default/production/EE3102Testing.X.production.hex +CND_PACKAGE_DIR_default=${CND_DISTDIR}/default/package +CND_PACKAGE_NAME_default=ee3102testing.x.tar +CND_PACKAGE_PATH_default=${CND_DISTDIR}/default/package/ee3102testing.x.tar diff --git a/EE3102Testing.X/nbproject/Package-default.bash b/EE3102Testing.X/nbproject/Package-default.bash new file mode 100644 index 0000000..d59127d --- /dev/null +++ b/EE3102Testing.X/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}/EE3102Testing.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} +OUTPUT_BASENAME=EE3102Testing.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} +PACKAGE_TOP_DIR=ee3102testing.x/ + +# 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}/ee3102testing.x/bin +copyFileToTmpDir "${OUTPUT_PATH}" "${TMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755 + + +# Generate tar file +cd "${TOP}" +rm -f ${CND_DISTDIR}/${CND_CONF}/package/ee3102testing.x.tar +cd ${TMPDIR} +tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/package/ee3102testing.x.tar * +checkReturnCode + +# Cleanup +cd "${TOP}" +rm -rf ${TMPDIR} diff --git a/EE3102Testing.X/nbproject/configurations.xml b/EE3102Testing.X/nbproject/configurations.xml new file mode 100644 index 0000000..7328534 --- /dev/null +++ b/EE3102Testing.X/nbproject/configurations.xml @@ -0,0 +1,229 @@ + + + + + spies046_lab6_asm_v001.h + spies046_lab6_buffer_v001.h + spies046_lab6_lcdLib_v001.h + + + + + spies046_lab6_asm_v001.s + spies046_lab6_buffer_v001.c + spies046_lab6_lcdLib_v001.c + spies046_lab6_main_v001.c + + + Makefile + + + + . + + Makefile + + + + localhost + PIC24FJ64GA002 + + + PK3OBPlatformTool + XC16 + 1.41 + 3 + + + + + + + + + + + + + false + false + + + + + + + false + + false + + false + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/EE3102Testing.X/nbproject/private/configurations.xml b/EE3102Testing.X/nbproject/private/configurations.xml new file mode 100644 index 0000000..3027230 --- /dev/null +++ b/EE3102Testing.X/nbproject/private/configurations.xml @@ -0,0 +1,25 @@ + + + Makefile + 0 + + + :=MPLABComm-USB-Microchip:=<vid>04D8:=<pid>8108:=<rev>0002:=<man>Digilent:=<prod>chipKitProgrammer:=<sn>DA63B49:=<drv>x:=<xpt>h:=end + C:\Program Files (x86)\Microchip\xc16\v1.41\bin + + place holder 1 + place holder 2 + + + + + true + 0 + 0 + 0 + + + + + + diff --git a/EE3102Testing.X/nbproject/private/private.xml b/EE3102Testing.X/nbproject/private/private.xml new file mode 100644 index 0000000..c25dc22 --- /dev/null +++ b/EE3102Testing.X/nbproject/private/private.xml @@ -0,0 +1,13 @@ + + + + + + file:/C:/Users/micha/MPLABXProjects/EE3102Testing.X/spies046_lab6_asm_v001.s + file:/C:/Users/micha/MPLABXProjects/EE3102Testing.X/spies046_lab6_buffer_v001.c + file:/C:/Users/micha/MPLABXProjects/EE3102Testing.X/spies046_lab6_lcdLib_v001.h + file:/C:/Users/micha/MPLABXProjects/EE3102Testing.X/spies046_lab6_lcdLib_v001.c + file:/C:/Users/micha/MPLABXProjects/EE3102Testing.X/spies046_lab6_main_v001.c + + + diff --git a/EE3102Testing.X/nbproject/project.xml b/EE3102Testing.X/nbproject/project.xml new file mode 100644 index 0000000..526148c --- /dev/null +++ b/EE3102Testing.X/nbproject/project.xml @@ -0,0 +1,29 @@ + + + com.microchip.mplab.nbide.embedded.makeproject + + + EE3102Testing + e761e4c4-63b8-47f9-9845-152cc8625c2c + 0 + c + + h + + ISO-8859-1 + + + . + + + + default + 2 + + + + false + + + + -- cgit v1.2.3