|
@@ -1,94 +0,0 @@
|
|
|
-################################################################################
|
|
|
|
|
-# 自动生成的文件。不要编辑!
|
|
|
|
|
-################################################################################
|
|
|
|
|
-
|
|
|
|
|
--include ../makefile.init
|
|
|
|
|
-
|
|
|
|
|
-RM := rm -rf
|
|
|
|
|
-
|
|
|
|
|
-# All of the sources participating in the build are defined here
|
|
|
|
|
--include sources.mk
|
|
|
|
|
--include rt-thread/src/subdir.mk
|
|
|
|
|
--include rt-thread/libcpu/arm/cortex-m3/subdir.mk
|
|
|
|
|
--include rt-thread/libcpu/arm/common/subdir.mk
|
|
|
|
|
--include rt-thread/components/utilities/ymodem/subdir.mk
|
|
|
|
|
--include rt-thread/components/libc/compilers/newlib/subdir.mk
|
|
|
|
|
--include rt-thread/components/finsh/subdir.mk
|
|
|
|
|
--include rt-thread/components/drivers/watchdog/subdir.mk
|
|
|
|
|
--include rt-thread/components/drivers/src/subdir.mk
|
|
|
|
|
--include rt-thread/components/drivers/spi/sfud/src/subdir.mk
|
|
|
|
|
--include rt-thread/components/drivers/spi/subdir.mk
|
|
|
|
|
--include rt-thread/components/drivers/serial/subdir.mk
|
|
|
|
|
--include rt-thread/components/drivers/rtc/subdir.mk
|
|
|
|
|
--include rt-thread/components/drivers/misc/subdir.mk
|
|
|
|
|
--include rt-thread/components/drivers/i2c/subdir.mk
|
|
|
|
|
--include rt-thread/components/drivers/hwtimer/subdir.mk
|
|
|
|
|
--include packages/syswatch-latest/src/subdir.mk
|
|
|
|
|
--include packages/sht3x-latest/subdir.mk
|
|
|
|
|
--include packages/ota_downloader-latest/src/subdir.mk
|
|
|
|
|
--include packages/freemodbus-latest/port/subdir.mk
|
|
|
|
|
--include packages/freemodbus-latest/modbus/rtu/subdir.mk
|
|
|
|
|
--include packages/freemodbus-latest/modbus/functions/subdir.mk
|
|
|
|
|
--include packages/freemodbus-latest/modbus/subdir.mk
|
|
|
|
|
--include packages/fal-latest/src/subdir.mk
|
|
|
|
|
--include packages/fal-latest/samples/porting/subdir.mk
|
|
|
|
|
--include packages/cJSON-latest/subdir.mk
|
|
|
|
|
--include packages/LedBlink-latest/subdir.mk
|
|
|
|
|
--include packages/EasyFlash-latest/src/subdir.mk
|
|
|
|
|
--include libraries/STM32F1xx_HAL_Driver/Src/Legacy/subdir.mk
|
|
|
|
|
--include libraries/STM32F1xx_HAL_Driver/Src/subdir.mk
|
|
|
|
|
--include libraries/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/subdir.mk
|
|
|
|
|
--include libraries/CMSIS/Device/ST/STM32F1xx/Source/Templates/subdir.mk
|
|
|
|
|
--include drivers/subdir.mk
|
|
|
|
|
--include applications/subdir.mk
|
|
|
|
|
--include subdir.mk
|
|
|
|
|
--include objects.mk
|
|
|
|
|
-
|
|
|
|
|
-ifneq ($(MAKECMDGOALS),clean)
|
|
|
|
|
-ifneq ($(strip $(ASM_DEPS)),)
|
|
|
|
|
--include $(ASM_DEPS)
|
|
|
|
|
-endif
|
|
|
|
|
-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
|
|
|
|
|
-
|
|
|
|
|
-# Add inputs and outputs from these tool invocations to the build variables
|
|
|
|
|
-SECONDARY_FLASH += \
|
|
|
|
|
-Application_CBD.bin \
|
|
|
|
|
-
|
|
|
|
|
-SECONDARY_SIZE += \
|
|
|
|
|
-Application_CBD.siz \
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-# 所有目标
|
|
|
|
|
-all: Application_CBD.elf secondary-outputs
|
|
|
|
|
-
|
|
|
|
|
-# 工具调用
|
|
|
|
|
-Application_CBD.elf: $(OBJS) $(USER_OBJS)
|
|
|
|
|
- arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -Os -ffunction-sections -fdata-sections -Wall -g -gdwarf-2 -T "D:\RT-ThreadStudio\workspace\IOT_CBD_BZY_CTRL\Application_CBD\link.lds" -Xlinker --gc-sections -Wl,-Map,"Application_CBD.map" -Xlinker --cref -o "Application_CBD.elf" $(OBJS) $(USER_OBJS) $(LIBS)
|
|
|
|
|
-
|
|
|
|
|
-Application_CBD.bin: Application_CBD.elf
|
|
|
|
|
- arm-none-eabi-objcopy -O binary "Application_CBD.elf" "Application_CBD.bin"
|
|
|
|
|
-
|
|
|
|
|
-Application_CBD.siz: Application_CBD.elf
|
|
|
|
|
- arm-none-eabi-size --format=berkeley "Application_CBD.elf"
|
|
|
|
|
-
|
|
|
|
|
-# 其他目标
|
|
|
|
|
-clean:
|
|
|
|
|
- -$(RM) $(OBJS)$(SECONDARY_FLASH)$(SECONDARY_SIZE)$(ASM_DEPS)$(S_DEPS)$(S_UPPER_DEPS)$(C_DEPS) Application_CBD.elf
|
|
|
|
|
- -@echo ' '
|
|
|
|
|
-
|
|
|
|
|
-secondary-outputs: $(SECONDARY_FLASH) $(SECONDARY_SIZE)
|
|
|
|
|
-
|
|
|
|
|
-.PHONY: all clean dependents
|
|
|
|
|
-
|
|
|
|
|
--include ../makefile.targets
|
|
|