Questions tagged [ecos]

A small-footprint real-time operating system intended for use in embedded systems across multiple architectures.

About eCos

eCos, the Embedded Configurable Operating System, is a small-footprint real-time OS which targets embedded devices. It has been designed to be straightforward to port to new boards, CPUs and architectures; many such ports exist.

eCos was originally developed by Cygnus Solutions, which was bought by Red Hat. In 2002, Red Hat abandoned the project and later transferred copyright to the FSF. However (as of 2011) the community is still very much alive and a number of the original developers still play an active part. There is also a commercial fork named eCosPro which is maintained and supported by eCosCentric Limited.

Questions for the eCos tag

Questions that might be suitable for this tag might involve the development of application software to run on eCos, the development and maintenance of eCos packages, and new ports. Many such questions will probably also be suitable for the C or C++ tag. Other questions might solicit comparisons between eCos and other RTOSes, or factors surrounding the choice of platform for a project where eCos is a prime contender.

Whilst many questions will be specific to a particular project, their general principles may be of wider interest and it is these that make good questions. As usual on StackOverflow, please help us to help you - ask smart questions, show us what you've already tried and how it went wrong.

Please note that there is not a great deal of eCos-specific knowledge on StackOverflow; if you have no luck here, you may wish to try the ecos-discuss mailing list on sourceware (linked from the project page). Alternatively, users who have a commercial support agreement in place should generally use the support facilities provided via that contract - particularly when the question relates to features not found in the public eCos tree.

Further reading

27 questions
1
vote
0 answers

STM32Cube CMSIS layer for eCos

Does anyone know if there is an existing CMSIS layer to use STM32Cube with eCos? If one doesn't exist, how complicated is it to integrate eCos into the STM32Cube libraries?
Greg Dyer
  • 11
  • 1
1
vote
2 answers

eCos : Compile and Run sample application on Linux

I have installed eCos OS on a linux system (Ubuntu 13.02). After installation, the eCos files are located in opt/ecos. As I read the eCos tutorial, I see hello.c is stored in opt/ecos/ecos-3.0/examples/hello.c (And I notice that maybe all main eCos…
hqt
  • 29,632
  • 51
  • 171
  • 250
0
votes
0 answers

Cross-compiling source code for MIPS32 target

I have source code pack which includes eCos source, GSS-3.2.1 compiler and and GCC-toolchain. I want to compile source code for MIPS32 target CPU. The host PC is Ubuntu Linux x86/64. The 'Readme' file have short instructions for building GCC 3.2.1…
minto
  • 151
  • 2
  • 12
0
votes
1 answer

Anyone booted ecos with u-boot?

I need to port ecos on new platform board with u-boot. Everywhere I am able to find Porting guide for ecos with redboot. Did anyone booted ecos with u-boot? I got some link which tells it's possible to boot ecos with…
Embedded_User
  • 211
  • 2
  • 12
0
votes
1 answer

time on ecos (or qemu )

I'm working with real time operating system Ecos. i run this code on ubuntu : #include #include #include static int tv_diff(struct timeval *t1, struct timeval *t2) { return (t1->tv_sec - t2->tv_sec) *…
0
votes
0 answers

How can I get current system time with microsecond precision in eCos OS?

I know the default eCos precision is 1 ticks = 10 ms. And eCos OS provide cyg_current_time(); I can use cyg_current_time divide the tick_per_one_ms to get SystemTime_MS; (e.g.) GetSystemTime = cyg_current_time() / 10; How can I get System time with…
Sirius Wang
  • 339
  • 1
  • 5
  • 15
0
votes
1 answer

Can we add a specific CFLAG to a eCos package when an cdl_option was enabled?

Say we have a package named CYGPKG_FOO, which has a cdl_option "CYGPKG_FOO_FEATURE_A_ENABLE". I want a specific gcc flags (e.g. "-DFEATURE_A=1") added to the CFLAGS of this package when this cdl_option was enabled. But "The eCos Component Writer's…
xdai
  • 31
  • 4
0
votes
1 answer

eCos configuration tools for stm32f4vg407

I want to test blink example on stm32f4 discovrey board using eCos RTOS. But in eCos configtool there is no configuration template for stm32f4. can anyone help me to turn around this problem ? thanks
0
votes
1 answer

Porting eCos to i386

I am trying to port eCos on an i386 PC. I have downloaded prebuilt redboot.bin from http://ecos.sourceware.org/ecos/boards/redbootbins/x86pc/ I boot it onto usb disk, using dd conv=sync if/redboot.bin of=/dev/sdb1 After booting target from usb, I…
Ishmeet
  • 1,540
  • 4
  • 17
  • 34
0
votes
1 answer

eCos with stm32f4discovery Cortex-M4 in Ubuntu 12.04

I wrote a simple program for eCos in stm32f4discovery Cortex-M4, which following steps below. $ecosconfig new stm32f4discovery $configtool #include int main(){ printf("hello ecos!\r\n"); return 0; } $arm-none-eabi-gcc -o hello.elf…
Gapry
  • 253
  • 1
  • 7
  • 20
0
votes
2 answers

Building C++ application for eCos on ARM

I'm looking to build a C++ application for eCos on an ARM processor. My program requires several standard C++ header files such as vector, iostream, list, ... My question is: how can I achieve this? Does anyone have any experience building and…
0
votes
2 answers

Profiling Implementation Issue with GCC C/C++ cross for PowerPC

I'm trying to get the gcc profiling implemented. I am using the embedded environment eCos with a PowerPC. I programming in C. When I compile and link using the -pg switch, I find that the symbol _mcount is undefined. I realize I need to implement…
KeithSmith
  • 774
  • 2
  • 8
  • 26
1
2