|
|
|
@ -30,12 +30,12 @@ ifeq ($(TYPE_IMAGE), DEBUG_RUN)
|
|
|
|
|
IMAGE_TYPE=debug
|
|
|
|
|
OUTPUT_SUFFIX=elf
|
|
|
|
|
DEBUGGABLE_SUFFIX=elf
|
|
|
|
|
FINAL_IMAGE=${DISTDIR}/Relay_Tester.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
|
|
|
|
|
FINAL_IMAGE=${DISTDIR}/Relay_and_Socket_Protection.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
|
|
|
|
|
else
|
|
|
|
|
IMAGE_TYPE=production
|
|
|
|
|
OUTPUT_SUFFIX=hex
|
|
|
|
|
DEBUGGABLE_SUFFIX=elf
|
|
|
|
|
FINAL_IMAGE=${DISTDIR}/Relay_Tester.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
|
|
|
|
|
FINAL_IMAGE=${DISTDIR}/Relay_and_Socket_Protection.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
ifeq ($(COMPARE_BUILD), true)
|
|
|
|
@ -51,17 +51,17 @@ OBJECTDIR=build/${CND_CONF}/${IMAGE_TYPE}
|
|
|
|
|
DISTDIR=dist/${CND_CONF}/${IMAGE_TYPE}
|
|
|
|
|
|
|
|
|
|
# Source Files Quoted if spaced
|
|
|
|
|
SOURCEFILES_QUOTED_IF_SPACED=src/main.c src/RegEdit/RegEdit.c src/usart/usart.c src/timer/timer.c src/LedController/LedController.c
|
|
|
|
|
SOURCEFILES_QUOTED_IF_SPACED=src/main.c src/RegEdit/RegEdit.c src/timer/timer.c src/Relays/Relays.c src/ADC/ADC.c src/Enable/Enable.c src/load/load.c src/SuperLoop/SuperLoop.c src/zero_cross_detection/zero_cross_detection.c
|
|
|
|
|
|
|
|
|
|
# Object Files Quoted if spaced
|
|
|
|
|
OBJECTFILES_QUOTED_IF_SPACED=${OBJECTDIR}/src/main.o ${OBJECTDIR}/src/RegEdit/RegEdit.o ${OBJECTDIR}/src/usart/usart.o ${OBJECTDIR}/src/timer/timer.o ${OBJECTDIR}/src/LedController/LedController.o
|
|
|
|
|
POSSIBLE_DEPFILES=${OBJECTDIR}/src/main.o.d ${OBJECTDIR}/src/RegEdit/RegEdit.o.d ${OBJECTDIR}/src/usart/usart.o.d ${OBJECTDIR}/src/timer/timer.o.d ${OBJECTDIR}/src/LedController/LedController.o.d
|
|
|
|
|
OBJECTFILES_QUOTED_IF_SPACED=${OBJECTDIR}/src/main.o ${OBJECTDIR}/src/RegEdit/RegEdit.o ${OBJECTDIR}/src/timer/timer.o ${OBJECTDIR}/src/Relays/Relays.o ${OBJECTDIR}/src/ADC/ADC.o ${OBJECTDIR}/src/Enable/Enable.o ${OBJECTDIR}/src/load/load.o ${OBJECTDIR}/src/SuperLoop/SuperLoop.o ${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o
|
|
|
|
|
POSSIBLE_DEPFILES=${OBJECTDIR}/src/main.o.d ${OBJECTDIR}/src/RegEdit/RegEdit.o.d ${OBJECTDIR}/src/timer/timer.o.d ${OBJECTDIR}/src/Relays/Relays.o.d ${OBJECTDIR}/src/ADC/ADC.o.d ${OBJECTDIR}/src/Enable/Enable.o.d ${OBJECTDIR}/src/load/load.o.d ${OBJECTDIR}/src/SuperLoop/SuperLoop.o.d ${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o.d
|
|
|
|
|
|
|
|
|
|
# Object Files
|
|
|
|
|
OBJECTFILES=${OBJECTDIR}/src/main.o ${OBJECTDIR}/src/RegEdit/RegEdit.o ${OBJECTDIR}/src/usart/usart.o ${OBJECTDIR}/src/timer/timer.o ${OBJECTDIR}/src/LedController/LedController.o
|
|
|
|
|
OBJECTFILES=${OBJECTDIR}/src/main.o ${OBJECTDIR}/src/RegEdit/RegEdit.o ${OBJECTDIR}/src/timer/timer.o ${OBJECTDIR}/src/Relays/Relays.o ${OBJECTDIR}/src/ADC/ADC.o ${OBJECTDIR}/src/Enable/Enable.o ${OBJECTDIR}/src/load/load.o ${OBJECTDIR}/src/SuperLoop/SuperLoop.o ${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o
|
|
|
|
|
|
|
|
|
|
# Source Files
|
|
|
|
|
SOURCEFILES=src/main.c src/RegEdit/RegEdit.c src/usart/usart.c src/timer/timer.c src/LedController/LedController.c
|
|
|
|
|
SOURCEFILES=src/main.c src/RegEdit/RegEdit.c src/timer/timer.c src/Relays/Relays.c src/ADC/ADC.c src/Enable/Enable.c src/load/load.c src/SuperLoop/SuperLoop.c src/zero_cross_detection/zero_cross_detection.c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -82,72 +82,120 @@ FIXDEPS=fixDeps
|
|
|
|
|
ifneq ($(INFORMATION_MESSAGE), )
|
|
|
|
|
@echo $(INFORMATION_MESSAGE)
|
|
|
|
|
endif
|
|
|
|
|
${MAKE} -f nbproject/Makefile-attiny404.mk ${DISTDIR}/Relay_Tester.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
|
|
|
|
|
${MAKE} -f nbproject/Makefile-attiny404.mk ${DISTDIR}/Relay_and_Socket_Protection.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
|
|
|
|
|
|
|
|
|
|
MP_PROCESSOR_OPTION=ATtiny404
|
|
|
|
|
# ------------------------------------------------------------------------------------
|
|
|
|
|
# Rules for buildStep: compile
|
|
|
|
|
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
|
|
|
|
|
${OBJECTDIR}/src/main.o: src/main.c .generated_files/flags/attiny404/fa73280ab5c751ec6af1e867ba2ca1963f225032 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
${OBJECTDIR}/src/main.o: src/main.c .generated_files/flags/attiny404/f6fda49ceca1bed61a729049a96d84e9fa64582b .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}/src"
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/main.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/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 -I"src/RegEdit" -I"src/usart" -I"inc" -I"src/timer" -I"src/LedController" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/main.o.d" -MT "${OBJECTDIR}/src/main.o.d" -MT ${OBJECTDIR}/src/main.o -o ${OBJECTDIR}/src/main.o src/main.c
|
|
|
|
|
${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 -I"src/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/main.o.d" -MT "${OBJECTDIR}/src/main.o.d" -MT ${OBJECTDIR}/src/main.o -o ${OBJECTDIR}/src/main.o src/main.c
|
|
|
|
|
|
|
|
|
|
${OBJECTDIR}/src/RegEdit/RegEdit.o: src/RegEdit/RegEdit.c .generated_files/flags/attiny404/f1028cc7904ca5b9159231969b0f7ada47916d51 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
${OBJECTDIR}/src/RegEdit/RegEdit.o: src/RegEdit/RegEdit.c .generated_files/flags/attiny404/d12b7de0f7a9062506c772934141a6f90daa3bfc .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}/src/RegEdit"
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/RegEdit/RegEdit.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/RegEdit/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 -I"src/RegEdit" -I"src/usart" -I"inc" -I"src/timer" -I"src/LedController" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/RegEdit/RegEdit.o.d" -MT "${OBJECTDIR}/src/RegEdit/RegEdit.o.d" -MT ${OBJECTDIR}/src/RegEdit/RegEdit.o -o ${OBJECTDIR}/src/RegEdit/RegEdit.o src/RegEdit/RegEdit.c
|
|
|
|
|
${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 -I"src/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/RegEdit/RegEdit.o.d" -MT "${OBJECTDIR}/src/RegEdit/RegEdit.o.d" -MT ${OBJECTDIR}/src/RegEdit/RegEdit.o -o ${OBJECTDIR}/src/RegEdit/RegEdit.o src/RegEdit/RegEdit.c
|
|
|
|
|
|
|
|
|
|
${OBJECTDIR}/src/usart/usart.o: src/usart/usart.c .generated_files/flags/attiny404/5817417095ee90b3772093983d64af5583ba17d9 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}/src/usart"
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/usart/usart.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/usart/usart.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 -I"src/RegEdit" -I"src/usart" -I"inc" -I"src/timer" -I"src/LedController" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/usart/usart.o.d" -MT "${OBJECTDIR}/src/usart/usart.o.d" -MT ${OBJECTDIR}/src/usart/usart.o -o ${OBJECTDIR}/src/usart/usart.o src/usart/usart.c
|
|
|
|
|
|
|
|
|
|
${OBJECTDIR}/src/timer/timer.o: src/timer/timer.c .generated_files/flags/attiny404/531278ccb10cb2635ffd5346f85461fc0d204d43 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
${OBJECTDIR}/src/timer/timer.o: src/timer/timer.c .generated_files/flags/attiny404/7a3875dc4ec80ee775ae6ce571b0ef8ea01851e0 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}/src/timer"
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/timer/timer.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/timer/timer.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 -I"src/RegEdit" -I"src/usart" -I"inc" -I"src/timer" -I"src/LedController" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/timer/timer.o.d" -MT "${OBJECTDIR}/src/timer/timer.o.d" -MT ${OBJECTDIR}/src/timer/timer.o -o ${OBJECTDIR}/src/timer/timer.o src/timer/timer.c
|
|
|
|
|
${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 -I"src/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/timer/timer.o.d" -MT "${OBJECTDIR}/src/timer/timer.o.d" -MT ${OBJECTDIR}/src/timer/timer.o -o ${OBJECTDIR}/src/timer/timer.o src/timer/timer.c
|
|
|
|
|
|
|
|
|
|
${OBJECTDIR}/src/LedController/LedController.o: src/LedController/LedController.c .generated_files/flags/attiny404/e5833ed4bfab6fc1888677874b82093a64e3627 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}/src/LedController"
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/LedController/LedController.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/LedController/LedController.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 -I"src/RegEdit" -I"src/usart" -I"inc" -I"src/timer" -I"src/LedController" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/LedController/LedController.o.d" -MT "${OBJECTDIR}/src/LedController/LedController.o.d" -MT ${OBJECTDIR}/src/LedController/LedController.o -o ${OBJECTDIR}/src/LedController/LedController.o src/LedController/LedController.c
|
|
|
|
|
${OBJECTDIR}/src/Relays/Relays.o: src/Relays/Relays.c .generated_files/flags/attiny404/1b598baa74388fda382994d76f4abbd980dbc59e .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}/src/Relays"
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/Relays/Relays.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/Relays/Relays.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 -I"src/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/Relays/Relays.o.d" -MT "${OBJECTDIR}/src/Relays/Relays.o.d" -MT ${OBJECTDIR}/src/Relays/Relays.o -o ${OBJECTDIR}/src/Relays/Relays.o src/Relays/Relays.c
|
|
|
|
|
|
|
|
|
|
${OBJECTDIR}/src/ADC/ADC.o: src/ADC/ADC.c .generated_files/flags/attiny404/b606432d0ae51f0ac35bbb5f31f4e803180effe2 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}/src/ADC"
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/ADC/ADC.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/ADC/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 -I"src/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/ADC/ADC.o.d" -MT "${OBJECTDIR}/src/ADC/ADC.o.d" -MT ${OBJECTDIR}/src/ADC/ADC.o -o ${OBJECTDIR}/src/ADC/ADC.o src/ADC/ADC.c
|
|
|
|
|
|
|
|
|
|
${OBJECTDIR}/src/Enable/Enable.o: src/Enable/Enable.c .generated_files/flags/attiny404/56f68c1cdcb2fc73400fcc6d0057cb1a4e1b0f20 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}/src/Enable"
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/Enable/Enable.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/Enable/Enable.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 -I"src/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/Enable/Enable.o.d" -MT "${OBJECTDIR}/src/Enable/Enable.o.d" -MT ${OBJECTDIR}/src/Enable/Enable.o -o ${OBJECTDIR}/src/Enable/Enable.o src/Enable/Enable.c
|
|
|
|
|
|
|
|
|
|
${OBJECTDIR}/src/load/load.o: src/load/load.c .generated_files/flags/attiny404/771f9283e5f6584ce55da293c7edc974f794c9f8 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}/src/load"
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/load/load.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/load/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 -I"src/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/load/load.o.d" -MT "${OBJECTDIR}/src/load/load.o.d" -MT ${OBJECTDIR}/src/load/load.o -o ${OBJECTDIR}/src/load/load.o src/load/load.c
|
|
|
|
|
|
|
|
|
|
${OBJECTDIR}/src/SuperLoop/SuperLoop.o: src/SuperLoop/SuperLoop.c .generated_files/flags/attiny404/7ee90a3e5bc9f40c4365ff4c13be8c0e031cea02 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}/src/SuperLoop"
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/SuperLoop/SuperLoop.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/SuperLoop/SuperLoop.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 -I"src/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/SuperLoop/SuperLoop.o.d" -MT "${OBJECTDIR}/src/SuperLoop/SuperLoop.o.d" -MT ${OBJECTDIR}/src/SuperLoop/SuperLoop.o -o ${OBJECTDIR}/src/SuperLoop/SuperLoop.o src/SuperLoop/SuperLoop.c
|
|
|
|
|
|
|
|
|
|
${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o: src/zero_cross_detection/zero_cross_detection.c .generated_files/flags/attiny404/ec86b28e14be6f96942f43c1f3335922389d8b4d .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}/src/zero_cross_detection"
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/zero_cross_detection/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 -I"src/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o.d" -MT "${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o.d" -MT ${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o -o ${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o src/zero_cross_detection/zero_cross_detection.c
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
${OBJECTDIR}/src/main.o: src/main.c .generated_files/flags/attiny404/5fd051d6a3fd92bb1802b9adc043a7d1f28ddda1 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
${OBJECTDIR}/src/main.o: src/main.c .generated_files/flags/attiny404/1da8611ee6d826be2e4a4276ed8f5f01542d750b .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}/src"
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/main.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/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 -I"src/RegEdit" -I"src/usart" -I"inc" -I"src/timer" -I"src/LedController" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/main.o.d" -MT "${OBJECTDIR}/src/main.o.d" -MT ${OBJECTDIR}/src/main.o -o ${OBJECTDIR}/src/main.o src/main.c
|
|
|
|
|
${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 -I"src/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/main.o.d" -MT "${OBJECTDIR}/src/main.o.d" -MT ${OBJECTDIR}/src/main.o -o ${OBJECTDIR}/src/main.o src/main.c
|
|
|
|
|
|
|
|
|
|
${OBJECTDIR}/src/RegEdit/RegEdit.o: src/RegEdit/RegEdit.c .generated_files/flags/attiny404/165022dc8e1e49b4bb590dc119cbd48dfa74dcd .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
${OBJECTDIR}/src/RegEdit/RegEdit.o: src/RegEdit/RegEdit.c .generated_files/flags/attiny404/8c78a4b363a831c27d599e82415a7df23420c7d2 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}/src/RegEdit"
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/RegEdit/RegEdit.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/RegEdit/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 -I"src/RegEdit" -I"src/usart" -I"inc" -I"src/timer" -I"src/LedController" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/RegEdit/RegEdit.o.d" -MT "${OBJECTDIR}/src/RegEdit/RegEdit.o.d" -MT ${OBJECTDIR}/src/RegEdit/RegEdit.o -o ${OBJECTDIR}/src/RegEdit/RegEdit.o src/RegEdit/RegEdit.c
|
|
|
|
|
${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 -I"src/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/RegEdit/RegEdit.o.d" -MT "${OBJECTDIR}/src/RegEdit/RegEdit.o.d" -MT ${OBJECTDIR}/src/RegEdit/RegEdit.o -o ${OBJECTDIR}/src/RegEdit/RegEdit.o src/RegEdit/RegEdit.c
|
|
|
|
|
|
|
|
|
|
${OBJECTDIR}/src/usart/usart.o: src/usart/usart.c .generated_files/flags/attiny404/adb78bad2bf6c6e7b6bc725940fdbd35cd7e6aa6 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}/src/usart"
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/usart/usart.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/usart/usart.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 -I"src/RegEdit" -I"src/usart" -I"inc" -I"src/timer" -I"src/LedController" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/usart/usart.o.d" -MT "${OBJECTDIR}/src/usart/usart.o.d" -MT ${OBJECTDIR}/src/usart/usart.o -o ${OBJECTDIR}/src/usart/usart.o src/usart/usart.c
|
|
|
|
|
|
|
|
|
|
${OBJECTDIR}/src/timer/timer.o: src/timer/timer.c .generated_files/flags/attiny404/cc56a7bc0edc1617e859cf1cd41630662cdc0fb0 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
${OBJECTDIR}/src/timer/timer.o: src/timer/timer.c .generated_files/flags/attiny404/f6be36ee8b85876e72b108a8d6bbae044823a50 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}/src/timer"
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/timer/timer.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/timer/timer.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 -I"src/RegEdit" -I"src/usart" -I"inc" -I"src/timer" -I"src/LedController" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/timer/timer.o.d" -MT "${OBJECTDIR}/src/timer/timer.o.d" -MT ${OBJECTDIR}/src/timer/timer.o -o ${OBJECTDIR}/src/timer/timer.o src/timer/timer.c
|
|
|
|
|
${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 -I"src/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/timer/timer.o.d" -MT "${OBJECTDIR}/src/timer/timer.o.d" -MT ${OBJECTDIR}/src/timer/timer.o -o ${OBJECTDIR}/src/timer/timer.o src/timer/timer.c
|
|
|
|
|
|
|
|
|
|
${OBJECTDIR}/src/LedController/LedController.o: src/LedController/LedController.c .generated_files/flags/attiny404/9b6572921ed13d88d6be9b7a24c4d781ce5b16ee .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}/src/LedController"
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/LedController/LedController.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/LedController/LedController.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 -I"src/RegEdit" -I"src/usart" -I"inc" -I"src/timer" -I"src/LedController" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/LedController/LedController.o.d" -MT "${OBJECTDIR}/src/LedController/LedController.o.d" -MT ${OBJECTDIR}/src/LedController/LedController.o -o ${OBJECTDIR}/src/LedController/LedController.o src/LedController/LedController.c
|
|
|
|
|
${OBJECTDIR}/src/Relays/Relays.o: src/Relays/Relays.c .generated_files/flags/attiny404/324ca5e5e49ffa50ec025a109308aff2414dd20a .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}/src/Relays"
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/Relays/Relays.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/Relays/Relays.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 -I"src/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/Relays/Relays.o.d" -MT "${OBJECTDIR}/src/Relays/Relays.o.d" -MT ${OBJECTDIR}/src/Relays/Relays.o -o ${OBJECTDIR}/src/Relays/Relays.o src/Relays/Relays.c
|
|
|
|
|
|
|
|
|
|
${OBJECTDIR}/src/ADC/ADC.o: src/ADC/ADC.c .generated_files/flags/attiny404/be2aabe65c1b58cc762cba6432a9fbdfc950020f .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}/src/ADC"
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/ADC/ADC.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/ADC/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 -I"src/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/ADC/ADC.o.d" -MT "${OBJECTDIR}/src/ADC/ADC.o.d" -MT ${OBJECTDIR}/src/ADC/ADC.o -o ${OBJECTDIR}/src/ADC/ADC.o src/ADC/ADC.c
|
|
|
|
|
|
|
|
|
|
${OBJECTDIR}/src/Enable/Enable.o: src/Enable/Enable.c .generated_files/flags/attiny404/d1c66a63b5a3cc2200d53d1848bbc67e2ca5fc35 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}/src/Enable"
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/Enable/Enable.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/Enable/Enable.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 -I"src/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/Enable/Enable.o.d" -MT "${OBJECTDIR}/src/Enable/Enable.o.d" -MT ${OBJECTDIR}/src/Enable/Enable.o -o ${OBJECTDIR}/src/Enable/Enable.o src/Enable/Enable.c
|
|
|
|
|
|
|
|
|
|
${OBJECTDIR}/src/load/load.o: src/load/load.c .generated_files/flags/attiny404/4e0677da85e0ec1678584e381f53ce8fe8cd650 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}/src/load"
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/load/load.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/load/load.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 -I"src/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/load/load.o.d" -MT "${OBJECTDIR}/src/load/load.o.d" -MT ${OBJECTDIR}/src/load/load.o -o ${OBJECTDIR}/src/load/load.o src/load/load.c
|
|
|
|
|
|
|
|
|
|
${OBJECTDIR}/src/SuperLoop/SuperLoop.o: src/SuperLoop/SuperLoop.c .generated_files/flags/attiny404/d2ac1e5df0174049f2b1305d2da7d99b822c73f1 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}/src/SuperLoop"
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/SuperLoop/SuperLoop.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/SuperLoop/SuperLoop.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 -I"src/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/SuperLoop/SuperLoop.o.d" -MT "${OBJECTDIR}/src/SuperLoop/SuperLoop.o.d" -MT ${OBJECTDIR}/src/SuperLoop/SuperLoop.o -o ${OBJECTDIR}/src/SuperLoop/SuperLoop.o src/SuperLoop/SuperLoop.c
|
|
|
|
|
|
|
|
|
|
${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o: src/zero_cross_detection/zero_cross_detection.c .generated_files/flags/attiny404/b9f8a7250ae7eff10107b653c857b9aafa363658 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
|
|
|
|
@${MKDIR} "${OBJECTDIR}/src/zero_cross_detection"
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o.d
|
|
|
|
|
@${RM} ${OBJECTDIR}/src/zero_cross_detection/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 -I"src/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o.d" -MT "${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o.d" -MT ${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o -o ${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o src/zero_cross_detection/zero_cross_detection.c
|
|
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
@ -166,17 +214,17 @@ endif
|
|
|
|
|
# ------------------------------------------------------------------------------------
|
|
|
|
|
# Rules for buildStep: link
|
|
|
|
|
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
|
|
|
|
|
${DISTDIR}/Relay_Tester.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
|
|
|
|
|
${DISTDIR}/Relay_and_Socket_Protection.${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}/Relay_Tester.${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 -I"src/RegEdit" -I"src/usart" -I"inc" -I"src/timer" -I"src/LedController" -Wall -gdwarf-3 -mno-const-data-in-progmem $(COMPARISON_BUILD) -Wl,--memorysummary,${DISTDIR}/memoryfile.xml -o ${DISTDIR}/Relay_Tester.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -o ${DISTDIR}/Relay_Tester.${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}/Relay_Tester.${IMAGE_TYPE}.hex
|
|
|
|
|
${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -Wl,-Map=${DISTDIR}/Relay_and_Socket_Protection.${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 -I"src/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -Wall -gdwarf-3 -mno-const-data-in-progmem $(COMPARISON_BUILD) -Wl,--memorysummary,${DISTDIR}/memoryfile.xml -o ${DISTDIR}/Relay_and_Socket_Protection.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -o ${DISTDIR}/Relay_and_Socket_Protection.${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}/Relay_and_Socket_Protection.${IMAGE_TYPE}.hex
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
${DISTDIR}/Relay_Tester.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
|
|
|
|
|
${DISTDIR}/Relay_and_Socket_Protection.${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}/Relay_Tester.${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 -I"src/RegEdit" -I"src/usart" -I"inc" -I"src/timer" -I"src/LedController" -Wall -gdwarf-3 -mno-const-data-in-progmem $(COMPARISON_BUILD) -Wl,--memorysummary,${DISTDIR}/memoryfile.xml -o ${DISTDIR}/Relay_Tester.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -o ${DISTDIR}/Relay_Tester.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -Wl,--start-group -Wl,-lm -Wl,--end-group
|
|
|
|
|
${MP_CC_DIR}/avr-objcopy -O ihex "${DISTDIR}/Relay_Tester.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX}" "${DISTDIR}/Relay_Tester.${IMAGE_TYPE}.hex"
|
|
|
|
|
${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -Wl,-Map=${DISTDIR}/Relay_and_Socket_Protection.${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 -I"src/RegEdit" -I"inc" -I"src/timer" -I"src/Relays" -I"src/SuperLoop" -I"src/Enable" -I"src/load" -I"src/zero_cross_detection" -I"src/ADC" -Wall -gdwarf-3 -mno-const-data-in-progmem $(COMPARISON_BUILD) -Wl,--memorysummary,${DISTDIR}/memoryfile.xml -o ${DISTDIR}/Relay_and_Socket_Protection.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -o ${DISTDIR}/Relay_and_Socket_Protection.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -Wl,--start-group -Wl,-lm -Wl,--end-group
|
|
|
|
|
${MP_CC_DIR}/avr-objcopy -O ihex "${DISTDIR}/Relay_and_Socket_Protection.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX}" "${DISTDIR}/Relay_and_Socket_Protection.${IMAGE_TYPE}.hex"
|
|
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|