Stefan, > The Freescale i.MX51 implementation (which is a Cortex-A8 CPU) is based on > eCos > ARM/ARM9 HAL's. I would suggest starting there instead of creating a new HAL.
That really doesn't make much since to me. ARM9s use the ARMv4T and ARMv5T(E) instruction sets. Those are both Thumb only and obviously lack improvements and extensions from the ARMv7(T) instruction set. I suppose if you only want stripped down and Thumb only code, then that would work. However, if you intend on actually using anything from ARMv7 or some of the other features of a Cortex-A8 (multi-core perhaps) that you would need to at least turn on the necessary compiler flags. The cortexm hal seems like a closer match to me. Although, after looking at the code, it appears to be very minimal at the moment. -- Mike -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss