This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is there any ecos port available for C167 micro-controller?


On Tue, Oct 07, 2003 at 08:57:00AM +0100, Huang, Q. wrote:
> Thank you very much Andrew, 
> Is the reason that there is no GNU compiler support for C167 (16 bit architecture), which make it no possible to support eCOS?
>
> BTW what makes eCOS only runs on the 32-bit architecture rather than 16-bit?

Gcc is required for eCos. So the first step for any port is to get a
working gcc for the CPU. It also needs to be a reasonably recent
version of gcc. 

If you have gcc support for a given 16bit processor, you can then do a
port. Since no one has ever done this, i expect you will find some
issues where code assumes 4==sizeof(int). eCos tries to keep this
clean with the use of cyg_int32 etc, but some of the imported code,
like the network stack, may not be so clean. I expect you will spend a
lot of time tracking down problems.

    Andrew




-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]