229 lines
9.4 KiB
Makefile
229 lines
9.4 KiB
Makefile
################################################################################
|
|
# Automatically-generated file. Do not edit!
|
|
################################################################################
|
|
|
|
SHELL := cmd.exe
|
|
RM := rm -rf
|
|
|
|
USER_OBJS :=
|
|
|
|
LIBS :=
|
|
PROJ :=
|
|
|
|
O_SRCS :=
|
|
C_SRCS :=
|
|
S_SRCS :=
|
|
S_UPPER_SRCS :=
|
|
OBJ_SRCS :=
|
|
ASM_SRCS :=
|
|
PREPROCESSING_SRCS :=
|
|
OBJS :=
|
|
OBJS_AS_ARGS :=
|
|
C_DEPS :=
|
|
C_DEPS_AS_ARGS :=
|
|
EXECUTABLES :=
|
|
OUTPUT_FILE_PATH :=
|
|
OUTPUT_FILE_PATH_AS_ARGS :=
|
|
AVR_APP_PATH :=$$$AVR_APP_PATH$$$
|
|
QUOTE := "
|
|
ADDITIONAL_DEPENDENCIES:=
|
|
OUTPUT_FILE_DEP:=
|
|
LIB_DEP:=
|
|
LINKER_SCRIPT_DEP:=
|
|
|
|
# Every subdirectory with source files must be described here
|
|
SUBDIRS := \
|
|
../Device_Startup/
|
|
|
|
|
|
# Add inputs and outputs from these tool invocations to the build variables
|
|
C_SRCS += \
|
|
../Device_Startup/startup_sam3xa.c \
|
|
../Device_Startup/system_sam3xa.c \
|
|
../heap_1.c \
|
|
../list.c \
|
|
../main.c \
|
|
../port.c \
|
|
../queue.c \
|
|
../tasks.c \
|
|
../timers.c
|
|
|
|
|
|
PREPROCESSING_SRCS +=
|
|
|
|
|
|
ASM_SRCS +=
|
|
|
|
|
|
OBJS += \
|
|
Device_Startup/startup_sam3xa.o \
|
|
Device_Startup/system_sam3xa.o \
|
|
heap_1.o \
|
|
list.o \
|
|
main.o \
|
|
port.o \
|
|
queue.o \
|
|
tasks.o \
|
|
timers.o
|
|
|
|
OBJS_AS_ARGS += \
|
|
Device_Startup/startup_sam3xa.o \
|
|
Device_Startup/system_sam3xa.o \
|
|
heap_1.o \
|
|
list.o \
|
|
main.o \
|
|
port.o \
|
|
queue.o \
|
|
tasks.o \
|
|
timers.o
|
|
|
|
C_DEPS += \
|
|
Device_Startup/startup_sam3xa.d \
|
|
Device_Startup/system_sam3xa.d \
|
|
heap_1.d \
|
|
list.d \
|
|
main.d \
|
|
port.d \
|
|
queue.d \
|
|
tasks.d \
|
|
timers.d
|
|
|
|
C_DEPS_AS_ARGS += \
|
|
Device_Startup/startup_sam3xa.d \
|
|
Device_Startup/system_sam3xa.d \
|
|
heap_1.d \
|
|
list.d \
|
|
main.d \
|
|
port.d \
|
|
queue.d \
|
|
tasks.d \
|
|
timers.d
|
|
|
|
OUTPUT_FILE_PATH +=projekt_wyklad_6_freertos.elf
|
|
|
|
OUTPUT_FILE_PATH_AS_ARGS +=projekt_wyklad_6_freertos.elf
|
|
|
|
ADDITIONAL_DEPENDENCIES:=
|
|
|
|
OUTPUT_FILE_DEP:= ./makedep.mk
|
|
|
|
LIB_DEP+=
|
|
|
|
LINKER_SCRIPT_DEP+= \
|
|
../Device_Startup/sam3x8e_flash.ld \
|
|
../Device_Startup/sam3x8e_sram.ld \
|
|
../Device_Startup/sam3xa_flash.ld \
|
|
../Device_Startup/sam3xa_sram.ld
|
|
|
|
|
|
# AVR32/GNU C Compiler
|
|
Device_Startup/startup_sam3xa.o: ../Device_Startup/startup_sam3xa.c
|
|
@echo Building file: $<
|
|
@echo Invoking: ARM/GNU C Compiler : 6.3.1
|
|
$(QUOTE)D:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-none-eabi\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAM3X8E__ -DDEBUG -I"D:\Program Files\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"D:\Program Files\Atmel\Studio\7.0\Packs\atmel\SAM3X_DFP\1.0.50\include" -O0 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m3 -c -std=gnu99 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
|
|
@echo Finished building: $<
|
|
|
|
|
|
Device_Startup/system_sam3xa.o: ../Device_Startup/system_sam3xa.c
|
|
@echo Building file: $<
|
|
@echo Invoking: ARM/GNU C Compiler : 6.3.1
|
|
$(QUOTE)D:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-none-eabi\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAM3X8E__ -DDEBUG -I"D:\Program Files\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"D:\Program Files\Atmel\Studio\7.0\Packs\atmel\SAM3X_DFP\1.0.50\include" -O0 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m3 -c -std=gnu99 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
|
|
@echo Finished building: $<
|
|
|
|
|
|
./heap_1.o: .././heap_1.c
|
|
@echo Building file: $<
|
|
@echo Invoking: ARM/GNU C Compiler : 6.3.1
|
|
$(QUOTE)D:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-none-eabi\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAM3X8E__ -DDEBUG -I"D:\Program Files\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"D:\Program Files\Atmel\Studio\7.0\Packs\atmel\SAM3X_DFP\1.0.50\include" -O0 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m3 -c -std=gnu99 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
|
|
@echo Finished building: $<
|
|
|
|
|
|
./list.o: .././list.c
|
|
@echo Building file: $<
|
|
@echo Invoking: ARM/GNU C Compiler : 6.3.1
|
|
$(QUOTE)D:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-none-eabi\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAM3X8E__ -DDEBUG -I"D:\Program Files\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"D:\Program Files\Atmel\Studio\7.0\Packs\atmel\SAM3X_DFP\1.0.50\include" -O0 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m3 -c -std=gnu99 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
|
|
@echo Finished building: $<
|
|
|
|
|
|
./main.o: .././main.c
|
|
@echo Building file: $<
|
|
@echo Invoking: ARM/GNU C Compiler : 6.3.1
|
|
$(QUOTE)D:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-none-eabi\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAM3X8E__ -DDEBUG -I"D:\Program Files\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"D:\Program Files\Atmel\Studio\7.0\Packs\atmel\SAM3X_DFP\1.0.50\include" -O0 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m3 -c -std=gnu99 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
|
|
@echo Finished building: $<
|
|
|
|
|
|
./port.o: .././port.c
|
|
@echo Building file: $<
|
|
@echo Invoking: ARM/GNU C Compiler : 6.3.1
|
|
$(QUOTE)D:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-none-eabi\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAM3X8E__ -DDEBUG -I"D:\Program Files\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"D:\Program Files\Atmel\Studio\7.0\Packs\atmel\SAM3X_DFP\1.0.50\include" -O0 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m3 -c -std=gnu99 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
|
|
@echo Finished building: $<
|
|
|
|
|
|
./queue.o: .././queue.c
|
|
@echo Building file: $<
|
|
@echo Invoking: ARM/GNU C Compiler : 6.3.1
|
|
$(QUOTE)D:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-none-eabi\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAM3X8E__ -DDEBUG -I"D:\Program Files\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"D:\Program Files\Atmel\Studio\7.0\Packs\atmel\SAM3X_DFP\1.0.50\include" -O0 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m3 -c -std=gnu99 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
|
|
@echo Finished building: $<
|
|
|
|
|
|
./tasks.o: .././tasks.c
|
|
@echo Building file: $<
|
|
@echo Invoking: ARM/GNU C Compiler : 6.3.1
|
|
$(QUOTE)D:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-none-eabi\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAM3X8E__ -DDEBUG -I"D:\Program Files\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"D:\Program Files\Atmel\Studio\7.0\Packs\atmel\SAM3X_DFP\1.0.50\include" -O0 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m3 -c -std=gnu99 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
|
|
@echo Finished building: $<
|
|
|
|
|
|
./timers.o: .././timers.c
|
|
@echo Building file: $<
|
|
@echo Invoking: ARM/GNU C Compiler : 6.3.1
|
|
$(QUOTE)D:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-none-eabi\bin\arm-none-eabi-gcc.exe$(QUOTE) -x c -mthumb -D__SAM3X8E__ -DDEBUG -I"D:\Program Files\Atmel\Studio\7.0\Packs\arm\CMSIS\5.4.0\CMSIS\Core\Include" -I"D:\Program Files\Atmel\Studio\7.0\Packs\atmel\SAM3X_DFP\1.0.50\include" -O0 -ffunction-sections -mlong-calls -g3 -Wall -mcpu=cortex-m3 -c -std=gnu99 -MD -MP -MF "$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -MT"$(@:%.o=%.o)" -o "$@" "$<"
|
|
@echo Finished building: $<
|
|
|
|
|
|
|
|
|
|
|
|
# AVR32/GNU Preprocessing Assembler
|
|
|
|
|
|
|
|
# AVR32/GNU Assembler
|
|
|
|
|
|
|
|
|
|
ifneq ($(MAKECMDGOALS),clean)
|
|
ifneq ($(strip $(C_DEPS)),)
|
|
-include $(C_DEPS)
|
|
endif
|
|
endif
|
|
|
|
# Add inputs and outputs from these tool invocations to the build variables
|
|
|
|
# All Target
|
|
all: $(OUTPUT_FILE_PATH) $(ADDITIONAL_DEPENDENCIES)
|
|
|
|
$(OUTPUT_FILE_PATH): $(OBJS) $(USER_OBJS) $(OUTPUT_FILE_DEP) $(LIB_DEP) $(LINKER_SCRIPT_DEP)
|
|
@echo Building target: $@
|
|
@echo Invoking: ARM/GNU Linker : 6.3.1
|
|
$(QUOTE)D:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-none-eabi\bin\arm-none-eabi-gcc.exe$(QUOTE) -o$(OUTPUT_FILE_PATH_AS_ARGS) $(OBJS_AS_ARGS) $(USER_OBJS) $(LIBS) -mthumb -Wl,-Map="projekt_wyklad_6_freertos.map" -Wl,--start-group -lm -Wl,--end-group -L"..\\Device_Startup" -Wl,--gc-sections -mcpu=cortex-m3 -Tsam3x8e_flash.ld
|
|
@echo Finished building target: $@
|
|
"D:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-none-eabi\bin\arm-none-eabi-objcopy.exe" -O binary "projekt_wyklad_6_freertos.elf" "projekt_wyklad_6_freertos.bin"
|
|
"D:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-none-eabi\bin\arm-none-eabi-objcopy.exe" -O ihex -R .eeprom -R .fuse -R .lock -R .signature "projekt_wyklad_6_freertos.elf" "projekt_wyklad_6_freertos.hex"
|
|
"D:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-none-eabi\bin\arm-none-eabi-objcopy.exe" -j .eeprom --set-section-flags=.eeprom=alloc,load --change-section-lma .eeprom=0 --no-change-warnings -O binary "projekt_wyklad_6_freertos.elf" "projekt_wyklad_6_freertos.eep" || exit 0
|
|
"D:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-none-eabi\bin\arm-none-eabi-objdump.exe" -h -S "projekt_wyklad_6_freertos.elf" > "projekt_wyklad_6_freertos.lss"
|
|
"D:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-none-eabi\bin\arm-none-eabi-objcopy.exe" -O srec -R .eeprom -R .fuse -R .lock -R .signature "projekt_wyklad_6_freertos.elf" "projekt_wyklad_6_freertos.srec"
|
|
"D:\Program Files\Atmel\Studio\7.0\toolchain\arm\arm-none-eabi\bin\arm-none-eabi-size.exe" "projekt_wyklad_6_freertos.elf"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Other Targets
|
|
clean:
|
|
-$(RM) $(OBJS_AS_ARGS) $(EXECUTABLES)
|
|
-$(RM) $(C_DEPS_AS_ARGS)
|
|
rm -rf "projekt_wyklad_6_freertos.elf" "projekt_wyklad_6_freertos.a" "projekt_wyklad_6_freertos.hex" "projekt_wyklad_6_freertos.bin" "projekt_wyklad_6_freertos.lss" "projekt_wyklad_6_freertos.eep" "projekt_wyklad_6_freertos.map" "projekt_wyklad_6_freertos.srec"
|
|
|