makefile 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. ################################################################################
  2. # Automatically-generated file. Do not edit!
  3. # Toolchain: GNU Tools for STM32 (10.3-2021.10)
  4. ################################################################################
  5. -include ../makefile.init
  6. RM := rm -rf
  7. # All of the sources participating in the build are defined here
  8. -include sources.mk
  9. -include Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/subdir.mk
  10. -include Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM7/r0p1/subdir.mk
  11. -include Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/subdir.mk
  12. -include Middlewares/Third_Party/FreeRTOS/Source/subdir.mk
  13. -include Drivers/STM32F7xx_HAL_Driver/Src/subdir.mk
  14. -include Core/Startup/subdir.mk
  15. -include Core/Src/subdir.mk
  16. -include AH_Drivers/temp_sensor/mcp9843/subdir.mk
  17. -include AH_Drivers/temp_sensor/ds620/subdir.mk
  18. -include AH_Drivers/spi-uart/subdir.mk
  19. -include AH_Drivers/power_sense_monitor/ina230/subdir.mk
  20. -include AH_Drivers/power_sense_monitor/adm1176/subdir.mk
  21. -include AH_Drivers/memory_driver/eeprom_m24c16/subdir.mk
  22. -include AH_Drivers/gpio_expander/pcal6408a/subdir.mk
  23. -include AH_Drivers/gpio_expander/mcp23008/subdir.mk
  24. -include AH_Drivers/data_logger/ads7828/subdir.mk
  25. -include AH_Drivers/data_logger/adc7291/subdir.mk
  26. -include objects.mk
  27. ifneq ($(MAKECMDGOALS),clean)
  28. ifneq ($(strip $(S_DEPS)),)
  29. -include $(S_DEPS)
  30. endif
  31. ifneq ($(strip $(S_UPPER_DEPS)),)
  32. -include $(S_UPPER_DEPS)
  33. endif
  34. ifneq ($(strip $(C_DEPS)),)
  35. -include $(C_DEPS)
  36. endif
  37. endif
  38. -include ../makefile.defs
  39. OPTIONAL_TOOL_DEPS := \
  40. $(wildcard ../makefile.defs) \
  41. $(wildcard ../makefile.init) \
  42. $(wildcard ../makefile.targets) \
  43. BUILD_ARTIFACT_NAME := GEN2_BRINGUP_ALL
  44. BUILD_ARTIFACT_EXTENSION := elf
  45. BUILD_ARTIFACT_PREFIX :=
  46. BUILD_ARTIFACT := $(BUILD_ARTIFACT_PREFIX)$(BUILD_ARTIFACT_NAME)$(if $(BUILD_ARTIFACT_EXTENSION),.$(BUILD_ARTIFACT_EXTENSION),)
  47. # Add inputs and outputs from these tool invocations to the build variables
  48. EXECUTABLES += \
  49. GEN2_BRINGUP_ALL.elf \
  50. MAP_FILES += \
  51. GEN2_BRINGUP_ALL.map \
  52. SIZE_OUTPUT += \
  53. default.size.stdout \
  54. OBJDUMP_LIST += \
  55. GEN2_BRINGUP_ALL.list \
  56. # All Target
  57. all: main-build
  58. # Main-build Target
  59. main-build: GEN2_BRINGUP_ALL.elf secondary-outputs
  60. # Tool invocations
  61. GEN2_BRINGUP_ALL.elf GEN2_BRINGUP_ALL.map: $(OBJS) $(USER_OBJS) D:\Final_Software_Standalone\GEN2_BRINGUP_ALL_UART_CODE\STM32F769NIHX_FLASH.ld makefile objects.list $(OPTIONAL_TOOL_DEPS)
  62. arm-none-eabi-gcc -o "GEN2_BRINGUP_ALL.elf" @"objects.list" $(USER_OBJS) $(LIBS) -mcpu=cortex-m7 -T"D:\Final_Software_Standalone\GEN2_BRINGUP_ALL_UART_CODE\STM32F769NIHX_FLASH.ld" --specs=nosys.specs -Wl,-Map="GEN2_BRINGUP_ALL.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -u _printf_float -Wl,--start-group -lc -lm -Wl,--end-group
  63. @echo 'Finished building target: $@'
  64. @echo ' '
  65. default.size.stdout: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
  66. arm-none-eabi-size $(EXECUTABLES)
  67. @echo 'Finished building: $@'
  68. @echo ' '
  69. GEN2_BRINGUP_ALL.list: $(EXECUTABLES) makefile objects.list $(OPTIONAL_TOOL_DEPS)
  70. arm-none-eabi-objdump -h -S $(EXECUTABLES) > "GEN2_BRINGUP_ALL.list"
  71. @echo 'Finished building: $@'
  72. @echo ' '
  73. # Other Targets
  74. clean:
  75. -$(RM) GEN2_BRINGUP_ALL.elf GEN2_BRINGUP_ALL.list GEN2_BRINGUP_ALL.map default.size.stdout
  76. -@echo ' '
  77. secondary-outputs: $(SIZE_OUTPUT) $(OBJDUMP_LIST)
  78. fail-specified-linker-script-missing:
  79. @echo 'Error: Cannot find the specified linker script. Check the linker settings in the build configuration.'
  80. @exit 2
  81. warn-no-linker-script-specified:
  82. @echo 'Warning: No linker script specified. Check the linker settings in the build configuration.'
  83. .PHONY: all clean dependents main-build fail-specified-linker-script-missing warn-no-linker-script-specified
  84. -include ../makefile.targets