fix elf run addr

pull/3/head
Clyne 4 years ago
parent 48026bb824
commit 321954cb5c

@ -49,7 +49,7 @@ all:
@arm-none-eabi-g++ -x c++ -Os -fno-exceptions -fno-rtti \ @arm-none-eabi-g++ -x c++ -Os -fno-exceptions -fno-rtti \
-mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mtune=cortex-m4 \ -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mtune=cortex-m4 \
-nostartfiles \ -nostartfiles \
-Wl,-Ttext-segment=0x10000000 -Wl,-zmax-page-size=512 -Wl,-eprocess_data_entry \ -Wl,-Ttext-segment=0x00000000 -Wl,-zmax-page-size=512 -Wl,-eprocess_data_entry \
$0 -o $0.o $0 -o $0.o
@cp $0.o $0.orig.o @cp $0.o $0.orig.o
@arm-none-eabi-strip -s -S --strip-unneeded $0.o @arm-none-eabi-strip -s -S --strip-unneeded $0.o

Loading…
Cancel
Save