This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RedBoot as an application command shell
- From: "Nicolas Brouard" <nicolas dot brouard at silicomp dot ca>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 8 Sep 2004 09:35:08 -0400
- Subject: [ECOS] RedBoot as an application command shell
Hi all,
I would like to do an application with a command shell. So I planned to use
RedBoot in RAM and add some commands for my application. One of the commands
uses an I2C driver. My I2C driver uses interrupts and cyg_flag
synchronization functions. To compile RedBoot with this driver, I have to
add the kernel package. And when I execute RedBoot and start my command, it
hangs on cyg_flag_timed_wait function (with a timeout = cyg_current_time() +
10).
This driver works very well in a test application.
Why can I use synchronization functions in RedBoot and how can I do?
Do I have to rewrite a command shell application?
Nicolas Brouard
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss