This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001125] New HAL for the Stellaris EK-LM3S811 board


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001125

--- Comment #17 from John Dallaway <john@dallaway.org.uk> 2011-01-31 17:30:33 GMT ---
(In reply to comment #10)

> > Nice thing Christophe, Small is beautiful.  This port may open door to
> > a big number of devices as nearly every manufacturer has Cortex-M
> > devices with 32KiB flash / 8KiB RAM (and below).
> > 
> > [ To decision makers ]
> > 
> > What about "lite" or "tiny" template?
> > "minimal" + kernel + some memory tuning, (like in default_ROM.ecm)
> 
> AFAIK, it cannot be managed only with a template. I agreed that if n00b
> cannot compile "hello, world!" via diag_printf() using minimal template,
> it is our pain (that is famous 32K stack size issue), also I have doubts
> about ~1/2 eCos kernel tests which use stacks like STACK_SIZE_TYPICAL x
> N. Ilija, it does not seem to me that all decision makers and experts on
> CC list of the Bug 1001125, so, I would raise the discussion on the same
> subject on ecos-devel list.

Appropriate stack sizes become critical on small memory targets and may become
highly dependent on the application. It would be wrong to _force_ the developer
into using certain stack sizes. Nevertheless, it would be helpful for new users
to be able to build some tests easily. One possibility is a "Constrain stack
sizes" CDL option in the platform HAL or variant HAL which 'requires' certain
stack sizes. It could be enabled by default to help new users and then disabled
when users gain more experience and can make decisions for themselves.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]