We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Dear all,
I want to replace the tool-chain from ARMCC to GNU-GCC in the Windows Keil-ARM IDE.
Also I add the link script file which is offered from the ARM M0 SW package in the project. but I suffer a problem as below,
c:/program files (x86)/gnu arm embedded toolchain/9 2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: ./startup_cmsdk_cm0.o: in function `Reset_Handler':E:\Mlink\project\medical\Project\toolchain_cp\medical1_svn109v3/cmsis/Device/ARM/CMSDK_CM0/Source/GCC/startup_CMSDK_CM0.s:199: undefined reference to `_start'
II found a article is related this problem, I follow the steps in this article, the problem is still the same. Also I have another question about this article.
IIn the step-2, it say "Enter the start address of the Text Section". How could I know the start address? Do I only assign a address within the code memory for start address?
https://www.keil.com/support/docs/2851.htm
Thank you for your advice.
BR,
Eddie
Dear Andy,
Thanks for your reply. I want to try GNU-GCC in Keil-IDE, because
1. I have tried the GNU-GCC in Linux. It seems work, but the code size is larger than using the ARMCC in Keil-IDE. So I want to confirm it in Keil-IDE with GNU-GCC.
2.The code size of evaluation Keil-IDE is limited in 32KB. If I replace the ARMCC with GNU-GCC, is it still limited in 32KB?
Thanks for your advice.
shihwen chou said:I want to confirm it in Keil-IDE with GNU-GCC
Why would the IDE make any difference? It is the same compiler.
shihwen chou said:If I replace the ARMCC with GNU-GCC, is it still limited in 32KB?
If I replace the ARMCC with GNU-GCC, is it still limited in 32KB?
I guess not for compiling - but, if the debugger still works at all, that is still going to be limited.
Again, what would be the point of this? Why not just use a GCC-based IDE ?
Surely the only reason to use the Keil IDE is to get the ARM toolchain ?