corr opencode (run debug flash)

This commit is contained in:
thomas committed 2026-10-18 16:08:54 +02:00
1 parent 2c2202e60d
commit 4b54d587fe
201 files changed
+660 -383

No files matched your search

+2 -5
View File
@@ -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