File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 61
61
62
62
$(PROG ) .elf : $(OBJS )
63
63
$(CC ) $(LDFLAGS ) -o $@ $^ -L$(SPL_PATH ) -l$(SPL_LIB ) -T$(LINKER_SCRIPT )
64
- $(OBJCOPY ) -O ihex $(PROG ) .elf $(PROG ) .hex
64
+ $(OBJCOPY ) --pad-to 0x8003800 - O ihex $(PROG ) .elf $(PROG ) .hex
65
65
$(OBJCOPY ) -O binary $(PROG ) .elf $(PROG ) .bin
66
66
$(OBJDUMP ) -St $(PROG ) .elf > $(PROG ) .lst
67
67
$(SIZE ) $(PROG ) .elf
Original file line number Diff line number Diff line change @@ -74,15 +74,15 @@ dirs:
74
74
$(APP_1 ) .elf : $(OBJS )
75
75
$(CC ) $(LDFLAGS_1 ) -o $@ $^ -L$(SPL_PATH ) -l$(SPL_LIB ) \
76
76
-T$(LINKER_SCRIPT_1 )
77
- $(OBJCOPY ) -O ihex $(APP_1 ) .elf $(APP_1 ) .hex
77
+ $(OBJCOPY ) --pad-to 0x08022000 - O ihex $(APP_1 ) .elf $(APP_1 ) .hex
78
78
$(OBJCOPY ) -O binary $(APP_1 ) .elf $(APP_1 ) .bin
79
79
$(OBJDUMP ) -St $(APP_1 ) .elf > $(APP_1 ) .lst
80
80
$(SIZE ) $(APP_1 ) .elf
81
81
82
82
$(APP_2 ) .elf : $(OBJS )
83
83
$(CC ) $(LDFLAGS_2 ) -o $@ $^ -L$(SPL_PATH ) -l$(SPL_LIB ) \
84
84
-T$(LINKER_SCRIPT_2 )
85
- $(OBJCOPY ) -O ihex $(APP_2 ) .elf $(APP_2 ) .hex
85
+ $(OBJCOPY ) --pad-to 0x08040000 - O ihex $(APP_2 ) .elf $(APP_2 ) .hex
86
86
$(OBJCOPY ) -O binary $(APP_2 ) .elf $(APP_2 ) .bin
87
87
$(OBJDUMP ) -St $(APP_2 ) .elf > $(APP_2 ) .lst
88
88
$(SIZE ) $(APP_2 ) .elf
You can’t perform that action at this time.
0 commit comments