i want to move form keil to linux on my some project, I have .uvprojx file and .uvoptx fiels. I want to convert it into makefile and also need to genertate the linker file for the same.
Can any body please help?
Note that this has nothing specifically to do with Linux: it is about converting to GCC + makfile - which you can also do under Windows.
Do you really want just a makefile, or will you be using Eclipse (or some other IDE) ?
As with porting any project from one environment to another, you will need a good understanding of both!
forum.segger.com/.../
Is your existing Keil project already using GCC? If not, you are also going to have to migrate all the compiler options. This may also require some code changes - if you have used any Keil-specific features.
For the linker, you will need to understand what the current project is doing, and then do the same (or equivalent) in your ld linker script.
See previous threads on this topic; eg,
https://community.arm.com/developer/tools-software/tools/f/keil-forum/44670/how-to-convert-keil-project-uvprojx-to-eclipse
https://community.arm.com/developer/tools-software/tools/f/keil-forum/44102/uvision-5-to-gnu-gcc/160046#160046
hey thanks for answer. Keil uses gcc , I am working on nrfmpu simple, it doest have s132 folder where make file happens to be , I want to have makefile and linkerscript file to exceute the example
sid04 said:Keil uses gcc
Well, it can - if you have configured it to do so.
If you are already using GCC, then you should be good to go; GCC is cross-platform - it will be the same on Linux as on Windows.
sid04 said:nrfmpu
You mean a Nordic Semiconductor nRF chip ?
Note that Nordic supply makefile examples - so you'd probably be best starting from there.
For Nordic specific question, go to https://devzone.nordicsemi.com/
Note that Nordic's "preferred" IDE - for winch they provide all examples - is Segger Embedded Studio (SES). It is cross-platform and uses GCC; I suggest you use that ...
Andy Neil said: Nordic Semiconductor nRF chip ?
Yes I am using a Nordic Chip , and yes it has provided me examples . But I want to execute this https://github.com/Martinsbl/nrf5-mpu-examples , it does not have linker fie as well as make file.
it does have that uvprojx file and .uvoptx files.
I need Makefile
Well, that's a 3rd-party site - nothing to do with Keil ot ARM.
If you want support with that, you will have to contact the author.
But the examples from Nordic should give you enough to understand what to do ...
That site is rather out-of-date now (using SDK 14)
okay thanks for the help
I am trying to make the Makefile by own using that .uvprojx file.
Start with one of the known-working makefiles from Nordic.
Then you just need to add any extras specific to this code.