corr opencode (run debug flash)
This commit is contained in:
1 parent
2c2202e60d
commit
4b54d587fe
201 files changed
+660
-383
No files matched your search
+1
-4
@@ -421,14 +421,11 @@ $(binary_output_path)/$(target_executable): $(object_files) $(object_asm_files)
|
||||
@echo Video Objects: $(video_object_files)
|
||||
@echo Linking $(@)
|
||||
@mkdir -p $(@D)
|
||||
@mkdir -p $(object_output_path)
|
||||
@$(file >$(build_root_path)/objects.tmp) $(foreach F,$(object_files) $(video_object_files),$(file >>$(build_root_path)/objects.tmp,$F))
|
||||
@$(linker) \
|
||||
$(linker_options) -T $(makefile_path_relative)/../Appli/stm32h7rsxx_RAMxspi1_ROMxspi2.ld -Wl,-Map=$(@D)/application.map $(linker_options_local) \
|
||||
$(patsubst %,-L%,$(library_include_paths)) \
|
||||
@$(build_root_path)/objects.tmp $(object_asm_files) -o $@ \
|
||||
$(object_files) $(object_asm_files) -o $@ \
|
||||
-Wl,--start-group $(patsubst %,-l%,$(libraries)) -Wl,--end-group
|
||||
@rm -f $(build_root_path)/objects.tmp
|
||||
@echo "Producing additional output formats..."
|
||||
@echo " target.hex - Combined internal+external hex"
|
||||
@$(objcopy) -O ihex $@ $(@D)/target.hex
|
||||
|
||||
+2
-5
@@ -225,14 +225,11 @@ build_executable: $(binary_output_path)/$(target_executable)
|
||||
$(binary_output_path)/$(target_executable): $(object_files) $(object_asm_files)
|
||||
@echo Linking $(@)
|
||||
@mkdir -p $(@D)
|
||||
@mkdir -p $(object_output_path)
|
||||
@$(file >$(build_root_path)/objects.tmp) $(foreach F,$(object_files),$(file >>$(build_root_path)/objects.tmp,$F))
|
||||
@$(linker) \
|
||||
$(linker_options) -T $(makefile_path_relative)/../Boot/stm32h7s7xx_flash.ld -Wl,-Map=$(@D)/application.map \
|
||||
$(patsubst %,-L%,$(library_include_paths)) \
|
||||
@$(build_root_path)/objects.tmp $(object_asm_files) -o $@ \
|
||||
$(object_files) $(object_asm_files) -o $@ \
|
||||
-Wl,--start-group -Wl,--end-group
|
||||
@rm -f $(build_root_path)/objects.tmp
|
||||
@echo "Producing additional output formats..."
|
||||
@echo " target.hex - Combined internal+external hex"
|
||||
@$(objcopy) -O ihex $@ $(@D)/target.hex
|
||||
@@ -286,7 +283,7 @@ $(object_output_path)/%.o: %.s
|
||||
|
||||
ifeq ($(MAKECMDGOALS),build_executable)
|
||||
$(firstword $(dependency_files)):
|
||||
@rm -rf $(object_output_path)
|
||||
@mkdir -p $(object_output_path)
|
||||
-include $(dependency_files)
|
||||
endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user