I am trying to compile a logic using chibios2111 (GCC 11.3.1) for STM32F072 microcontroller. The logic was written and compiled using an older version and I am working to compile it with this version of the chibios. I resolved all of the errors of the compiling process, except the following error.
[nfo]Linking build/ch.elf
c:/chibistudio/tools/gnu tools arm embedded/11.3 2022.08/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-
eabi/bin/ld.exe:rules_memory.ld:314 cannot move location counter backwards (from 20004150 to 20004000)
collect2.exe: error: ld returned 1 exit status
make: *** [../../chibios2111/os/common/startup/ARMCMx/compilers/GCC/mk/rules.mk:217: build/ch.elf] Error 1
"make all" terminated with exit code 2. Build might be incomplete.[/nfo]
Can you please help me to solve this issue.
Thanks-Mohammad
build/ch.elf] Error 1
-
kafikangi.m
- Posts: 2
- Joined: Thu Sep 21, 2023 11:49 am
- Has thanked: 1 time
- Giovanni
- Site Admin
- Posts: 14891
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: build/ch.elf] Error 1
It is possible you are out of RAM memory, try reducing the size of your project.
Giovanni
Giovanni
-
kafikangi.m
- Posts: 2
- Joined: Thu Sep 21, 2023 11:49 am
- Has thanked: 1 time
Re: build/ch.elf] Error 1
Dear Giovanni,
Thank you so much for your reply. I will try to reduce the size of the program.
Thanks,
Thank you so much for your reply. I will try to reduce the size of the program.
Thanks,