This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
RE?: [ECOS] SPI usage
OK it works!! Thank you very much... It's a big reassurance!
---------------------------------------------------------------
Julien Stéphane wrote:
> sorry, here is my code...
The kernel, more importantly, interrupts are not running when
'cyg_user_start()' is called. That's why your code hangs.
Try putting these functions into 'main()', which is called
with a proper thread environment and the kernel+interrupts
running.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss