I ran into this and had absolutely no freaking clue what the hell was going on.
**** Build of configuration Debug for project spw_int_test ****
make all
Building target: spw_int_test.elf
Invoking: PowerPC gcc linker
powerpc-eabi-gcc -Wl,-T -Wl,../src/lscript.ld -L../../hello_world_bsp_0/ppc440_0/lib -mcpu=440 -mfpu=dp_full -o"spw_int_test.elf" ./src/helloworld.o ./src/platform.o ./src/spacewire_driver.o
../src/lscript.ld:228 cannot move location counter backwards (from fffff170 to 00000170)
collect2: ld returned 1 exit status
make: *** [spw_int_test.elf] Error 1
I ended up finding a solution here Link
Simply Change the stack and heap size to 0x400!
No comments:
Post a Comment