2024-07-27 18:59:09 +00:00
|
|
|
#
|
|
|
|
# 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-attiny404.mk)" "nbproject/Makefile-local-attiny404.mk"
|
|
|
|
include nbproject/Makefile-local-attiny404.mk
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
# Environment
|
|
|
|
MKDIR=mkdir -p
|
|
|
|
RM=rm -f
|
|
|
|
MV=mv
|
|
|
|
CP=cp
|
|
|
|
|
|
|
|
# Macros
|
|
|
|
CND_CONF=attiny404
|
|
|
|
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
|
|
|
|
IMAGE_TYPE=debug
|
|
|
|
OUTPUT_SUFFIX=elf
|
|
|
|
DEBUGGABLE_SUFFIX=elf
|
2024-07-27 19:20:30 +00:00
|
|
|
FINAL_IMAGE=${DISTDIR}/High.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
|
2024-07-27 18:59:09 +00:00
|
|
|
else
|
|
|
|
IMAGE_TYPE=production
|
|
|
|
OUTPUT_SUFFIX=hex
|
|
|
|
DEBUGGABLE_SUFFIX=elf
|
2024-07-27 19:20:30 +00:00
|
|
|
FINAL_IMAGE=${DISTDIR}/High.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
|
2024-07-27 18:59:09 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(COMPARE_BUILD), true)
|
|
|
|
COMPARISON_BUILD=-mafrlcsj
|
|
|
|
else
|
|
|
|
COMPARISON_BUILD=
|
|
|
|
endif
|
|
|
|
|
|
|
|
# Object Directory
|
|
|
|
OBJECTDIR=build/${CND_CONF}/${IMAGE_TYPE}
|
|
|
|
|
|
|
|
# Distribution Directory
|
|
|
|
DISTDIR=dist/${CND_CONF}/${IMAGE_TYPE}
|
|
|
|
|
|
|
|
# Source Files Quoted if spaced
|
|
|
|
SOURCEFILES_QUOTED_IF_SPACED=src/main.c src/ADC/ADC.c src/load/load.c src/RegEdit/RegEdit.c src/TriacOut/TriacOut.c src/usart/usart.c src/zero_cross_detection/zero_cross_detection.c
|
|
|
|
|
|
|
|
# Object Files Quoted if spaced
|
|
|
|
OBJECTFILES_QUOTED_IF_SPACED=${OBJECTDIR}/src/main.o ${OBJECTDIR}/src/ADC/ADC.o ${OBJECTDIR}/src/load/load.o ${OBJECTDIR}/src/RegEdit/RegEdit.o ${OBJECTDIR}/src/TriacOut/TriacOut.o ${OBJECTDIR}/src/usart/usart.o ${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o
|
|
|
|
POSSIBLE_DEPFILES=${OBJECTDIR}/src/main.o.d ${OBJECTDIR}/src/ADC/ADC.o.d ${OBJECTDIR}/src/load/load.o.d ${OBJECTDIR}/src/RegEdit/RegEdit.o.d ${OBJECTDIR}/src/TriacOut/TriacOut.o.d ${OBJECTDIR}/src/usart/usart.o.d ${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o.d
|
|
|
|
|
|
|
|
# Object Files
|
|
|
|
OBJECTFILES=${OBJECTDIR}/src/main.o ${OBJECTDIR}/src/ADC/ADC.o ${OBJECTDIR}/src/load/load.o ${OBJECTDIR}/src/RegEdit/RegEdit.o ${OBJECTDIR}/src/TriacOut/TriacOut.o ${OBJECTDIR}/src/usart/usart.o ${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o
|
|
|
|
|
|
|
|
# Source Files
|
|
|
|
SOURCEFILES=src/main.c src/ADC/ADC.c src/load/load.c src/RegEdit/RegEdit.c src/TriacOut/TriacOut.c src/usart/usart.c src/zero_cross_detection/zero_cross_detection.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
|
2024-07-27 19:20:30 +00:00
|
|
|
${MAKE} -f nbproject/Makefile-attiny404.mk ${DISTDIR}/High.${IMAGE_TYPE}.${OUTPUT_SUFFIX}
|
2024-07-27 18:59:09 +00:00
|
|
|
|
|
|
|
MP_PROCESSOR_OPTION=ATtiny404
|
|
|
|
# ------------------------------------------------------------------------------------
|
|
|
|
# Rules for buildStep: compile
|
|
|
|
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
|
2024-07-27 19:20:30 +00:00
|
|
|
${OBJECTDIR}/src/main.o: src/main.c .generated_files/flags/attiny404/aecee3725443dc985c0f32a6956b455881fbeb9d .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-27 18:59:09 +00:00
|
|
|
@${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/ADC" -I"src/load" -I"src/RegEdit" -I"src/TriacOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -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
|
|
|
|
|
2024-07-27 19:20:30 +00:00
|
|
|
${OBJECTDIR}/src/ADC/ADC.o: src/ADC/ADC.c .generated_files/flags/attiny404/4eb1029d6a8b5ad31a3ae0aeb2ee585943f0498c .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-27 18:59:09 +00:00
|
|
|
@${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/ADC" -I"src/load" -I"src/RegEdit" -I"src/TriacOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -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
|
|
|
|
|
2024-07-27 19:20:30 +00:00
|
|
|
${OBJECTDIR}/src/load/load.o: src/load/load.c .generated_files/flags/attiny404/67bfa0afa014699d81794dfa3e276d1d5e9bc4cc .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-27 18:59:09 +00:00
|
|
|
@${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/ADC" -I"src/load" -I"src/RegEdit" -I"src/TriacOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -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
|
|
|
|
|
2024-07-27 19:20:30 +00:00
|
|
|
${OBJECTDIR}/src/RegEdit/RegEdit.o: src/RegEdit/RegEdit.c .generated_files/flags/attiny404/5ee67bfaec5b32a70cd87468e37e9d7028cc5cb4 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-27 18:59:09 +00:00
|
|
|
@${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/ADC" -I"src/load" -I"src/RegEdit" -I"src/TriacOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -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
|
|
|
|
|
2024-07-27 19:20:30 +00:00
|
|
|
${OBJECTDIR}/src/TriacOut/TriacOut.o: src/TriacOut/TriacOut.c .generated_files/flags/attiny404/65ea3d9d4f35c77cada18ba00c3e507c35010c00 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-27 18:59:09 +00:00
|
|
|
@${MKDIR} "${OBJECTDIR}/src/TriacOut"
|
|
|
|
@${RM} ${OBJECTDIR}/src/TriacOut/TriacOut.o.d
|
|
|
|
@${RM} ${OBJECTDIR}/src/TriacOut/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 -I"src/ADC" -I"src/load" -I"src/RegEdit" -I"src/TriacOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/TriacOut/TriacOut.o.d" -MT "${OBJECTDIR}/src/TriacOut/TriacOut.o.d" -MT ${OBJECTDIR}/src/TriacOut/TriacOut.o -o ${OBJECTDIR}/src/TriacOut/TriacOut.o src/TriacOut/TriacOut.c
|
|
|
|
|
2024-07-27 19:20:30 +00:00
|
|
|
${OBJECTDIR}/src/usart/usart.o: src/usart/usart.c .generated_files/flags/attiny404/21cc214b8e503aca18da029f2d4f190ae670c09 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-27 18:59:09 +00:00
|
|
|
@${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/ADC" -I"src/load" -I"src/RegEdit" -I"src/TriacOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -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
|
|
|
|
|
2024-07-27 19:20:30 +00:00
|
|
|
${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o: src/zero_cross_detection/zero_cross_detection.c .generated_files/flags/attiny404/ccf38ed28ce6dcf8edf2b63053d6442db316a6ff .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-27 18:59:09 +00:00
|
|
|
@${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/ADC" -I"src/load" -I"src/RegEdit" -I"src/TriacOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -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
|
2024-07-27 19:20:30 +00:00
|
|
|
${OBJECTDIR}/src/main.o: src/main.c .generated_files/flags/attiny404/76915f4ddaa731042648894a001fea0e7736cd00 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-27 18:59:09 +00:00
|
|
|
@${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/ADC" -I"src/load" -I"src/RegEdit" -I"src/TriacOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -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
|
|
|
|
|
2024-07-27 19:20:30 +00:00
|
|
|
${OBJECTDIR}/src/ADC/ADC.o: src/ADC/ADC.c .generated_files/flags/attiny404/1fa9c6a0d2a4b653b5f0e6c5c464932582a2e526 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-27 18:59:09 +00:00
|
|
|
@${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/ADC" -I"src/load" -I"src/RegEdit" -I"src/TriacOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -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
|
|
|
|
|
2024-07-27 19:20:30 +00:00
|
|
|
${OBJECTDIR}/src/load/load.o: src/load/load.c .generated_files/flags/attiny404/633993a2558739a257f77fa3402fb9dc127b57eb .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-27 18:59:09 +00:00
|
|
|
@${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/ADC" -I"src/load" -I"src/RegEdit" -I"src/TriacOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -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
|
|
|
|
|
2024-07-27 19:20:30 +00:00
|
|
|
${OBJECTDIR}/src/RegEdit/RegEdit.o: src/RegEdit/RegEdit.c .generated_files/flags/attiny404/9e96cbad6f08040221b5c89c79dc4800727e1c82 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-27 18:59:09 +00:00
|
|
|
@${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/ADC" -I"src/load" -I"src/RegEdit" -I"src/TriacOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -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
|
|
|
|
|
2024-07-27 19:20:30 +00:00
|
|
|
${OBJECTDIR}/src/TriacOut/TriacOut.o: src/TriacOut/TriacOut.c .generated_files/flags/attiny404/5b096c7cf524ed9751d51cb09e9650e120f4dddc .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-27 18:59:09 +00:00
|
|
|
@${MKDIR} "${OBJECTDIR}/src/TriacOut"
|
|
|
|
@${RM} ${OBJECTDIR}/src/TriacOut/TriacOut.o.d
|
|
|
|
@${RM} ${OBJECTDIR}/src/TriacOut/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 -I"src/ADC" -I"src/load" -I"src/RegEdit" -I"src/TriacOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -Wall -DXPRJ_attiny404=$(CND_CONF) $(COMPARISON_BUILD) -gdwarf-3 -mno-const-data-in-progmem -MD -MP -MF "${OBJECTDIR}/src/TriacOut/TriacOut.o.d" -MT "${OBJECTDIR}/src/TriacOut/TriacOut.o.d" -MT ${OBJECTDIR}/src/TriacOut/TriacOut.o -o ${OBJECTDIR}/src/TriacOut/TriacOut.o src/TriacOut/TriacOut.c
|
|
|
|
|
2024-07-27 19:20:30 +00:00
|
|
|
${OBJECTDIR}/src/usart/usart.o: src/usart/usart.c .generated_files/flags/attiny404/5af626141502c93dafcd86a503c37c9a477db5f3 .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-27 18:59:09 +00:00
|
|
|
@${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/ADC" -I"src/load" -I"src/RegEdit" -I"src/TriacOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -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
|
|
|
|
|
2024-07-27 19:20:30 +00:00
|
|
|
${OBJECTDIR}/src/zero_cross_detection/zero_cross_detection.o: src/zero_cross_detection/zero_cross_detection.c .generated_files/flags/attiny404/e532076d897de0055be35099a21f5141de8900ec .generated_files/flags/attiny404/da39a3ee5e6b4b0d3255bfef95601890afd80709
|
2024-07-27 18:59:09 +00:00
|
|
|
@${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/ADC" -I"src/load" -I"src/RegEdit" -I"src/TriacOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -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
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------------
|
|
|
|
# Rules for buildStep: assemble
|
|
|
|
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
|
|
|
|
else
|
|
|
|
endif
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------------
|
|
|
|
# Rules for buildStep: assembleWithPreprocess
|
|
|
|
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
|
|
|
|
else
|
|
|
|
endif
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------------
|
|
|
|
# Rules for buildStep: link
|
|
|
|
ifeq ($(TYPE_IMAGE), DEBUG_RUN)
|
2024-07-27 19:20:30 +00:00
|
|
|
${DISTDIR}/High.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
|
2024-07-27 18:59:09 +00:00
|
|
|
@${MKDIR} ${DISTDIR}
|
2024-07-27 19:20:30 +00:00
|
|
|
${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -Wl,-Map=${DISTDIR}/High.${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/ADC" -I"src/load" -I"src/RegEdit" -I"src/TriacOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -Wall -gdwarf-3 -mno-const-data-in-progmem $(COMPARISON_BUILD) -Wl,--memorysummary,${DISTDIR}/memoryfile.xml -o ${DISTDIR}/High.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -o ${DISTDIR}/High.${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}/High.${IMAGE_TYPE}.hex
|
2024-07-27 18:59:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
else
|
2024-07-27 19:20:30 +00:00
|
|
|
${DISTDIR}/High.${IMAGE_TYPE}.${OUTPUT_SUFFIX}: ${OBJECTFILES} nbproject/Makefile-${CND_CONF}.mk
|
2024-07-27 18:59:09 +00:00
|
|
|
@${MKDIR} ${DISTDIR}
|
2024-07-27 19:20:30 +00:00
|
|
|
${MP_CC} $(MP_EXTRA_LD_PRE) -mcpu=$(MP_PROCESSOR_OPTION) -Wl,-Map=${DISTDIR}/High.${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/ADC" -I"src/load" -I"src/RegEdit" -I"src/TriacOut" -I"src/zero_cross_detection" -I"src/usart" -I"inc" -Wall -gdwarf-3 -mno-const-data-in-progmem $(COMPARISON_BUILD) -Wl,--memorysummary,${DISTDIR}/memoryfile.xml -o ${DISTDIR}/High.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} -o ${DISTDIR}/High.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX} ${OBJECTFILES_QUOTED_IF_SPACED} -Wl,--start-group -Wl,-lm -Wl,--end-group
|
|
|
|
${MP_CC_DIR}/avr-objcopy -O ihex "${DISTDIR}/High.${IMAGE_TYPE}.${DEBUGGABLE_SUFFIX}" "${DISTDIR}/High.${IMAGE_TYPE}.hex"
|
2024-07-27 18:59:09 +00:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
# Subprojects
|
|
|
|
.build-subprojects:
|
|
|
|
|
|
|
|
|
|
|
|
# Subprojects
|
|
|
|
.clean-subprojects:
|
|
|
|
|
|
|
|
# Clean Targets
|
|
|
|
.clean-conf: ${CLEAN_SUBPROJECTS}
|
|
|
|
${RM} -r ${OBJECTDIR}
|
|
|
|
${RM} -r ${DISTDIR}
|
|
|
|
|
|
|
|
# Enable dependency checking
|
|
|
|
.dep.inc: .depcheck-impl
|
|
|
|
|
|
|
|
DEPFILES=$(wildcard ${POSSIBLE_DEPFILES})
|
|
|
|
ifneq (${DEPFILES},)
|
|
|
|
include ${DEPFILES}
|
|
|
|
endif
|