From 4b6cf58ec9fd95b7031ebb30d0508858264214d3 Mon Sep 17 00:00:00 2001
From: YunHorn Technology <dp.s@yunhorn.com>
Date: Thu, 19 Dec 2024 21:21:42 +0800
Subject: [PATCH] makefile

---
 STM32CubeIDE/Release/makefile | 106 ++++++++++++++++++++++++++++++++++
 1 file changed, 106 insertions(+)
 create mode 100644 STM32CubeIDE/Release/makefile

diff --git a/STM32CubeIDE/Release/makefile b/STM32CubeIDE/Release/makefile
new file mode 100644
index 0000000..d4fa33d
--- /dev/null
+++ b/STM32CubeIDE/Release/makefile
@@ -0,0 +1,106 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+# Toolchain: GNU Tools for STM32 (12.3.rel1)
+################################################################################
+
+-include ../makefile.init
+
+RM := rm -rf
+
+# All of the sources participating in the build are defined here
+-include sources.mk
+-include Utilities/subdir.mk
+-include Middlewares/SubGHz_Phy/subdir.mk
+-include Middlewares/LoRaWAN/subdir.mk
+-include Drivers/STM32WLxx_HAL_Driver/subdir.mk
+-include Drivers/CMSIS/subdir.mk
+-include Drivers/BSP/Components/subdir.mk
+-include Drivers/BSP/53L8A1/subdir.mk
+-include Application/User/Startup/subdir.mk
+-include Application/User/STS/TOF/vl53l1x_uld/subdir.mk
+-include Application/User/STS/TOF/Target/subdir.mk
+-include Application/User/STS/TOF/App/subdir.mk
+-include Application/User/STS/Core/Src/subdir.mk
+-include Application/User/LoRaWAN/Target/subdir.mk
+-include Application/User/LoRaWAN/App/subdir.mk
+-include Application/User/Core/subdir.mk
+-include objects.mk
+
+ifneq ($(MAKECMDGOALS),clean)
+ifneq ($(strip $(S_DEPS)),)
+-include $(S_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 := WLE5CC_NODE_STS
+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 
+EXECUTABLES += \
+WLE5CC_NODE_STS.elf \
+
+MAP_FILES += \
+WLE5CC_NODE_STS.map \
+
+SIZE_OUTPUT += \
+default.size.stdout \
+
+OBJDUMP_LIST += \
+WLE5CC_NODE_STS.list \
+
+
+# All Target
+all: main-build
+
+# Main-build Target
+main-build: WLE5CC_NODE_STS.elf secondary-outputs
+
+# Tool invocations
+WLE5CC_NODE_STS.elf WLE5CC_NODE_STS.map: $(OBJS) $(USER_OBJS) D:\ONEDRIVE\STM32WLV13\Projects\NUCLEO-WL55JC\Applications\LoRaWAN\WLE5CC_NODE_STS\STM32CubeIDE\STM32WLE5CCUX_FLASH.ld makefile objects.list $(OPTIONAL_TOOL_DEPS)
+	arm-none-eabi-gcc -o "WLE5CC_NODE_STS.elf" @"objects.list" $(USER_OBJS) $(LIBS) -mcpu=cortex-m4 -T"D:\ONEDRIVE\STM32WLV13\Projects\NUCLEO-WL55JC\Applications\LoRaWAN\WLE5CC_NODE_STS\STM32CubeIDE\STM32WLE5CCUX_FLASH.ld" --specs=nosys.specs -Wl,-Map="WLE5CC_NODE_STS.map" -Wl,--gc-sections -static -L../../../../../../../Middlewares/ST/STM32_Cryptographic/lib -z noexecstack -Wunused-but-set-variable -Wunused-variable -fshort-enums --specs=nano.specs -mfloat-abi=soft -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
+	@echo 'Finished building target: $@'
+	@echo ' '
+
+default.size.stdout: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
+	arm-none-eabi-size  $(EXECUTABLES)
+	@echo 'Finished building: $@'
+	@echo ' '
+
+WLE5CC_NODE_STS.list: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
+	arm-none-eabi-objdump -h -S $(EXECUTABLES) > "WLE5CC_NODE_STS.list"
+	@echo 'Finished building: $@'
+	@echo ' '
+
+# Other Targets
+clean:
+	-$(RM) WLE5CC_NODE_STS.elf WLE5CC_NODE_STS.list WLE5CC_NODE_STS.map default.size.stdout
+	-@echo ' '
+
+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.'
+	@exit 2
+
+warn-no-linker-script-specified:
+	@echo 'Warning: No linker script specified. Check the linker settings in the build configuration.'
+
+.PHONY: all clean dependents main-build fail-specified-linker-script-missing warn-no-linker-script-specified
+
+-include ../makefile.targets