From 321954cb5c23fcec4054a6ba554015e2c0862a7d Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Fri, 22 Jan 2021 21:44:07 -0500 Subject: [PATCH] fix elf run addr --- gui/wxmain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/wxmain.cpp b/gui/wxmain.cpp index cbc1f8a..dd32127 100644 --- a/gui/wxmain.cpp +++ b/gui/wxmain.cpp @@ -49,7 +49,7 @@ all: @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 \ -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 @cp $0.o $0.orig.o @arm-none-eabi-strip -s -S --strip-unneeded $0.o