[ECOS] SPI usage

Gary Thomas gary@mlbassoc.com
Mon Feb 26 14:57:00 GMT 2007


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



More information about the Ecos-discuss mailing list