|
|
|
@ -30,12 +30,12 @@ ifeq ($(TYPE_IMAGE), DEBUG_RUN)
|
|
|
|
|
IMAGE_TYPE=debug
|
|
|
|
|
OUTPUT_SUFFIX=elf
|
|
|
|
|
DEBUGGABLE_SUFFIX=elf
|
|
|
|
|
FINAL_IMAGE=${DISTDIR}/fg004a.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
|
|
|
|
|
FINAL_IMAGE=${DISTDIR}/fg004a_test.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
|
|
|
|
|
else
|
|
|
|
|
IMAGE_TYPE=production
|
|
|
|
|
OUTPUT_SUFFIX=hex
|
|
|
|
|
DEBUGGABLE_SUFFIX=elf
|
|
|
|
|
FINAL_IMAGE=${DISTDIR}/fg004a.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
|
|
|
|
|
FINAL_IMAGE=${DISTDIR}/fg004a_test.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
ifeq ($(COMPARE_BUILD), true)
|
|
|
|
@ -82,80 +82,80 @@ FIXDEPS=fixDeps
|
|
|
|
|
ifneq ($(INFORMATION_MESSAGE), )
|
|
|
|
|
@echo $(INFORMATION_MESSAGE)
|
|
|
|
|
endif
|
|
|
|
|
${MAKE} -f nbproject/Makefile-attiny404.mk ${DISTDIR}/fg004a.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
|
|
|
|
|
${MAKE} -f nbproject/Makefile-attiny404.mk ${DISTDIR}/fg004a_test.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
|
|
|
|
|
|
|
|
|
|
MP_PROCESSOR_OPTION=ATtiny404
|
|
|
|
|
# ------------------------------------------------------------------------------------
|
|
|
|
|
# Rules for buildStep: compile
|
|
|
|
|
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
|
|
|
|
|
${OBJECTDIR}/main.o: main.c .generated_files/flags/attiny404/898e709c16268741653512f765f05795b54671b8 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
${OBJECTDIR}/main.o: main.c .generated_files/flags/attiny404/6761bf7248a4cadeb46b4b39803ff87499996ec1 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}"
|
|
|
|
|
@${RM} ${OBJECTDIR}/main.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/main.o
|
|
|
|
|
${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -D__DEBUG=1 -g -DDEBUG -gdwarf-2 -x c -D__$(MP_PROCESSOR_OPTION)__ -mdfp="${DFP_DIR}/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/main.o.d" -MT "${OBJECTDIR}/main.o.d" -MT ${OBJECTDIR}/main.o -o ${OBJECTDIR}/main.o main.c
|
|
|
|
|
|
|
|
|
|
${OBJECTDIR}/ADC.o: ADC.c .generated_files/flags/attiny404/3531910cbc4dc67dbbc4c48de20725b7a0f45ade .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
${OBJECTDIR}/ADC.o: ADC.c .generated_files/flags/attiny404/c45596993967974bbfbe169a719e0e0d21ff893d .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}"
|
|
|
|
|
@${RM} ${OBJECTDIR}/ADC.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/ADC.o
|
|
|
|
|
${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -D__DEBUG=1 -g -DDEBUG -gdwarf-2 -x c -D__$(MP_PROCESSOR_OPTION)__ -mdfp="${DFP_DIR}/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/ADC.o.d" -MT "${OBJECTDIR}/ADC.o.d" -MT ${OBJECTDIR}/ADC.o -o ${OBJECTDIR}/ADC.o ADC.c
|
|
|
|
|
|
|
|
|
|
${OBJECTDIR}/RegEdit.o: RegEdit.c .generated_files/flags/attiny404/6a9f39408c4d848bc358965a0bab7b09e4f4f96f .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
${OBJECTDIR}/RegEdit.o: RegEdit.c .generated_files/flags/attiny404/cc64545d113e2f1b3161faab1858be38ecc1741c .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}"
|
|
|
|
|
@${RM} ${OBJECTDIR}/RegEdit.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/RegEdit.o
|
|
|
|
|
${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -D__DEBUG=1 -g -DDEBUG -gdwarf-2 -x c -D__$(MP_PROCESSOR_OPTION)__ -mdfp="${DFP_DIR}/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/RegEdit.o.d" -MT "${OBJECTDIR}/RegEdit.o.d" -MT ${OBJECTDIR}/RegEdit.o -o ${OBJECTDIR}/RegEdit.o RegEdit.c
|
|
|
|
|
|
|
|
|
|
${OBJECTDIR}/TriacOut.o: TriacOut.c .generated_files/flags/attiny404/629b6032616bbf96e42829bc0a3203c42f2e42a1 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
${OBJECTDIR}/TriacOut.o: TriacOut.c .generated_files/flags/attiny404/4c8eafab5895fc430ca2d69acdfc255c5b836dc6 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}"
|
|
|
|
|
@${RM} ${OBJECTDIR}/TriacOut.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/TriacOut.o
|
|
|
|
|
${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -D__DEBUG=1 -g -DDEBUG -gdwarf-2 -x c -D__$(MP_PROCESSOR_OPTION)__ -mdfp="${DFP_DIR}/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/TriacOut.o.d" -MT "${OBJECTDIR}/TriacOut.o.d" -MT ${OBJECTDIR}/TriacOut.o -o ${OBJECTDIR}/TriacOut.o TriacOut.c
|
|
|
|
|
|
|
|
|
|
${OBJECTDIR}/zero_cross_detection.o: zero_cross_detection.c .generated_files/flags/attiny404/c044dab60059f8a60aab0012bce6eb0f44acd683 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
${OBJECTDIR}/zero_cross_detection.o: zero_cross_detection.c .generated_files/flags/attiny404/cf405395db1973f98ef024eb38deac77e84906a6 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}"
|
|
|
|
|
@${RM} ${OBJECTDIR}/zero_cross_detection.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/zero_cross_detection.o
|
|
|
|
|
${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -D__DEBUG=1 -g -DDEBUG -gdwarf-2 -x c -D__$(MP_PROCESSOR_OPTION)__ -mdfp="${DFP_DIR}/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/zero_cross_detection.o.d" -MT "${OBJECTDIR}/zero_cross_detection.o.d" -MT ${OBJECTDIR}/zero_cross_detection.o -o ${OBJECTDIR}/zero_cross_detection.o zero_cross_detection.c
|
|
|
|
|
|
|
|
|
|
${OBJECTDIR}/load.o: load.c .generated_files/flags/attiny404/e28cc3f4f7c4664001ea60f6fcf7cc157eb1ce02 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
${OBJECTDIR}/load.o: load.c .generated_files/flags/attiny404/74e65e7358e6d6fd8bba20823ce6e6935042de9c .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}"
|
|
|
|
|
@${RM} ${OBJECTDIR}/load.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/load.o
|
|
|
|
|
${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -D__DEBUG=1 -g -DDEBUG -gdwarf-2 -x c -D__$(MP_PROCESSOR_OPTION)__ -mdfp="${DFP_DIR}/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/load.o.d" -MT "${OBJECTDIR}/load.o.d" -MT ${OBJECTDIR}/load.o -o ${OBJECTDIR}/load.o load.c
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
${OBJECTDIR}/main.o: main.c .generated_files/flags/attiny404/68dda87a357f8de2238228cdfd349eeb9030ddcc .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
${OBJECTDIR}/main.o: main.c .generated_files/flags/attiny404/d99de9a28e9c79c808fb24e0bb97338639ea58e9 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}"
|
|
|
|
|
@${RM} ${OBJECTDIR}/main.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/main.o
|
|
|
|
|
${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -x c -D__$(MP_PROCESSOR_OPTION)__ -mdfp="${DFP_DIR}/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/main.o.d" -MT "${OBJECTDIR}/main.o.d" -MT ${OBJECTDIR}/main.o -o ${OBJECTDIR}/main.o main.c
|
|
|
|
|
|
|
|
|
|
${OBJECTDIR}/ADC.o: ADC.c .generated_files/flags/attiny404/981755a239273dc10a1bcf0834eedc4b1adbc64b .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
${OBJECTDIR}/ADC.o: ADC.c .generated_files/flags/attiny404/6c5aa0ea82b90e42a6a5991863c4d1c15ec6df24 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}"
|
|
|
|
|
@${RM} ${OBJECTDIR}/ADC.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/ADC.o
|
|
|
|
|
${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -x c -D__$(MP_PROCESSOR_OPTION)__ -mdfp="${DFP_DIR}/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/ADC.o.d" -MT "${OBJECTDIR}/ADC.o.d" -MT ${OBJECTDIR}/ADC.o -o ${OBJECTDIR}/ADC.o ADC.c
|
|
|
|
|
|
|
|
|
|
${OBJECTDIR}/RegEdit.o: RegEdit.c .generated_files/flags/attiny404/1cbc965ace553fb8a714ee81eec7817e6113fad9 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
${OBJECTDIR}/RegEdit.o: RegEdit.c .generated_files/flags/attiny404/8bc989d0d13be0680224accf1044bba9c13e9e06 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}"
|
|
|
|
|
@${RM} ${OBJECTDIR}/RegEdit.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/RegEdit.o
|
|
|
|
|
${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -x c -D__$(MP_PROCESSOR_OPTION)__ -mdfp="${DFP_DIR}/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/RegEdit.o.d" -MT "${OBJECTDIR}/RegEdit.o.d" -MT ${OBJECTDIR}/RegEdit.o -o ${OBJECTDIR}/RegEdit.o RegEdit.c
|
|
|
|
|
|
|
|
|
|
${OBJECTDIR}/TriacOut.o: TriacOut.c .generated_files/flags/attiny404/bb3e00a740269277700d8323e35d491752ce69b4 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
${OBJECTDIR}/TriacOut.o: TriacOut.c .generated_files/flags/attiny404/d40fe8acfb56f046a02d783cde612a50adad018d .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}"
|
|
|
|
|
@${RM} ${OBJECTDIR}/TriacOut.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/TriacOut.o
|
|
|
|
|
${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -x c -D__$(MP_PROCESSOR_OPTION)__ -mdfp="${DFP_DIR}/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/TriacOut.o.d" -MT "${OBJECTDIR}/TriacOut.o.d" -MT ${OBJECTDIR}/TriacOut.o -o ${OBJECTDIR}/TriacOut.o TriacOut.c
|
|
|
|
|
|
|
|
|
|
${OBJECTDIR}/zero_cross_detection.o: zero_cross_detection.c .generated_files/flags/attiny404/80f84bc10112480364a61baa6db5df64815205c6 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
${OBJECTDIR}/zero_cross_detection.o: zero_cross_detection.c .generated_files/flags/attiny404/4ee41962ee462e1b43db78ddddd0ee1a7619a9fa .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}"
|
|
|
|
|
@${RM} ${OBJECTDIR}/zero_cross_detection.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/zero_cross_detection.o
|
|
|
|
|
${MP_CC} $(MP_EXTRA_CC_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -c -x c -D__$(MP_PROCESSOR_OPTION)__ -mdfp="${DFP_DIR}/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/zero_cross_detection.o.d" -MT "${OBJECTDIR}/zero_cross_detection.o.d" -MT ${OBJECTDIR}/zero_cross_detection.o -o ${OBJECTDIR}/zero_cross_detection.o zero_cross_detection.c
|
|
|
|
|
|
|
|
|
|
${OBJECTDIR}/load.o: load.c .generated_files/flags/attiny404/d847cc8c176fc0b45a6bf3e12f13d4dec981239a .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
${OBJECTDIR}/load.o: load.c .generated_files/flags/attiny404/ed741808f7f01207d533233eede6370ae89b6d03 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}"
|
|
|
|
|
@${RM} ${OBJECTDIR}/load.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/load.o
|
|
|
|
@ -178,17 +178,17 @@ endif
|
|
|
|
|
# ------------------------------------------------------------------------------------
|
|
|
|
|
# Rules for buildStep: link
|
|
|
|
|
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
|
|
|
|
|
${DISTDIR}/fg004a.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
|
|
|
|
|
${DISTDIR}/fg004a_test.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
|
|
|
|
|
@${MKDIR} ${DISTDIR}
|
|
|
|
|
${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -Wl,-Map=${DISTDIR}/fg004a.X.${IMAGE_TYPE}.map -D__DEBUG=1 -DXPRJ_attiny404=$(CND_CONF) -Wl,--defsym=__MPLAB_BUILD=1 -mdfp="${DFP_DIR}/xc8" -gdwarf-2 -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -gdwarf-3 -mno-const-data-in-progmem $(COMPARISON_BUILD) -Wl,--memorysummary,${DISTDIR}/memoryfile.xml -o ${DISTDIR}/fg004a.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -o ${DISTDIR}/fg004a.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -Wl,--start-group -Wl,-lm -Wl,--end-group -Wl,--defsym=__MPLAB_DEBUG=1,--defsym=__DEBUG=1
|
|
|
|
|
@${RM} ${DISTDIR}/fg004a.X.${IMAGE_TYPE}.hex
|
|
|
|
|
${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -Wl,-Map=${DISTDIR}/fg004a_test.X.${IMAGE_TYPE}.map -D__DEBUG=1 -DXPRJ_attiny404=$(CND_CONF) -Wl,--defsym=__MPLAB_BUILD=1 -mdfp="${DFP_DIR}/xc8" -gdwarf-2 -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -gdwarf-3 -mno-const-data-in-progmem $(COMPARISON_BUILD) -Wl,--memorysummary,${DISTDIR}/memoryfile.xml -o ${DISTDIR}/fg004a_test.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -o ${DISTDIR}/fg004a_test.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -Wl,--start-group -Wl,-lm -Wl,--end-group -Wl,--defsym=__MPLAB_DEBUG=1,--defsym=__DEBUG=1
|
|
|
|
|
@${RM} ${DISTDIR}/fg004a_test.X.${IMAGE_TYPE}.hex
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
${DISTDIR}/fg004a.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
|
|
|
|
|
${DISTDIR}/fg004a_test.X.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
|
|
|
|
|
@${MKDIR} ${DISTDIR}
|
|
|
|
|
${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -Wl,-Map=${DISTDIR}/fg004a.X.${IMAGE_TYPE}.map -DXPRJ_attiny404=$(CND_CONF) -Wl,--defsym=__MPLAB_BUILD=1 -mdfp="${DFP_DIR}/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -gdwarf-3 -mno-const-data-in-progmem $(COMPARISON_BUILD) -Wl,--memorysummary,${DISTDIR}/memoryfile.xml -o ${DISTDIR}/fg004a.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -o ${DISTDIR}/fg004a.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -Wl,--start-group -Wl,-lm -Wl,--end-group
|
|
|
|
|
${MP_CC_DIR}/avr-objcopy -O ihex "${DISTDIR}/fg004a.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX}" "${DISTDIR}/fg004a.X.${IMAGE_TYPE}.hex"
|
|
|
|
|
${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -Wl,-Map=${DISTDIR}/fg004a_test.X.${IMAGE_TYPE}.map -DXPRJ_attiny404=$(CND_CONF) -Wl,--defsym=__MPLAB_BUILD=1 -mdfp="${DFP_DIR}/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -gdwarf-3 -mno-const-data-in-progmem $(COMPARISON_BUILD) -Wl,--memorysummary,${DISTDIR}/memoryfile.xml -o ${DISTDIR}/fg004a_test.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -o ${DISTDIR}/fg004a_test.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -Wl,--start-group -Wl,-lm -Wl,--end-group
|
|
|
|
|
${MP_CC_DIR}/avr-objcopy -O ihex "${DISTDIR}/fg004a_test.X.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX}" "${DISTDIR}/fg004a_test.X.${IMAGE_TYPE}.hex"
|
|
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|