source: trunk/firmware_v3/STM32CubeIDE/Release/makefile@ 41

Last change on this file since 41 was 41, checked in by f.jahn, 8 days ago

V3 Version soweit fertig. Relais ansteuerung, modbus, temperatursensor ist implementiert
Commit vor Änderung auf neuen Controller mit mehr Speicher

File size: 3.0 KB
Line 
1################################################################################
2# Automatically-generated file. Do not edit!
3# Toolchain: GNU Tools for STM32 (13.3.rel1)
4################################################################################
5
6-include ../makefile.init
7
8RM := rm -rf
9
10# All of the sources participating in the build are defined here
11-include sources.mk
12-include src/subdir.mk
13-include Drivers/STM32C0xx_HAL_Driver/subdir.mk
14-include Drivers/CMSIS/subdir.mk
15-include Application/User/Startup/subdir.mk
16-include Application/User/Core/subdir.mk
17-include objects.mk
18
19ifneq ($(MAKECMDGOALS),clean)
20ifneq ($(strip $(S_DEPS)),)
21-include $(S_DEPS)
22endif
23ifneq ($(strip $(S_UPPER_DEPS)),)
24-include $(S_UPPER_DEPS)
25endif
26ifneq ($(strip $(C_DEPS)),)
27-include $(C_DEPS)
28endif
29endif
30
31-include ../makefile.defs
32
33OPTIONAL_TOOL_DEPS := \
34$(wildcard ../makefile.defs) \
35$(wildcard ../makefile.init) \
36$(wildcard ../makefile.targets) \
37
38
39BUILD_ARTIFACT_NAME := firmware_v2
40BUILD_ARTIFACT_EXTENSION := elf
41BUILD_ARTIFACT_PREFIX :=
42BUILD_ARTIFACT := $(BUILD_ARTIFACT_PREFIX)$(BUILD_ARTIFACT_NAME)$(if $(BUILD_ARTIFACT_EXTENSION),.$(BUILD_ARTIFACT_EXTENSION),)
43
44# Add inputs and outputs from these tool invocations to the build variables
45EXECUTABLES += \
46firmware_v2.elf \
47
48MAP_FILES += \
49firmware_v2.map \
50
51SIZE_OUTPUT += \
52default.size.stdout \
53
54OBJDUMP_LIST += \
55firmware_v2.list \
56
57
58# All Target
59all: main-build
60
61# Main-build Target
62main-build: firmware_v2.elf secondary-outputs
63
64# Tool invocations
65firmware_v2.elf firmware_v2.map: $(OBJS) $(USER_OBJS) D:\Projekte\ecs_PowerPro\trunk\firmware_v2\STM32CubeIDE\STM32C031K4TX_FLASH.ld makefile objects.list $(OPTIONAL_TOOL_DEPS)
66 arm-none-eabi-gcc -o "firmware_v2.elf" @"objects.list" $(USER_OBJS) $(LIBS) -mcpu=cortex-m0plus -T"D:\Projekte\ecs_PowerPro\trunk\firmware_v2\STM32CubeIDE\STM32C031K4TX_FLASH.ld" --specs=nosys.specs -Wl,-Map="firmware_v2.map" -Wl,--gc-sections -static --specs=nano.specs -mfloat-abi=soft -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
67 @echo 'Finished building target: $@'
68 @echo ' '
69
70default.size.stdout: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
71 arm-none-eabi-size $(EXECUTABLES)
72 @echo 'Finished building: $@'
73 @echo ' '
74
75firmware_v2.list: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
76 arm-none-eabi-objdump -h -S $(EXECUTABLES) > "firmware_v2.list"
77 @echo 'Finished building: $@'
78 @echo ' '
79
80# Other Targets
81clean:
82 -$(RM) default.size.stdout firmware_v2.elf firmware_v2.list firmware_v2.map
83 -@echo ' '
84
85secondary-outputs: $(SIZE_OUTPUT) $(OBJDUMP_LIST)
86
87fail-specified-linker-script-missing:
88 @echo 'Error: Cannot find the specified linker script. Check the linker settings in the build configuration.'
89 @exit 2
90
91warn-no-linker-script-specified:
92 @echo 'Warning: No linker script specified. Check the linker settings in the build configuration.'
93
94.PHONY: all clean dependents main-build fail-specified-linker-script-missing warn-no-linker-script-specified
95
96-include ../makefile.targets
Note: See TracBrowser for help on using the repository browser.