From 4356f6956d7425db5ffa3ae6066c6f889b9f4c61 Mon Sep 17 00:00:00 2001 From: giuliof Date: Sun, 10 Jun 2018 14:12:36 +0200 Subject: [PATCH 1/2] Support for BPv4 in MPLABX and in SUMP --- .gitignore | 2 +- Firmware/SUMP.c | 75 ++- .../nbproject/Makefile-BusPiratev4.mk | 636 ++++++++++++++++++ .../nbproject/Makefile-genesis.properties | 12 + .../busPirate.X/nbproject/Makefile-impl.mk | 71 ++ .../nbproject/Makefile-local-BusPiratev4.mk | 36 + .../nbproject/Makefile-variables.mk | 20 + .../nbproject/Package-BusPiratev4.bash | 73 ++ .../busPirate.X/nbproject/configurations.xml | 268 +++++++- .../nbproject/private/configurations.xml | 24 +- Firmware/main.c | 2 +- 11 files changed, 1202 insertions(+), 17 deletions(-) create mode 100644 Firmware/busPirate.X/nbproject/Makefile-BusPiratev4.mk create mode 100644 Firmware/busPirate.X/nbproject/Makefile-genesis.properties create mode 100644 Firmware/busPirate.X/nbproject/Makefile-impl.mk create mode 100644 Firmware/busPirate.X/nbproject/Makefile-local-BusPiratev4.mk create mode 100644 Firmware/busPirate.X/nbproject/Makefile-variables.mk create mode 100644 Firmware/busPirate.X/nbproject/Package-BusPiratev4.bash diff --git a/.gitignore b/.gitignore index fb1d4146..506c327d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -/Firmware/busPirate.X/build/default/ +/Firmware/busPirate.X/build/ /Firmware/busPirate.X/dist/ diff --git a/Firmware/SUMP.c b/Firmware/SUMP.c index fa6abc7f..bdce15c8 100644 --- a/Firmware/SUMP.c +++ b/Firmware/SUMP.c @@ -52,8 +52,14 @@ void SUMPreset(void){ BP_LEDMODE=0;//LED CNPU1=0; //pullups off CNPU2=0; - CNEN1=0; //all change notice off - CNEN2=0; + //all change notice off +#ifdef BUSPIRATEV4 + CNEN1 = 0; + CNEN4 = 0; +#elif defined(BUSPIRATEV3) + CNEN1=0; + CNEN2 = 0; +#endif T4CON=0; //stop count IPC4bits.CNIP=0; @@ -160,11 +166,45 @@ unsigned char SUMPlogicCommand(unsigned char inByte){ switch(sumpRX.command[0]){ case SUMP_TRIG: //set CN on these pins - if(sumpRX.command[1] & 0b10000) CNEN2|=0b1; //AUX +#ifdef BUSPIRATEV4 + /* Set a trigger on the AUX0 pin. */ + if (sumpRX.command[1] & 0b00100000) + // CN14 + CNEN1 |= 1 << 14; + + /* Set a trigger on the CS pin. */ + if (sumpRX.command[1] & 0b00010000) + // CN13 + CNEN1 |= 1 << 13; + + /* Set a trigger on the MISO pin. */ + if (sumpRX.command[1] & 0b00001000) + // CN52 + CNEN4 |= 1 << 4; + + /* Set a trigger on the CLOCK pin. */ + if (sumpRX.command[1] & 0b00000100) + // CN51 + CNEN4 |= 1 << 3; + + /* Set a trigger on the MOSI pin. */ + if (sumpRX.command[1] & 0b00000010) + // CN50 + CNEN4 |= 1 << 2; + + /* Set a trigger on the AUX2 pin. */ + if (sumpRX.command[1] & 0b00000001) + // CN49 + CNEN4 |= 1 << 1; +#elif defined(BUSPIRATEV3) + if(sumpRX.command[1] & 0b10000) CNEN2|=0b1; //AUX if(sumpRX.command[1] & 0b1000) CNEN2|=0b100000; if(sumpRX.command[1] & 0b100) CNEN2|=0b1000000; if(sumpRX.command[1] & 0b10) CNEN2|=0b10000000; if(sumpRX.command[1] & 0b1) CNEN2|=0b100000000; +#endif + break; + /* case SUMP_FLAGS: sumpPadBytes=0;//if user forgot to uncheck chan groups 2,3,4, we can send padding bytes @@ -223,22 +263,39 @@ unsigned char SUMPlogicService(void){ switch(LAstate){//dump data case LA_ARMED: //check interrupt flags - if(IFS1bits.CNIF==0){//no flags - if(CNEN2) //if no trigger just continue - break; - } + /* Skip if no interrupt and no trigger set. */ +#ifdef BUSPIRATEV4 + if (!IFS1bits.CNIF && (CNEN1 || CNEN4)) { + break; + } +#elif defined(BUSPIRATEV3) + if (!IFS1bits.CNIF && CNEN2) { + break; + } +#endif //else sample T4CONbits.TON=1;//start timer4 IFS1bits.T5IF=0;//clear interrupt flag//setup timer and wait for(i=0;i>6); //change to pointer for faster use... +#ifdef BUSPIRATEV4 + bpConfig.terminalInput[i]=IOPOR; //change to pointer for faster use... +#elif defined(BUSPIRATEV3) + bpConfig.terminalInput[i]=(IOPOR>>6); //change to pointer for faster use... +#endif while(IFS1bits.T5IF==0); //wait for timer4 (timer 5 interrupt) IFS1bits.T5IF=0;//clear interrupt flag } - CNEN2=0;//change notice off +#ifdef BUSPIRATEV4 + /* Disable change notification for 0 to 15 and 48 to 63. */ + CNEN1 = 0; + CNEN4 = 0; +#elif defined(BUSPIRATEV3) + /* Disable change notification for pins 16 to 31. */ + CNEN2 = 0; +#endif T4CON=0; //stop count for(i=sumpSamples; i>0; i--){ //send back to SUMP, backwards diff --git a/Firmware/busPirate.X/nbproject/Makefile-BusPiratev4.mk b/Firmware/busPirate.X/nbproject/Makefile-BusPiratev4.mk new file mode 100644 index 00000000..5292636e --- /dev/null +++ b/Firmware/busPirate.X/nbproject/Makefile-BusPiratev4.mk @@ -0,0 +1,636 @@ +# +# 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-BusPiratev4.mk)" "nbproject/Makefile-local-BusPiratev4.mk" +include nbproject/Makefile-local-BusPiratev4.mk +endif +endif + +# Environment +MKDIR=mkdir -p +RM=rm -f +MV=mv +CP=cp + +# Macros +CND_CONF=BusPiratev4 +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +IMAGE_TYPE=debug +OUTPUT_SUFFIX=elf +DEBUGGABLE_SUFFIX=elf +FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/busPirate.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} +else +IMAGE_TYPE=production +OUTPUT_SUFFIX=hex +DEBUGGABLE_SUFFIX=elf +FINAL_IMAGE=dist/${CND_CONF}/${IMAGE_TYPE}/busPirate.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=../translations/BPv4_en_US.s ../1wire.c ../AUXpin.c ../HD44780.c ../I2C.c ../SPI.c ../SUMP.c ../UART.c ../base.c ../baseIO.c ../baseUI.c ../basic.c ../binIO.c ../binIOhelpers.c ../binwire.c ../bitbang.c ../busPirateCore.c ../dp_usb/cdc.c ../dio.c ../jtag.c ../jtag/lenval.c ../jtag/micro.c ../jtag/ports.c ../1wire_lib.c ../main.c ../onboardEEPROM.c ../pc_at_keyboard.c ../pic.c ../procMenu.c ../raw2wire.c ../raw3wire.c ../selftest.c ../smps.c ../uart2io.c ../dp_usb/usb_stack.c + +# Object Files Quoted if spaced +OBJECTFILES_QUOTED_IF_SPACED=${OBJECTDIR}/_ext/1011476433/BPv4_en_US.o ${OBJECTDIR}/_ext/1472/1wire.o ${OBJECTDIR}/_ext/1472/AUXpin.o ${OBJECTDIR}/_ext/1472/HD44780.o ${OBJECTDIR}/_ext/1472/I2C.o ${OBJECTDIR}/_ext/1472/SPI.o ${OBJECTDIR}/_ext/1472/SUMP.o ${OBJECTDIR}/_ext/1472/UART.o ${OBJECTDIR}/_ext/1472/base.o ${OBJECTDIR}/_ext/1472/baseIO.o ${OBJECTDIR}/_ext/1472/baseUI.o ${OBJECTDIR}/_ext/1472/basic.o ${OBJECTDIR}/_ext/1472/binIO.o ${OBJECTDIR}/_ext/1472/binIOhelpers.o ${OBJECTDIR}/_ext/1472/binwire.o ${OBJECTDIR}/_ext/1472/bitbang.o ${OBJECTDIR}/_ext/1472/busPirateCore.o ${OBJECTDIR}/_ext/1241334144/cdc.o ${OBJECTDIR}/_ext/1472/dio.o ${OBJECTDIR}/_ext/1472/jtag.o ${OBJECTDIR}/_ext/760884769/lenval.o ${OBJECTDIR}/_ext/760884769/micro.o ${OBJECTDIR}/_ext/760884769/ports.o ${OBJECTDIR}/_ext/1472/1wire_lib.o ${OBJECTDIR}/_ext/1472/main.o ${OBJECTDIR}/_ext/1472/onboardEEPROM.o ${OBJECTDIR}/_ext/1472/pc_at_keyboard.o ${OBJECTDIR}/_ext/1472/pic.o ${OBJECTDIR}/_ext/1472/procMenu.o ${OBJECTDIR}/_ext/1472/raw2wire.o ${OBJECTDIR}/_ext/1472/raw3wire.o ${OBJECTDIR}/_ext/1472/selftest.o ${OBJECTDIR}/_ext/1472/smps.o ${OBJECTDIR}/_ext/1472/uart2io.o ${OBJECTDIR}/_ext/1241334144/usb_stack.o +POSSIBLE_DEPFILES=${OBJECTDIR}/_ext/1011476433/BPv4_en_US.o.d ${OBJECTDIR}/_ext/1472/1wire.o.d ${OBJECTDIR}/_ext/1472/AUXpin.o.d ${OBJECTDIR}/_ext/1472/HD44780.o.d ${OBJECTDIR}/_ext/1472/I2C.o.d ${OBJECTDIR}/_ext/1472/SPI.o.d ${OBJECTDIR}/_ext/1472/SUMP.o.d ${OBJECTDIR}/_ext/1472/UART.o.d ${OBJECTDIR}/_ext/1472/base.o.d ${OBJECTDIR}/_ext/1472/baseIO.o.d ${OBJECTDIR}/_ext/1472/baseUI.o.d ${OBJECTDIR}/_ext/1472/basic.o.d ${OBJECTDIR}/_ext/1472/binIO.o.d ${OBJECTDIR}/_ext/1472/binIOhelpers.o.d ${OBJECTDIR}/_ext/1472/binwire.o.d ${OBJECTDIR}/_ext/1472/bitbang.o.d ${OBJECTDIR}/_ext/1472/busPirateCore.o.d ${OBJECTDIR}/_ext/1241334144/cdc.o.d ${OBJECTDIR}/_ext/1472/dio.o.d ${OBJECTDIR}/_ext/1472/jtag.o.d ${OBJECTDIR}/_ext/760884769/lenval.o.d ${OBJECTDIR}/_ext/760884769/micro.o.d ${OBJECTDIR}/_ext/760884769/ports.o.d ${OBJECTDIR}/_ext/1472/1wire_lib.o.d ${OBJECTDIR}/_ext/1472/main.o.d ${OBJECTDIR}/_ext/1472/onboardEEPROM.o.d ${OBJECTDIR}/_ext/1472/pc_at_keyboard.o.d ${OBJECTDIR}/_ext/1472/pic.o.d ${OBJECTDIR}/_ext/1472/procMenu.o.d ${OBJECTDIR}/_ext/1472/raw2wire.o.d ${OBJECTDIR}/_ext/1472/raw3wire.o.d ${OBJECTDIR}/_ext/1472/selftest.o.d ${OBJECTDIR}/_ext/1472/smps.o.d ${OBJECTDIR}/_ext/1472/uart2io.o.d ${OBJECTDIR}/_ext/1241334144/usb_stack.o.d + +# Object Files +OBJECTFILES=${OBJECTDIR}/_ext/1011476433/BPv4_en_US.o ${OBJECTDIR}/_ext/1472/1wire.o ${OBJECTDIR}/_ext/1472/AUXpin.o ${OBJECTDIR}/_ext/1472/HD44780.o ${OBJECTDIR}/_ext/1472/I2C.o ${OBJECTDIR}/_ext/1472/SPI.o ${OBJECTDIR}/_ext/1472/SUMP.o ${OBJECTDIR}/_ext/1472/UART.o ${OBJECTDIR}/_ext/1472/base.o ${OBJECTDIR}/_ext/1472/baseIO.o ${OBJECTDIR}/_ext/1472/baseUI.o ${OBJECTDIR}/_ext/1472/basic.o ${OBJECTDIR}/_ext/1472/binIO.o ${OBJECTDIR}/_ext/1472/binIOhelpers.o ${OBJECTDIR}/_ext/1472/binwire.o ${OBJECTDIR}/_ext/1472/bitbang.o ${OBJECTDIR}/_ext/1472/busPirateCore.o ${OBJECTDIR}/_ext/1241334144/cdc.o ${OBJECTDIR}/_ext/1472/dio.o ${OBJECTDIR}/_ext/1472/jtag.o ${OBJECTDIR}/_ext/760884769/lenval.o ${OBJECTDIR}/_ext/760884769/micro.o ${OBJECTDIR}/_ext/760884769/ports.o ${OBJECTDIR}/_ext/1472/1wire_lib.o ${OBJECTDIR}/_ext/1472/main.o ${OBJECTDIR}/_ext/1472/onboardEEPROM.o ${OBJECTDIR}/_ext/1472/pc_at_keyboard.o ${OBJECTDIR}/_ext/1472/pic.o ${OBJECTDIR}/_ext/1472/procMenu.o ${OBJECTDIR}/_ext/1472/raw2wire.o ${OBJECTDIR}/_ext/1472/raw3wire.o ${OBJECTDIR}/_ext/1472/selftest.o ${OBJECTDIR}/_ext/1472/smps.o ${OBJECTDIR}/_ext/1472/uart2io.o ${OBJECTDIR}/_ext/1241334144/usb_stack.o + +# Source Files +SOURCEFILES=../translations/BPv4_en_US.s ../1wire.c ../AUXpin.c ../HD44780.c ../I2C.c ../SPI.c ../SUMP.c ../UART.c ../base.c ../baseIO.c ../baseUI.c ../basic.c ../binIO.c ../binIOhelpers.c ../binwire.c ../bitbang.c ../busPirateCore.c ../dp_usb/cdc.c ../dio.c ../jtag.c ../jtag/lenval.c ../jtag/micro.c ../jtag/ports.c ../1wire_lib.c ../main.c ../onboardEEPROM.c ../pc_at_keyboard.c ../pic.c ../procMenu.c ../raw2wire.c ../raw3wire.c ../selftest.c ../smps.c ../uart2io.c ../dp_usb/usb_stack.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-BusPiratev4.mk dist/${CND_CONF}/${IMAGE_TYPE}/busPirate.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} + +MP_PROCESSOR_OPTION=24FJ256GB106 +MP_LINKER_FILE_OPTION=,--script="../p24FJ256GB106.gld" +# ------------------------------------------------------------------------------------ +# Rules for buildStep: compile +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +${OBJECTDIR}/_ext/1472/1wire.o: ../1wire.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/1wire.o.d + @${RM} ${OBJECTDIR}/_ext/1472/1wire.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../1wire.c -o ${OBJECTDIR}/_ext/1472/1wire.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/1wire.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/1wire.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/AUXpin.o: ../AUXpin.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/AUXpin.o.d + @${RM} ${OBJECTDIR}/_ext/1472/AUXpin.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../AUXpin.c -o ${OBJECTDIR}/_ext/1472/AUXpin.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/AUXpin.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/AUXpin.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/HD44780.o: ../HD44780.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/HD44780.o.d + @${RM} ${OBJECTDIR}/_ext/1472/HD44780.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../HD44780.c -o ${OBJECTDIR}/_ext/1472/HD44780.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/HD44780.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/HD44780.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/I2C.o: ../I2C.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/I2C.o.d + @${RM} ${OBJECTDIR}/_ext/1472/I2C.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../I2C.c -o ${OBJECTDIR}/_ext/1472/I2C.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/I2C.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/I2C.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/SPI.o: ../SPI.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/SPI.o.d + @${RM} ${OBJECTDIR}/_ext/1472/SPI.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../SPI.c -o ${OBJECTDIR}/_ext/1472/SPI.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/SPI.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/SPI.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/SUMP.o: ../SUMP.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/SUMP.o.d + @${RM} ${OBJECTDIR}/_ext/1472/SUMP.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../SUMP.c -o ${OBJECTDIR}/_ext/1472/SUMP.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/SUMP.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/SUMP.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/UART.o: ../UART.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/UART.o.d + @${RM} ${OBJECTDIR}/_ext/1472/UART.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../UART.c -o ${OBJECTDIR}/_ext/1472/UART.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/UART.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/UART.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/base.o: ../base.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/base.o.d + @${RM} ${OBJECTDIR}/_ext/1472/base.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../base.c -o ${OBJECTDIR}/_ext/1472/base.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/base.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/base.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/baseIO.o: ../baseIO.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/baseIO.o.d + @${RM} ${OBJECTDIR}/_ext/1472/baseIO.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../baseIO.c -o ${OBJECTDIR}/_ext/1472/baseIO.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/baseIO.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/baseIO.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/baseUI.o: ../baseUI.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/baseUI.o.d + @${RM} ${OBJECTDIR}/_ext/1472/baseUI.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../baseUI.c -o ${OBJECTDIR}/_ext/1472/baseUI.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/baseUI.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/baseUI.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/basic.o: ../basic.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/basic.o.d + @${RM} ${OBJECTDIR}/_ext/1472/basic.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../basic.c -o ${OBJECTDIR}/_ext/1472/basic.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/basic.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/basic.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/binIO.o: ../binIO.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/binIO.o.d + @${RM} ${OBJECTDIR}/_ext/1472/binIO.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../binIO.c -o ${OBJECTDIR}/_ext/1472/binIO.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/binIO.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/binIO.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/binIOhelpers.o: ../binIOhelpers.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/binIOhelpers.o.d + @${RM} ${OBJECTDIR}/_ext/1472/binIOhelpers.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../binIOhelpers.c -o ${OBJECTDIR}/_ext/1472/binIOhelpers.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/binIOhelpers.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/binIOhelpers.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/binwire.o: ../binwire.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/binwire.o.d + @${RM} ${OBJECTDIR}/_ext/1472/binwire.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../binwire.c -o ${OBJECTDIR}/_ext/1472/binwire.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/binwire.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/binwire.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/bitbang.o: ../bitbang.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/bitbang.o.d + @${RM} ${OBJECTDIR}/_ext/1472/bitbang.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../bitbang.c -o ${OBJECTDIR}/_ext/1472/bitbang.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/bitbang.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/bitbang.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/busPirateCore.o: ../busPirateCore.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/busPirateCore.o.d + @${RM} ${OBJECTDIR}/_ext/1472/busPirateCore.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../busPirateCore.c -o ${OBJECTDIR}/_ext/1472/busPirateCore.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/busPirateCore.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/busPirateCore.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1241334144/cdc.o: ../dp_usb/cdc.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1241334144" + @${RM} ${OBJECTDIR}/_ext/1241334144/cdc.o.d + @${RM} ${OBJECTDIR}/_ext/1241334144/cdc.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../dp_usb/cdc.c -o ${OBJECTDIR}/_ext/1241334144/cdc.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1241334144/cdc.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1241334144/cdc.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/dio.o: ../dio.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/dio.o.d + @${RM} ${OBJECTDIR}/_ext/1472/dio.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../dio.c -o ${OBJECTDIR}/_ext/1472/dio.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/dio.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/dio.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/jtag.o: ../jtag.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/jtag.o.d + @${RM} ${OBJECTDIR}/_ext/1472/jtag.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../jtag.c -o ${OBJECTDIR}/_ext/1472/jtag.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/jtag.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/jtag.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/760884769/lenval.o: ../jtag/lenval.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/760884769" + @${RM} ${OBJECTDIR}/_ext/760884769/lenval.o.d + @${RM} ${OBJECTDIR}/_ext/760884769/lenval.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../jtag/lenval.c -o ${OBJECTDIR}/_ext/760884769/lenval.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/760884769/lenval.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/760884769/lenval.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/760884769/micro.o: ../jtag/micro.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/760884769" + @${RM} ${OBJECTDIR}/_ext/760884769/micro.o.d + @${RM} ${OBJECTDIR}/_ext/760884769/micro.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../jtag/micro.c -o ${OBJECTDIR}/_ext/760884769/micro.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/760884769/micro.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/760884769/micro.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/760884769/ports.o: ../jtag/ports.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/760884769" + @${RM} ${OBJECTDIR}/_ext/760884769/ports.o.d + @${RM} ${OBJECTDIR}/_ext/760884769/ports.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../jtag/ports.c -o ${OBJECTDIR}/_ext/760884769/ports.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/760884769/ports.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/760884769/ports.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/1wire_lib.o: ../1wire_lib.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/1wire_lib.o.d + @${RM} ${OBJECTDIR}/_ext/1472/1wire_lib.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../1wire_lib.c -o ${OBJECTDIR}/_ext/1472/1wire_lib.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/1wire_lib.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/1wire_lib.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/main.o: ../main.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/main.o.d + @${RM} ${OBJECTDIR}/_ext/1472/main.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../main.c -o ${OBJECTDIR}/_ext/1472/main.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/main.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/main.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/onboardEEPROM.o: ../onboardEEPROM.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/onboardEEPROM.o.d + @${RM} ${OBJECTDIR}/_ext/1472/onboardEEPROM.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../onboardEEPROM.c -o ${OBJECTDIR}/_ext/1472/onboardEEPROM.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/onboardEEPROM.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/onboardEEPROM.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/pc_at_keyboard.o: ../pc_at_keyboard.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/pc_at_keyboard.o.d + @${RM} ${OBJECTDIR}/_ext/1472/pc_at_keyboard.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../pc_at_keyboard.c -o ${OBJECTDIR}/_ext/1472/pc_at_keyboard.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/pc_at_keyboard.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/pc_at_keyboard.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/pic.o: ../pic.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/pic.o.d + @${RM} ${OBJECTDIR}/_ext/1472/pic.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../pic.c -o ${OBJECTDIR}/_ext/1472/pic.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/pic.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/pic.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/procMenu.o: ../procMenu.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/procMenu.o.d + @${RM} ${OBJECTDIR}/_ext/1472/procMenu.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../procMenu.c -o ${OBJECTDIR}/_ext/1472/procMenu.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/procMenu.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/procMenu.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/raw2wire.o: ../raw2wire.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/raw2wire.o.d + @${RM} ${OBJECTDIR}/_ext/1472/raw2wire.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../raw2wire.c -o ${OBJECTDIR}/_ext/1472/raw2wire.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/raw2wire.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/raw2wire.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/raw3wire.o: ../raw3wire.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/raw3wire.o.d + @${RM} ${OBJECTDIR}/_ext/1472/raw3wire.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../raw3wire.c -o ${OBJECTDIR}/_ext/1472/raw3wire.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/raw3wire.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/raw3wire.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/selftest.o: ../selftest.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/selftest.o.d + @${RM} ${OBJECTDIR}/_ext/1472/selftest.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../selftest.c -o ${OBJECTDIR}/_ext/1472/selftest.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/selftest.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/selftest.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/smps.o: ../smps.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/smps.o.d + @${RM} ${OBJECTDIR}/_ext/1472/smps.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../smps.c -o ${OBJECTDIR}/_ext/1472/smps.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/smps.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/smps.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/uart2io.o: ../uart2io.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/uart2io.o.d + @${RM} ${OBJECTDIR}/_ext/1472/uart2io.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../uart2io.c -o ${OBJECTDIR}/_ext/1472/uart2io.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/uart2io.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/uart2io.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1241334144/usb_stack.o: ../dp_usb/usb_stack.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1241334144" + @${RM} ${OBJECTDIR}/_ext/1241334144/usb_stack.o.d + @${RM} ${OBJECTDIR}/_ext/1241334144/usb_stack.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../dp_usb/usb_stack.c -o ${OBJECTDIR}/_ext/1241334144/usb_stack.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1241334144/usb_stack.o.d" -g -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1241334144/usb_stack.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +else +${OBJECTDIR}/_ext/1472/1wire.o: ../1wire.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/1wire.o.d + @${RM} ${OBJECTDIR}/_ext/1472/1wire.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../1wire.c -o ${OBJECTDIR}/_ext/1472/1wire.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/1wire.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/1wire.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/AUXpin.o: ../AUXpin.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/AUXpin.o.d + @${RM} ${OBJECTDIR}/_ext/1472/AUXpin.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../AUXpin.c -o ${OBJECTDIR}/_ext/1472/AUXpin.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/AUXpin.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/AUXpin.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/HD44780.o: ../HD44780.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/HD44780.o.d + @${RM} ${OBJECTDIR}/_ext/1472/HD44780.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../HD44780.c -o ${OBJECTDIR}/_ext/1472/HD44780.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/HD44780.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/HD44780.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/I2C.o: ../I2C.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/I2C.o.d + @${RM} ${OBJECTDIR}/_ext/1472/I2C.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../I2C.c -o ${OBJECTDIR}/_ext/1472/I2C.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/I2C.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/I2C.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/SPI.o: ../SPI.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/SPI.o.d + @${RM} ${OBJECTDIR}/_ext/1472/SPI.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../SPI.c -o ${OBJECTDIR}/_ext/1472/SPI.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/SPI.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/SPI.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/SUMP.o: ../SUMP.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/SUMP.o.d + @${RM} ${OBJECTDIR}/_ext/1472/SUMP.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../SUMP.c -o ${OBJECTDIR}/_ext/1472/SUMP.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/SUMP.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/SUMP.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/UART.o: ../UART.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/UART.o.d + @${RM} ${OBJECTDIR}/_ext/1472/UART.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../UART.c -o ${OBJECTDIR}/_ext/1472/UART.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/UART.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/UART.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/base.o: ../base.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/base.o.d + @${RM} ${OBJECTDIR}/_ext/1472/base.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../base.c -o ${OBJECTDIR}/_ext/1472/base.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/base.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/base.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/baseIO.o: ../baseIO.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/baseIO.o.d + @${RM} ${OBJECTDIR}/_ext/1472/baseIO.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../baseIO.c -o ${OBJECTDIR}/_ext/1472/baseIO.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/baseIO.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/baseIO.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/baseUI.o: ../baseUI.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/baseUI.o.d + @${RM} ${OBJECTDIR}/_ext/1472/baseUI.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../baseUI.c -o ${OBJECTDIR}/_ext/1472/baseUI.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/baseUI.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/baseUI.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/basic.o: ../basic.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/basic.o.d + @${RM} ${OBJECTDIR}/_ext/1472/basic.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../basic.c -o ${OBJECTDIR}/_ext/1472/basic.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/basic.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/basic.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/binIO.o: ../binIO.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/binIO.o.d + @${RM} ${OBJECTDIR}/_ext/1472/binIO.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../binIO.c -o ${OBJECTDIR}/_ext/1472/binIO.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/binIO.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/binIO.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/binIOhelpers.o: ../binIOhelpers.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/binIOhelpers.o.d + @${RM} ${OBJECTDIR}/_ext/1472/binIOhelpers.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../binIOhelpers.c -o ${OBJECTDIR}/_ext/1472/binIOhelpers.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/binIOhelpers.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/binIOhelpers.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/binwire.o: ../binwire.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/binwire.o.d + @${RM} ${OBJECTDIR}/_ext/1472/binwire.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../binwire.c -o ${OBJECTDIR}/_ext/1472/binwire.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/binwire.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/binwire.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/bitbang.o: ../bitbang.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/bitbang.o.d + @${RM} ${OBJECTDIR}/_ext/1472/bitbang.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../bitbang.c -o ${OBJECTDIR}/_ext/1472/bitbang.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/bitbang.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/bitbang.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/busPirateCore.o: ../busPirateCore.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/busPirateCore.o.d + @${RM} ${OBJECTDIR}/_ext/1472/busPirateCore.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../busPirateCore.c -o ${OBJECTDIR}/_ext/1472/busPirateCore.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/busPirateCore.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/busPirateCore.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1241334144/cdc.o: ../dp_usb/cdc.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1241334144" + @${RM} ${OBJECTDIR}/_ext/1241334144/cdc.o.d + @${RM} ${OBJECTDIR}/_ext/1241334144/cdc.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../dp_usb/cdc.c -o ${OBJECTDIR}/_ext/1241334144/cdc.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1241334144/cdc.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1241334144/cdc.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/dio.o: ../dio.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/dio.o.d + @${RM} ${OBJECTDIR}/_ext/1472/dio.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../dio.c -o ${OBJECTDIR}/_ext/1472/dio.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/dio.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/dio.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/jtag.o: ../jtag.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/jtag.o.d + @${RM} ${OBJECTDIR}/_ext/1472/jtag.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../jtag.c -o ${OBJECTDIR}/_ext/1472/jtag.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/jtag.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/jtag.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/760884769/lenval.o: ../jtag/lenval.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/760884769" + @${RM} ${OBJECTDIR}/_ext/760884769/lenval.o.d + @${RM} ${OBJECTDIR}/_ext/760884769/lenval.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../jtag/lenval.c -o ${OBJECTDIR}/_ext/760884769/lenval.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/760884769/lenval.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/760884769/lenval.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/760884769/micro.o: ../jtag/micro.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/760884769" + @${RM} ${OBJECTDIR}/_ext/760884769/micro.o.d + @${RM} ${OBJECTDIR}/_ext/760884769/micro.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../jtag/micro.c -o ${OBJECTDIR}/_ext/760884769/micro.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/760884769/micro.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/760884769/micro.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/760884769/ports.o: ../jtag/ports.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/760884769" + @${RM} ${OBJECTDIR}/_ext/760884769/ports.o.d + @${RM} ${OBJECTDIR}/_ext/760884769/ports.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../jtag/ports.c -o ${OBJECTDIR}/_ext/760884769/ports.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/760884769/ports.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/760884769/ports.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/1wire_lib.o: ../1wire_lib.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/1wire_lib.o.d + @${RM} ${OBJECTDIR}/_ext/1472/1wire_lib.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../1wire_lib.c -o ${OBJECTDIR}/_ext/1472/1wire_lib.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/1wire_lib.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/1wire_lib.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/main.o: ../main.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/main.o.d + @${RM} ${OBJECTDIR}/_ext/1472/main.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../main.c -o ${OBJECTDIR}/_ext/1472/main.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/main.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/main.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/onboardEEPROM.o: ../onboardEEPROM.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/onboardEEPROM.o.d + @${RM} ${OBJECTDIR}/_ext/1472/onboardEEPROM.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../onboardEEPROM.c -o ${OBJECTDIR}/_ext/1472/onboardEEPROM.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/onboardEEPROM.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/onboardEEPROM.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/pc_at_keyboard.o: ../pc_at_keyboard.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/pc_at_keyboard.o.d + @${RM} ${OBJECTDIR}/_ext/1472/pc_at_keyboard.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../pc_at_keyboard.c -o ${OBJECTDIR}/_ext/1472/pc_at_keyboard.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/pc_at_keyboard.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/pc_at_keyboard.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/pic.o: ../pic.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/pic.o.d + @${RM} ${OBJECTDIR}/_ext/1472/pic.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../pic.c -o ${OBJECTDIR}/_ext/1472/pic.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/pic.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/pic.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/procMenu.o: ../procMenu.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/procMenu.o.d + @${RM} ${OBJECTDIR}/_ext/1472/procMenu.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../procMenu.c -o ${OBJECTDIR}/_ext/1472/procMenu.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/procMenu.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/procMenu.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/raw2wire.o: ../raw2wire.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/raw2wire.o.d + @${RM} ${OBJECTDIR}/_ext/1472/raw2wire.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../raw2wire.c -o ${OBJECTDIR}/_ext/1472/raw2wire.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/raw2wire.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/raw2wire.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/raw3wire.o: ../raw3wire.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/raw3wire.o.d + @${RM} ${OBJECTDIR}/_ext/1472/raw3wire.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../raw3wire.c -o ${OBJECTDIR}/_ext/1472/raw3wire.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/raw3wire.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/raw3wire.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/selftest.o: ../selftest.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/selftest.o.d + @${RM} ${OBJECTDIR}/_ext/1472/selftest.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../selftest.c -o ${OBJECTDIR}/_ext/1472/selftest.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/selftest.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/selftest.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/smps.o: ../smps.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/smps.o.d + @${RM} ${OBJECTDIR}/_ext/1472/smps.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../smps.c -o ${OBJECTDIR}/_ext/1472/smps.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/smps.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/smps.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1472/uart2io.o: ../uart2io.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1472" + @${RM} ${OBJECTDIR}/_ext/1472/uart2io.o.d + @${RM} ${OBJECTDIR}/_ext/1472/uart2io.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../uart2io.c -o ${OBJECTDIR}/_ext/1472/uart2io.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1472/uart2io.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1472/uart2io.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +${OBJECTDIR}/_ext/1241334144/usb_stack.o: ../dp_usb/usb_stack.c nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1241334144" + @${RM} ${OBJECTDIR}/_ext/1241334144/usb_stack.o.d + @${RM} ${OBJECTDIR}/_ext/1241334144/usb_stack.o + ${MP_CC} $(MP_EXTRA_CC_PRE) ../dp_usb/usb_stack.c -o ${OBJECTDIR}/_ext/1241334144/usb_stack.o -c -mcpu=$(MP_PROCESSOR_OPTION) -MMD -MF "${OBJECTDIR}/_ext/1241334144/usb_stack.o.d" -g -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc $(COMPARISON_BUILD) -O0 -msmart-io=1 -Wall -msfr-warn=off + @${FIXDEPS} "${OBJECTDIR}/_ext/1241334144/usb_stack.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +endif + +# ------------------------------------------------------------------------------------ +# Rules for buildStep: assemble +ifeq ($(TYPE_IMAGE), DEBUG_RUN) +${OBJECTDIR}/_ext/1011476433/BPv4_en_US.o: ../translations/BPv4_en_US.s nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1011476433" + @${RM} ${OBJECTDIR}/_ext/1011476433/BPv4_en_US.o.d + @${RM} ${OBJECTDIR}/_ext/1011476433/BPv4_en_US.o + ${MP_CC} $(MP_EXTRA_AS_PRE) ../translations/BPv4_en_US.s -o ${OBJECTDIR}/_ext/1011476433/BPv4_en_US.o -c -mcpu=$(MP_PROCESSOR_OPTION) -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc -Wa,-MD,"${OBJECTDIR}/_ext/1011476433/BPv4_en_US.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) + @${FIXDEPS} "${OBJECTDIR}/_ext/1011476433/BPv4_en_US.o.d" $(SILENT) -rsi ${MP_CC_DIR}../ + +else +${OBJECTDIR}/_ext/1011476433/BPv4_en_US.o: ../translations/BPv4_en_US.s nbproject/Makefile-${CND_CONF}.mk + @${MKDIR} "${OBJECTDIR}/_ext/1011476433" + @${RM} ${OBJECTDIR}/_ext/1011476433/BPv4_en_US.o.d + @${RM} ${OBJECTDIR}/_ext/1011476433/BPv4_en_US.o + ${MP_CC} $(MP_EXTRA_AS_PRE) ../translations/BPv4_en_US.s -o ${OBJECTDIR}/_ext/1011476433/BPv4_en_US.o -c -mcpu=$(MP_PROCESSOR_OPTION) -omf=elf -DXPRJ_BusPiratev4=$(CND_CONF) -legacy-libc -Wa,-MD,"${OBJECTDIR}/_ext/1011476433/BPv4_en_US.o.d",--defsym=__MPLAB_BUILD=1,-g,--no-relax$(MP_EXTRA_AS_POST) + @${FIXDEPS} "${OBJECTDIR}/_ext/1011476433/BPv4_en_US.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}/busPirate.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk ../p24FJ256GB106.gld + @${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE} + ${MP_CC} $(MP_EXTRA_LD_PRE) -o dist/${CND_CONF}/${IMAGE_TYPE}/busPirate.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -mcpu=$(MP_PROCESSOR_OPTION) -D__DEBUG -D__MPLAB_DEBUGGER_PK3=1 -omf=elf -DXPRJ_BusPiratev4=$(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,--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) + +else +dist/${CND_CONF}/${IMAGE_TYPE}/busPirate.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk ../p24FJ256GB106.gld + @${MKDIR} dist/${CND_CONF}/${IMAGE_TYPE} + ${MP_CC} $(MP_EXTRA_LD_PRE) -o dist/${CND_CONF}/${IMAGE_TYPE}/busPirate.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -mcpu=$(MP_PROCESSOR_OPTION) -omf=elf -DXPRJ_BusPiratev4=$(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) + ${MP_CC_DIR}/xc16-bin2hex dist/${CND_CONF}/${IMAGE_TYPE}/busPirate.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -a -omf=elf + +endif + + +# Subprojects +.build-subprojects: + + +# Subprojects +.clean-subprojects: + +# Clean Targets +.clean-conf: ${CLEAN_SUBPROJECTS} + ${RM} -r build/BusPiratev4 + ${RM} -r dist/BusPiratev4 + +# Enable dependency checking +.dep.inc: .depcheck-impl + +DEPFILES=$(shell "${PATH_TO_IDE_BIN}"mplabwildcard ${POSSIBLE_DEPFILES}) +ifneq (${DEPFILES},) +include ${DEPFILES} +endif diff --git a/Firmware/busPirate.X/nbproject/Makefile-genesis.properties b/Firmware/busPirate.X/nbproject/Makefile-genesis.properties new file mode 100644 index 00000000..83b11536 --- /dev/null +++ b/Firmware/busPirate.X/nbproject/Makefile-genesis.properties @@ -0,0 +1,12 @@ +# +#Sun Jun 10 13:08:28 CEST 2018 +conf.ids=BusPiratev3,BusPiratev4 +BusPiratev4.languagetoolchain.version=1.34 +configurations-xml=e1df6423396f196785fb5621dcf71306 +BusPiratev3.languagetoolchain.version=1.34 +BusPiratev3.languagetoolchain.dir=/opt/microchip/xc16/v1.34/bin +com-microchip-mplab-nbide-embedded-makeproject-MakeProject.md5=5d30ff5128b14865c8a3796a8f0bb8a0 +BusPiratev3.com-microchip-mplab-nbide-toolchainXC16-XC16LanguageToolchain.md5=9c07fbdde91a46270dda81e03dd9f4d4 +BusPiratev4.com-microchip-mplab-nbide-toolchainXC16-XC16LanguageToolchain.md5=9c07fbdde91a46270dda81e03dd9f4d4 +host.platform=linux +BusPiratev4.languagetoolchain.dir=/opt/microchip/xc16/v1.34/bin diff --git a/Firmware/busPirate.X/nbproject/Makefile-impl.mk b/Firmware/busPirate.X/nbproject/Makefile-impl.mk new file mode 100644 index 00000000..8e86d5e6 --- /dev/null +++ b/Firmware/busPirate.X/nbproject/Makefile-impl.mk @@ -0,0 +1,71 @@ +# +# 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=busPirate.X + +# Active Configuration +DEFAULTCONF=BusPiratev4 +CONF=${DEFAULTCONF} + +# All Configurations +ALLCONFS=BusPiratev3 BusPiratev4 + + +# 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=BusPiratev3 clean + ${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=BusPiratev4 clean + + + +# all +.all-impl: .all-pre .depcheck-impl + ${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=BusPiratev3 build + ${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=BusPiratev4 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/Firmware/busPirate.X/nbproject/Makefile-local-BusPiratev4.mk b/Firmware/busPirate.X/nbproject/Makefile-local-BusPiratev4.mk new file mode 100644 index 00000000..a74c29a0 --- /dev/null +++ b/Firmware/busPirate.X/nbproject/Makefile-local-BusPiratev4.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=/home/giulio/Applicazioni/MPLABX/mplab_ide/platform/../mplab_ide/modules/../../bin/ +# Adding MPLAB X bin directory to path. +PATH:=/home/giulio/Applicazioni/MPLABX/mplab_ide/platform/../mplab_ide/modules/../../bin/:$(PATH) +# Path to java used to run MPLAB X when this makefile was created +MP_JAVA_PATH="/home/giulio/Applicazioni/MPLABX/sys/java/jre1.8.0_144/bin/" +OS_CURRENT="$(shell uname -s)" +MP_CC="/opt/microchip/xc16/v1.34/bin/xc16-gcc" +# MP_CPPC is not defined +# MP_BC is not defined +MP_AS="/opt/microchip/xc16/v1.34/bin/xc16-as" +MP_LD="/opt/microchip/xc16/v1.34/bin/xc16-ld" +MP_AR="/opt/microchip/xc16/v1.34/bin/xc16-ar" +DEP_GEN=${MP_JAVA_PATH}java -jar "/home/giulio/Applicazioni/MPLABX/mplab_ide/platform/../mplab_ide/modules/../../bin/extractobjectdependencies.jar" +MP_CC_DIR="/opt/microchip/xc16/v1.34/bin" +# MP_CPPC_DIR is not defined +# MP_BC_DIR is not defined +MP_AS_DIR="/opt/microchip/xc16/v1.34/bin" +MP_LD_DIR="/opt/microchip/xc16/v1.34/bin" +MP_AR_DIR="/opt/microchip/xc16/v1.34/bin" +# MP_BC_DIR is not defined diff --git a/Firmware/busPirate.X/nbproject/Makefile-variables.mk b/Firmware/busPirate.X/nbproject/Makefile-variables.mk new file mode 100644 index 00000000..dfb860a0 --- /dev/null +++ b/Firmware/busPirate.X/nbproject/Makefile-variables.mk @@ -0,0 +1,20 @@ +# +# Generated - do not edit! +# +# NOCDDL +# +CND_BASEDIR=`pwd` +# BusPiratev3 configuration +CND_ARTIFACT_DIR_BusPiratev3=dist/BusPiratev3/production +CND_ARTIFACT_NAME_BusPiratev3=busPirate.X.production.hex +CND_ARTIFACT_PATH_BusPiratev3=dist/BusPiratev3/production/busPirate.X.production.hex +CND_PACKAGE_DIR_BusPiratev3=${CND_DISTDIR}/BusPiratev3/package +CND_PACKAGE_NAME_BusPiratev3=buspirate.x.tar +CND_PACKAGE_PATH_BusPiratev3=${CND_DISTDIR}/BusPiratev3/package/buspirate.x.tar +# BusPiratev4 configuration +CND_ARTIFACT_DIR_BusPiratev4=dist/BusPiratev4/production +CND_ARTIFACT_NAME_BusPiratev4=busPirate.X.production.hex +CND_ARTIFACT_PATH_BusPiratev4=dist/BusPiratev4/production/busPirate.X.production.hex +CND_PACKAGE_DIR_BusPiratev4=${CND_DISTDIR}/BusPiratev4/package +CND_PACKAGE_NAME_BusPiratev4=buspirate.x.tar +CND_PACKAGE_PATH_BusPiratev4=${CND_DISTDIR}/BusPiratev4/package/buspirate.x.tar diff --git a/Firmware/busPirate.X/nbproject/Package-BusPiratev4.bash b/Firmware/busPirate.X/nbproject/Package-BusPiratev4.bash new file mode 100644 index 00000000..bd249eef --- /dev/null +++ b/Firmware/busPirate.X/nbproject/Package-BusPiratev4.bash @@ -0,0 +1,73 @@ +#!/bin/bash -x + +# +# Generated - do not edit! +# + +# Macros +TOP=`pwd` +CND_CONF=BusPiratev4 +CND_DISTDIR=dist +TMPDIR=build/${CND_CONF}/${IMAGE_TYPE}/tmp-packaging +TMPDIRNAME=tmp-packaging +OUTPUT_PATH=dist/${CND_CONF}/${IMAGE_TYPE}/busPirate.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} +OUTPUT_BASENAME=busPirate.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} +PACKAGE_TOP_DIR=buspirate.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}/buspirate.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/buspirate.x.tar +cd ${TMPDIR} +tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/package/buspirate.x.tar * +checkReturnCode + +# Cleanup +cd "${TOP}" +rm -rf ${TMPDIR} diff --git a/Firmware/busPirate.X/nbproject/configurations.xml b/Firmware/busPirate.X/nbproject/configurations.xml index c723ab1b..a570fdee 100644 --- a/Firmware/busPirate.X/nbproject/configurations.xml +++ b/Firmware/busPirate.X/nbproject/configurations.xml @@ -119,7 +119,7 @@ Makefile - + localhost PIC24FJ256GB106 @@ -127,7 +127,7 @@ Simulator XC16 - 1.25 + 1.34 2 @@ -142,6 +142,8 @@ false + + false @@ -242,6 +244,7 @@ + @@ -266,8 +269,11 @@ + + + @@ -281,7 +287,6 @@ - @@ -294,6 +299,8 @@ + + @@ -301,6 +308,9 @@ + + + @@ -355,6 +365,62 @@ value="report"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -420,6 +498,52 @@ value="report"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + localhost + PIC24FJ256GB106 + + + PICkit3PlatformTool + XC16 + 1.34 + 2 + + + + + + + + + + false + false + + + + + + + false + + false + + false + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Firmware/busPirate.X/nbproject/private/configurations.xml b/Firmware/busPirate.X/nbproject/private/configurations.xml index d814c08e..7fb8b219 100644 --- a/Firmware/busPirate.X/nbproject/private/configurations.xml +++ b/Firmware/busPirate.X/nbproject/private/configurations.xml @@ -1,11 +1,29 @@ Makefile - 0 + 1 - + - /opt/microchip/xc16/v1.25/bin + /opt/microchip/xc16/v1.34/bin + + place holder 1 + place holder 2 + + + + + true + 0 + 0 + 0 + + + + + + + /opt/microchip/xc16/v1.34/bin place holder 1 place holder 2 diff --git a/Firmware/main.c b/Firmware/main.c index 6a3ede67..fe9fd577 100644 --- a/Firmware/main.c +++ b/Firmware/main.c @@ -46,7 +46,7 @@ extern volatile BYTE usb_device_state; // JTR added //_CONFIG1(JTAGEN_OFF & GCP_OFF & GWRP_OFF & COE_OFF & FWDTEN_OFF & ICS_PGx1) //turn off junk we don't need #endif #if defined (BUSPIRATEV4) -_CONFIG1(JTAGEN_OFF & GCP_OFF & GWRP_OFF & COE_OFF & FWDTEN_OFF & ICS_PGx2) +_CONFIG1(JTAGEN_OFF & GCP_OFF & GWRP_OFF /*& COE_OFF*/ & FWDTEN_OFF & ICS_PGx2) _CONFIG2(IESO_OFF & FCKSM_CSDCMD & OSCIOFNC_ON & POSCMOD_HS & FNOSC_PRIPLL & PLLDIV_DIV3 & IOL1WAY_ON & PLL_96MHZ_ON & DISUVREG_OFF) #endif From 359d5ce3f31bab92afa6a114aaf7cdd895b68548 Mon Sep 17 00:00:00 2001 From: giuliof Date: Sun, 17 Jun 2018 20:14:44 +0200 Subject: [PATCH 2/2] Support for 9-bit UART read --- Firmware/UART.c | 10 ++- .../nbproject/Makefile-genesis.properties | 4 +- .../busPirate.X/nbproject/configurations.xml | 65 +++++++++++++++++++ .../busPirate.X/nbproject/private/private.xml | 3 +- Firmware/procMenu.c | 7 +- 5 files changed, 83 insertions(+), 6 deletions(-) diff --git a/Firmware/UART.c b/Firmware/UART.c index 06959d54..4e81433e 100644 --- a/Firmware/UART.c +++ b/Firmware/UART.c @@ -444,7 +444,7 @@ void UARTstop(void) unsigned int UARTperiodic(void) { unsigned int temp; - + unsigned int received; temp=0; while(UART2RXRdy()) //data ready { if(uartSettings.eu==1) @@ -453,7 +453,13 @@ unsigned int UARTperiodic(void) BPMSG1102; if(U2STAbits.PERR) BPMSG1194; //bpWstring("-p "); //show any errors if(U2STAbits.FERR) BPMSG1195; //bpWstring("-f "); - bpWbyte(UART2RX()); + received = UART2RX(); + bpWbyte(received); + // Support for 9-bit UART + if (modeConfig.numbits == 9) { + UART1TX(':'); + bpEchoState(received & 0x100); + } if(U2STAbits.OERR) { //bpWstring("*Bytes dropped*"); BPMSG1196; diff --git a/Firmware/busPirate.X/nbproject/Makefile-genesis.properties b/Firmware/busPirate.X/nbproject/Makefile-genesis.properties index 83b11536..60a3a768 100644 --- a/Firmware/busPirate.X/nbproject/Makefile-genesis.properties +++ b/Firmware/busPirate.X/nbproject/Makefile-genesis.properties @@ -1,8 +1,8 @@ # -#Sun Jun 10 13:08:28 CEST 2018 +#Sun Jun 17 12:52:17 CEST 2018 conf.ids=BusPiratev3,BusPiratev4 BusPiratev4.languagetoolchain.version=1.34 -configurations-xml=e1df6423396f196785fb5621dcf71306 +configurations-xml=3e205e88350937288235ad22261bfe9d BusPiratev3.languagetoolchain.version=1.34 BusPiratev3.languagetoolchain.dir=/opt/microchip/xc16/v1.34/bin com-microchip-mplab-nbide-embedded-makeproject-MakeProject.md5=5d30ff5128b14865c8a3796a8f0bb8a0 diff --git a/Firmware/busPirate.X/nbproject/configurations.xml b/Firmware/busPirate.X/nbproject/configurations.xml index a570fdee..a60900b9 100644 --- a/Firmware/busPirate.X/nbproject/configurations.xml +++ b/Firmware/busPirate.X/nbproject/configurations.xml @@ -725,6 +725,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Firmware/busPirate.X/nbproject/private/private.xml b/Firmware/busPirate.X/nbproject/private/private.xml index 8f19ea09..c925e644 100644 --- a/Firmware/busPirate.X/nbproject/private/private.xml +++ b/Firmware/busPirate.X/nbproject/private/private.xml @@ -4,7 +4,8 @@ - file:/home/perillamint/Bus_Pirate/Firmware/busPirate.X/nbproject/configurations.xml + file:/home/giulio/Workspace/Progetti%20Completi/Bus_Pirate/Firmware/SUMP.c + file:/home/giulio/Workspace/Progetti%20Completi/Bus_Pirate/Firmware/main.c diff --git a/Firmware/procMenu.c b/Firmware/procMenu.c index 94f2c080..98eed24d 100644 --- a/Firmware/procMenu.c +++ b/Firmware/procMenu.c @@ -834,7 +834,7 @@ void serviceuser(void) { cmderror = 1; } break; - case 0x22: //bpWline("-send string"); + case '"': //bpWline("-send string"); cmderror = 1; temp = 1; @@ -943,6 +943,11 @@ void serviceuser(void) { if (((modeConfig.int16 == 0) && (modeConfig.numbits != 8)) || ((modeConfig.int16 == 1) && (modeConfig.numbits != 16))) { UART1TX(';'); bpWdec(modeConfig.numbits); + // Support for 9-bit UART + if (modeConfig.numbits == 9) { + UART1TX(':'); + bpEchoState(received & 0x100); + } } bpSP; }