Hi,
thank you for the porting guide. Could I point a misunderstanding?

In a sentence in the section "Final declarations for sys_arch.h" there
is stated "sys_sem_t, sys_mbox_t, sys_thread_t all refer to pointers
to the appropriate types, whether native OS versions or wrappers used
to make them conform to what lwIP expects".

However I think that "sys_sem_t, sys_mbox_t, sys_thread_t" are
typedefs to the appropriate types, not pointers (in a C way). I am
quite sure of this because I am using a FreeRTOS wrapper that uses a
map - int(handle) <=> pointer(semaphore) and e.g. my sys_sem_t is a
typedef to int.

I have just finished upgrading to 1.4.0 and I would like to add some
ideas to the document if you allow. I am not a native speaker so that
a proofreading would be appropriate.

Regards
Martin

P.S.
I have already corrected the functions prototypes to take a pointer to
sys_mbox_t in the section Mailboxes .

On 28 June 2011 21:16,  <ake.forsl...@nibe.se> wrote:
> Hi fellows!
>
> I took the liberty to updating the old porting guide according to the
> changes made in the porting layer in lwIP 1.4.0. I created a new page for
> this since I figured 1.3.2 is still relevant and people may still be using
> it for reference. I'm not 100% sure of everything but the function calls
> should look more like 1.4.0 now. The page can be found here:
> http://lwip.wikia.com/wiki/Porting_for_an_OS_1.4.0
>
> It's a wiki so correct me where I'm wrong, or tell me if anything seems to
> be weird and I'll try to correct or clarify.
>
> Best Regards
> /Åke
>
> -----------------------------
> Åke Forslund
> 0433-273296
> NIBE AB
> Box 14
> S-285 21 Markaryd
> Tel +46-(0)433-273296
> _______________________________________________
> lwip-users mailing list
> lwip-users@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/lwip-users
>

_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to