This is the mail archive of the ecos-bugs@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 1001116] Instruct lwIP to use special section for buffers andheap.


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

--- Comment #10 from Ilija Kocho <ilijak@siva.com.mk> 2011-01-28 12:26:39 GMT ---
(In reply to comment #9)
> "Make it as simple as you can, and no simpler" :-) But,
> 
> I would not use calculated command as you proposed

Why not use calculated? By using calculated value we have a single entry point
for section name. It can be further enhanced by following:

    cdl_component CYGDAT_LWIP_MEM_SECTION_NAME {
          ...
          legal_values { "ahb_bss" "ahb_0" }
          ...
    }

> 
>     cdl_option CYGDAT_LWIP_MEM_SECTION {
>         display "Special memory section for lwIP buffers"
>         default_value 0
> 
> IMO, you can do it in your CDL (HAL)
> 
>     cdl_option CYGDAT_LWIP_MEM_SECTION_NAME {
>         ...
>         requires { CYGDAT_LWIP_MEM_SECTION == ... }
> 
> Comments?

The combination that you are proposing inherently raises a conflict which I
prefer to avoid.
However I tried it and the conflict resolution offered by configtool is not
what we want - it offers CYGDAT_LWIP_MEM_SECTION_NAME = 0 ??

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


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