Hi
我试图从Keil移植我的583项目的构建到GCC。
我已经取得了很大的进步,但还是卡在了一个点上。< / p > < p > 1。我得到了很多链接器错误,即:
./../../../../ sdk/ble_stack/profiles/prf_utils.o:(.rodata.cust_prf_funcs+0x0): ' cust_prf_funcs'的多个定义
./../../../../../sdk/platform/ main/arch_system.o:(.rodata.cust_prf_funcs+0x0):首先定义在这里
../../../../../ ../sdk/app_modules/src/app_sec/app_security.o:(.rodata.cust_prf_funcs+0x0):' cust_prf_funcs'的多个定义
./../../../../../ ../../ /sdk/platform/arch/main/arch_system.o:(.rodata.cust_prf_funcs+0x0):第一次定义在这里
./../../../../../ ../../sdk/platform/arch/main/arch_system.o:(.rodata. prf_funcs+0x0):第一次定义在这里
等等。我想是某个开关不对,但我找不到是什么开关。
—
我得到一个内存溢出错误
arm-none-eabi/bin/ld: out/ full_emb_syram。Axf截面'。constdata' will not fit in region ' RAM_IROM4'
arm-none-eabi/bin/ld: region RAM overflow with stack
arm-none-eabi/bin/ld: section ER_IROM5 loaded at [0000000020000440,0000000020006e33]重叠section .constdata loaded at [00000000200003e4,00000000200005eb]
collect2: error: ld returned 1 exit status
我怀疑这与内存设置不正确有关。是580。LDS文件还适用吗? Can you help me with a 583.lds file? Or how do I get started porting this ?
I have done the steps from the application note, but there is still some way to go to make my 583 work, as you can see :)
I intend to use the 583 in a mainstream commercial product, so this help will go a long way.
--
Best regards