parent
c47a09751f
commit
eafbdc1e17
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,91 @@
|
|||||||
|
################################################################################
|
||||||
|
# Automatically-generated file. Do not edit!
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
-include ../makefile.init
|
||||||
|
|
||||||
|
RM := rm -rf
|
||||||
|
|
||||||
|
# All of the sources participating in the build are defined here
|
||||||
|
-include sources.mk
|
||||||
|
-include Src/subdir.mk
|
||||||
|
-include Middlewares/ST/STM32_USB_Device_Library/Core/Src/subdir.mk
|
||||||
|
-include Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src/subdir.mk
|
||||||
|
-include Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/subdir.mk
|
||||||
|
-include Drivers/STM32F4xx_HAL_Driver/Src/subdir.mk
|
||||||
|
-include Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc/subdir.mk
|
||||||
|
-include Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/subdir.mk
|
||||||
|
-include subdir.mk
|
||||||
|
-include objects.mk
|
||||||
|
|
||||||
|
ifneq ($(MAKECMDGOALS),clean)
|
||||||
|
ifneq ($(strip $(ASM_DEPS)),)
|
||||||
|
-include $(ASM_DEPS)
|
||||||
|
endif
|
||||||
|
ifneq ($(strip $(S_UPPER_DEPS)),)
|
||||||
|
-include $(S_UPPER_DEPS)
|
||||||
|
endif
|
||||||
|
ifneq ($(strip $(C_DEPS)),)
|
||||||
|
-include $(C_DEPS)
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
-include ../makefile.defs
|
||||||
|
|
||||||
|
OPTIONAL_TOOL_DEPS := \
|
||||||
|
$(wildcard ../makefile.defs) \
|
||||||
|
$(wildcard ../makefile.init) \
|
||||||
|
$(wildcard ../makefile.targets) \
|
||||||
|
|
||||||
|
|
||||||
|
BUILD_ARTIFACT_NAME := Upstream
|
||||||
|
BUILD_ARTIFACT_EXTENSION := elf
|
||||||
|
BUILD_ARTIFACT_PREFIX :=
|
||||||
|
BUILD_ARTIFACT := $(BUILD_ARTIFACT_PREFIX)$(BUILD_ARTIFACT_NAME)$(if $(BUILD_ARTIFACT_EXTENSION),.$(BUILD_ARTIFACT_EXTENSION),)
|
||||||
|
|
||||||
|
# Add inputs and outputs from these tool invocations to the build variables
|
||||||
|
SECONDARY_FLASH += \
|
||||||
|
Upstream.hex \
|
||||||
|
|
||||||
|
SECONDARY_SIZE += \
|
||||||
|
Upstream.siz \
|
||||||
|
|
||||||
|
|
||||||
|
# All Target
|
||||||
|
all: Upstream.elf secondary-outputs
|
||||||
|
|
||||||
|
# Tool invocations
|
||||||
|
Upstream.elf: $(OBJS) $(USER_OBJS) makefile objects.mk $(OPTIONAL_TOOL_DEPS)
|
||||||
|
@echo 'Building target: $@'
|
||||||
|
@echo 'Invoking: Cross ARM C Linker'
|
||||||
|
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Og -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wuninitialized -Wall -Wextra -Wpointer-arith -Wlogical-op -g3 -T "/home/ivan/Загрузки/USG_STM32F4_QFN/Upstream/gcc_arm_stm32f401.ld" -nostartfiles -Xlinker --gc-sections -Wl,-Map,"Upstream.map" --specs=nano.specs -o "Upstream.elf" $(OBJS) $(USER_OBJS) $(LIBS)
|
||||||
|
@echo 'Finished building target: $@'
|
||||||
|
@echo ' '
|
||||||
|
$(MAKE) --no-print-directory post-build
|
||||||
|
|
||||||
|
Upstream.hex: Upstream.elf makefile objects.mk $(OPTIONAL_TOOL_DEPS)
|
||||||
|
@echo 'Invoking: Cross ARM GNU Create Flash Image'
|
||||||
|
arm-none-eabi-objcopy -O ihex "Upstream.elf" "Upstream.hex"
|
||||||
|
@echo 'Finished building: $@'
|
||||||
|
@echo ' '
|
||||||
|
|
||||||
|
Upstream.siz: Upstream.elf makefile objects.mk $(OPTIONAL_TOOL_DEPS)
|
||||||
|
@echo 'Invoking: Cross ARM GNU Print Size'
|
||||||
|
arm-none-eabi-size --format=berkeley "Upstream.elf"
|
||||||
|
@echo 'Finished building: $@'
|
||||||
|
@echo ' '
|
||||||
|
|
||||||
|
# Other Targets
|
||||||
|
clean:
|
||||||
|
-$(RM) $(OBJS)$(SECONDARY_FLASH)$(SECONDARY_SIZE)$(ASM_DEPS)$(S_UPPER_DEPS)$(C_DEPS) Upstream.elf
|
||||||
|
-@echo ' '
|
||||||
|
|
||||||
|
post-build:
|
||||||
|
-arm-none-eabi-objcopy -O binary Upstream.elf Upstream.bin
|
||||||
|
-@echo ' '
|
||||||
|
|
||||||
|
secondary-outputs: $(SECONDARY_FLASH) $(SECONDARY_SIZE)
|
||||||
|
|
||||||
|
.PHONY: all clean dependents post-build
|
||||||
|
|
||||||
|
-include ../makefile.targets
|
@ -0,0 +1,8 @@
|
|||||||
|
################################################################################
|
||||||
|
# Automatically-generated file. Do not edit!
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
USER_OBJS :=
|
||||||
|
|
||||||
|
LIBS :=
|
||||||
|
|
@ -0,0 +1,27 @@
|
|||||||
|
################################################################################
|
||||||
|
# Automatically-generated file. Do not edit!
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
ELF_SRCS :=
|
||||||
|
OBJ_SRCS :=
|
||||||
|
ASM_SRCS :=
|
||||||
|
C_SRCS :=
|
||||||
|
S_UPPER_SRCS :=
|
||||||
|
O_SRCS :=
|
||||||
|
OBJS :=
|
||||||
|
SECONDARY_FLASH :=
|
||||||
|
SECONDARY_SIZE :=
|
||||||
|
ASM_DEPS :=
|
||||||
|
S_UPPER_DEPS :=
|
||||||
|
C_DEPS :=
|
||||||
|
|
||||||
|
# Every subdirectory with source files must be described here
|
||||||
|
SUBDIRS := \
|
||||||
|
Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc \
|
||||||
|
Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates \
|
||||||
|
Drivers/STM32F4xx_HAL_Driver/Src \
|
||||||
|
Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src \
|
||||||
|
Middlewares/ST/STM32_USB_Device_Library/Class/MSC/Src \
|
||||||
|
Middlewares/ST/STM32_USB_Device_Library/Core/Src \
|
||||||
|
Src \
|
||||||
|
|
Loading…
Reference in new issue