Hello,
I have a complex project that has been coded in Eclipse IDE. Due to different necessities I want to migrate this project to the Keil IDE. I want to use the GCC compiler (arm-none-eabi-gcc) and the same linker file of the Eclipse (that is a .ld).
Which steps do you recommend in order to perform the migration? I have searched information in Internet and threads about this in the forum, but I haven't found anything useful.
Thank you in advance.
If you're sticking with the GCC compiler, what's the point of changing to the uVision IDE?
As far as I can see, Eclipse is far superior to uVision.
Hence I asked the opposite question: http://www.keil.com/forum/63024/ - no useful replies.
Anyhow, you will have two tasks:
1. Integrate GCC with uVision;
2. Port your project from Eclipse to uVision.
I would strongly suggest that you do one at a time!
For the Project port, you're probably just going to have to go through your Eclipse settings one by one, finding & setting the corresponding option(s) for each in uVision.
Thank you for your fast response.
I have integrated the GCC with uvision. Using the Manage Project Items > Folders/Extensions, I have selected the "Use GCC Compiler (GNU) for ARM projects" option, with the prefix "arm-none-eabi" and the properly folder of the compiler.
However, I don't know how I can open the Eclipse project. The Keil only detects the Project files (.uvprojx, .uvproj, .uvmpw, .uv2, .uv3, .mpw, .dpt). The format of the Eclipse is .cproject or .project. How can I open the Eclipse project with Keil? Or have I to migrate the project file by file?
Thank you.
It is not going to load/import your project, you'll need to recreate the project tree and settings
I have a complex structure of folders in my Eclipse project. However, I only can create a Target folder and a Group folder in my Keil project . This means that I only can have two levels of folders. Is there any way to have more levels in the structure of folders?
Another important issue is the startup files. Can I use my own startup files or I have to use the startup files provided by the Manage Run-Time Environment? If I can use my startup files I would like to know how I have to import them.
Thank you very much.
No.
What is the compelling reason to justify all this effort?
Hi Luis, did you have any success getting this to work?
I have a hello world project that compiles and debugs using the Keil compiler and the Atmel-ICE debugger hardware (CMSIS-DAP), but would like to migrate Keil to use the GCC toolchain instead.
In order to install GCC, I ran the setup for Atmel Studio and verified it also builds the hello world file and debugs fine (again using the AT Atmel-ICE hardware).
But in Keil, when I point the options to use the gcc compiler, it doesn't compile! Shouldn't the (atmel studio) gcc makefile work without changes in Keil?
Also, would the keil debugger settings need to change from CMSIS-DAP to something gnu based?
GNU Make is not GCC, I'm pretty sure Keil does not import make files.
Again, why would you want to do that??
" I ran the setup for Atmel Studio and verified it also builds the hello world file and debugs fine"
So why not just use that, then?