################################################################################ # MRS Version: 2.3.0 # 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 Startup/subdir.mk -include FreeRTOS/portable/MemMang/subdir.mk -include FreeRTOS/portable/GCC/RISC-V/subdir.mk -include FreeRTOS/subdir.mk -include 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 $(ASM_DEPS)),) -include $(ASM_DEPS) endif ifneq ($(strip $(ASM_UPPER_DEPS)),) -include $(ASM_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 += \ FreeRTOS.hex \ SECONDARY_LIST += \ FreeRTOS.lst \ SECONDARY_SIZE += \ FreeRTOS.siz \ # All Target all: $(MAKE) --no-print-directory main-build main-build: FreeRTOS.elf secondary-outputs # Tool invocations FreeRTOS.elf: $(OBJS) $(USER_OBJS_ESCAPE) @ riscv-wch-elf-gcc -march=rv32imc_zba_zbb_zbc_zbs_xw -mabi=ilp32 -mcmodel=medany -msmall-data-limit=8 -mno-save-restore -fmax-errors=20 -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common --param=highcode-gen-section-name=1 -g -T "f:/work/other/CH585_TEST/Ld/Link.ld" -nostartfiles -Xlinker --gc-sections -L"f:\work\other\CH585_TEST" -Xlinker --print-memory-usage -Wl,-Map,"FreeRTOS.map" --specs=nano.specs --specs=nosys.specs -o "FreeRTOS.elf" $(OBJS) $(LIBS) FreeRTOS.hex: FreeRTOS.elf @ riscv-wch-elf-objcopy -O ihex "FreeRTOS.elf" "FreeRTOS.hex" FreeRTOS.lst: FreeRTOS.elf @ riscv-wch-elf-objdump --all-headers --demangle --disassemble -M xw --line-numbers -D "FreeRTOS.elf" > "FreeRTOS.lst" FreeRTOS.siz: FreeRTOS.elf riscv-wch-elf-size --format=berkeley "FreeRTOS.elf" # Other Targets clean: -$(RM) $(DIR_OBJS) $(SECONDARY_FLASH)$(SECONDARY_LIST)$(SECONDARY_SIZE) FreeRTOS.elf -$(RM) $(DIR_EXPANDS) $(CALLGRAPH_DOT) -$(RM) $(DIR_DEPS) secondary-outputs: $(SECONDARY_FLASH) $(SECONDARY_LIST) $(SECONDARY_SIZE) .PHONY: all clean dependents -include ../makefile.targets