Forums

how to shift from GCC to Keil (lpc2104)

Started by omkar vyas July 10, 2006
hi, all
i am using ARM-GCC-Tool chain for long time now i have keil - ARM,
i have written code for my project all most every peripheral is working.

now i want to shift myself to work on keil ARM IDE but now i have confusion how much code i will have to change to work comfortably on keil.

n number of Errors are coming up. and in Keil in projects option components Environment is one option in which i am trying to use GCC option so will it be ok?

some basick tips needed Please help.

omkar!


---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2/min or less.





An Engineer's Guide to the LPC2100 Series

i am wating for answer! please!!!

omkar vyas wrote: hi, all
i am using ARM-GCC-Tool chain for long time now i have keil - ARM,
i have written code for my project all most every peripheral is working.

now i want to shift myself to work on keil ARM IDE but now i have confusion how much code i will have to change to work comfortably on keil.

n number of Errors are coming up. and in Keil in projects option components Environment is one option in which i am trying to use GCC option so will it be ok?

some basick tips needed Please help.

omkar!


---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2�/min or less.








---------------------------------
Do you Yahoo!?
Next-gen email? Have it all with the all-new Yahoo! Mail Beta.







There shouldn't be anything stopping you from using the
GCC compiler from within the Keil IDE, but I suspect
that's not what you want. To complicate matters, the
version of GCC that came with Keil when I looked at
it was not the latest version.

>From memory, it was easier to create a new project
within Keil with the right options (compiler & target
CPU) and then add the source files one by one.
Trying to convert an existing project seemed difficult.

Anyway, you should expect complications with library
files (newlib vs whatever Keil supply), startup.s,
any code that uses extensions beyond standard C.
Keil have their own names for some of the LPC2000
peripheral registers, but the names in the user manual
also work.

Inline assembly will be different - for example how you
refer to local C variables.

You will get a lot of problems, and it will be tedious
to make the changes. The rules that apply to one set of
fixes will not necessarily extend to all others. But I
will not question your reason for making the change.

If there are a few error messages that stump you, then
post those ones. I suspect that many of us learn just
one toolset and (for better or worse) stick that unless
forced to change. And maybe even then we will not try
to migrate across an existing project.

Good luck,
Danish
--- In l..., omkar vyas wrote:
>
> i am wating for answer! please!!!
>
> omkar vyas wrote:
hi, all
> i am using ARM-GCC-Tool chain for long time now i have keil - ARM,
> i have written code for my project all most every peripheral is
working.
>
> now i want to shift myself to work on keil ARM IDE but now i have
confusion how much code i will have to change to work comfortably on keil.
Hello Onkar,
Why you want to shift from GCC to Keil ARM?
Do you have licensed Keil ARM? or else it will be limited to 32Kb of code
size.
And when your code size exceeds 32Kb, then shifting back to GCC will be much
more difficult.

Best Regards,

Mukund Deshmukh.
Beta Computronics Pvt Ltd
10/1, IT Park, Parsodi,
Nagpur-440022
Cell - 9422113746
hi, all
i am using ARM-GCC-Tool chain for long time now i have keil - ARM,
i have written code for my project all most every peripheral is working.

now i want to shift myself to work on keil ARM IDE but now i have confusion
how much code i will have to change to work comfortably on keil.

n number of Errors are coming up. and in Keil in projects option components
Environment is one option in which i am trying to use GCC option so will it
be ok?

some basick tips needed Please help.

omkar!