This is the mail archive of the
ecos-bugs@sourceware.org
mailing list for the eCos project.
[Bug 1001116] Instruct lwIP to use special section for buffers andheap.
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: ecos-bugs at ecos dot sourceware dot org
- Date: Sun, 30 Jan 2011 17:38:56 +0000
- Subject: [Bug 1001116] Instruct lwIP to use special section for buffers andheap.
- Auto-submitted: auto-generated
- References: <bug-1001116-13@http.bugs.ecos.sourceware.org/>
Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001116
--- Comment #24 from Ilija Kocho <ilijak@siva.com.mk> 2011-01-30 17:38:53 GMT ---
(In reply to comment #22)
> Maybe this will be obsolete comment, but
>
> (In reply to comment #18)
> > (In reply to comment #17)
> > Therefore i would prefer something that will not depend on ECM. One way is:
> >
> > cdl_option CYGOPT_LWIP_MEM_SECTION {
> > ...
> > default_value 1
> > ...
> > }
>
> I disagreed with above, as for the most targets we will see *grayed* and
> *checked* box in CT:
>
> [x] Use additional memory section
>
> To reduse mouse traffic you can use such a trick:
>
> cdl_option CYGOPT_LWIP_MEM_SECTION {
> ...
> default_value { is_substr(CYGDAT_LWIP_MEM_SECTION_NAME, ".") }
> active_if CYGDAT_LWIP_MEM_SECTION_NAME
>
> The box will be unchecked until booldata in your HAL (CYGDAT_.*_NAME) is not
> proper section name. However, this was quickly tested only.
I have noticed it, but I allowed to occur it since I have seen similar behavior
in some other CDLs.
Actually I tried something similar
cdl_option CYGOPT_LWIP_MEM_SECTION {
...
default_value is_active(CYGDAT_LWIP_MEM_SECTION_NAME)
active_if CYGDAT_LWIP_MEM_SECTION_NAME
But I'm not sure if it depends on the order the packages are processed/applied.
FYI it worked for my test case (select default template then add lwip).
--
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.