+8
-13
@@ -1,6 +1,6 @@
|
||||
################################################################################
|
||||
# Automatically-generated file. Do not edit!
|
||||
# Toolchain: GNU Tools for STM32 (9-2020-q2-update)
|
||||
# Toolchain: GNU Tools for STM32 (11.3.rel1)
|
||||
################################################################################
|
||||
|
||||
-include ../makefile.init
|
||||
@@ -45,15 +45,15 @@ BUILD_ARTIFACT := $(BUILD_ARTIFACT_PREFIX)$(BUILD_ARTIFACT_NAME)$(if $(BUILD_ART
|
||||
EXECUTABLES += \
|
||||
m3s.elf \
|
||||
|
||||
MAP_FILES += \
|
||||
m3s.map \
|
||||
|
||||
SIZE_OUTPUT += \
|
||||
default.size.stdout \
|
||||
|
||||
OBJDUMP_LIST += \
|
||||
m3s.list \
|
||||
|
||||
OBJCOPY_BIN += \
|
||||
m3s.bin \
|
||||
|
||||
|
||||
# All Target
|
||||
all: main-build
|
||||
@@ -62,8 +62,8 @@ all: main-build
|
||||
main-build: m3s.elf secondary-outputs
|
||||
|
||||
# Tool invocations
|
||||
m3s.elf: $(OBJS) $(USER_OBJS) C:\Users\wuwen\Desktop\M3s_stm32\STM32F103ZETX_FLASH.ld makefile objects.list $(OPTIONAL_TOOL_DEPS)
|
||||
arm-none-eabi-gcc -o "m3s.elf" @"objects.list" $(USER_OBJS) $(LIBS) -mcpu=cortex-m3 -T"C:\Users\wuwen\Desktop\M3s_stm32\STM32F103ZETX_FLASH.ld" --specs=nosys.specs -Wl,-Map="m3s.map" -Wl,--gc-sections -static --specs=nano.specs -mfloat-abi=soft -mthumb -u _printf_float -Wl,--start-group -lc -lm -Wl,--end-group
|
||||
m3s.elf m3s.map: $(OBJS) $(USER_OBJS) C:\Users\wuwen\m3s_stm32\STM32F103ZETX_FLASH.ld makefile objects.list $(OPTIONAL_TOOL_DEPS)
|
||||
arm-none-eabi-gcc -o "m3s.elf" @"objects.list" $(USER_OBJS) $(LIBS) -mcpu=cortex-m3 -T"C:\Users\wuwen\m3s_stm32\STM32F103ZETX_FLASH.ld" --specs=nosys.specs -Wl,-Map="m3s.map" -Wl,--gc-sections -static --specs=nano.specs -mfloat-abi=soft -mthumb -u _printf_float -Wl,--start-group -lc -lm -Wl,--end-group
|
||||
@echo 'Finished building target: $@'
|
||||
@echo ' '
|
||||
|
||||
@@ -77,17 +77,12 @@ m3s.list: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
|
||||
@echo 'Finished building: $@'
|
||||
@echo ' '
|
||||
|
||||
m3s.bin: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
|
||||
arm-none-eabi-objcopy -O binary $(EXECUTABLES) "m3s.bin"
|
||||
@echo 'Finished building: $@'
|
||||
@echo ' '
|
||||
|
||||
# Other Targets
|
||||
clean:
|
||||
-$(RM) default.size.stdout m3s.bin m3s.elf m3s.list
|
||||
-$(RM) default.size.stdout m3s.elf m3s.list m3s.map
|
||||
-@echo ' '
|
||||
|
||||
secondary-outputs: $(SIZE_OUTPUT) $(OBJDUMP_LIST) $(OBJCOPY_BIN)
|
||||
secondary-outputs: $(SIZE_OUTPUT) $(OBJDUMP_LIST)
|
||||
|
||||
fail-specified-linker-script-missing:
|
||||
@echo 'Error: Cannot find the specified linker script. Check the linker settings in the build configuration.'
|
||||
|
||||
Reference in New Issue
Block a user