[ECOS] interrupt processing in RedBoot
Jani Monoses
jani@iv.ro
Thu Dec 16 07:44:00 GMT 2004
> Reason:
> I already have created a working CHAR_DEVIO driver and
> tested using the eCOS kernel, but also need to add
> this to redboot due to the speed of the boot process.
>
> Recommendations?
You don't need the whole kernel to handle interrupts. Just use the interface implemented
in drv_api.c. Look in redboot/src/syscall.c for an example of cyg_drv_interrupt use in
redboot.
To make sure interrupts work in non-kernel configs on your target try a minimal template
build and run tests/hal/common/intr.c
Jani
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list