Search found 21 matches

by gvandenbosch
Fri Aug 28, 2015 10:28 am
Forum: General Support
Topic: prevent duplicate object files
Replies: 4
Views: 3916

Re: prevent duplicate object files

Hi Giovanni,

Thanks for the pointer, I had to go one version back to 2.2.10.
There were a few changes to be done and then it worked like a charm.

Attached is the modified rules.mk as reference for people that might want to do the same.
This is rules.mk form ARMCMX port.

Cheers,
Gerard
by gvandenbosch
Thu Aug 20, 2015 9:13 am
Forum: General Support
Topic: prevent duplicate object files
Replies: 4
Views: 3916

Re: prevent duplicate object files

Hi Giovanni,

Ok I see, making it to a library is on my list.
On your other suggestion, moving the object files out of the build directory, would that have a big impact on the current makefiles?

Cheers,
Gerard
by gvandenbosch
Wed Aug 19, 2015 4:01 pm
Forum: General Support
Topic: prevent duplicate object files
Replies: 4
Views: 3916

prevent duplicate object files

Hello,

As I noticed during the compilation of a project all object files are placed in the build directory.
When two files have the same name this runs into problems, with a few files this is no problem and easy to rename.
However I am using a few external libraries now and this is starting to ...
by gvandenbosch
Fri Jul 24, 2015 6:46 pm
Forum: General Support
Topic: lwIP start race condition (patch)
Replies: 9
Views: 8085

Re: lwIP start race condition (patch)

Hi Giovanni,

Thank you for your reply.

I fixed it by slightly modifying the patch with passing my own struct as the single parameter.
The callback from lwip works like a charm now.

Cheers,
Gerard
by gvandenbosch
Fri Jul 24, 2015 11:52 am
Forum: General Support
Topic: lwIP start race condition (patch)
Replies: 9
Views: 8085

Re: lwIP start race condition (patch)

Hi Giovanni,

We are still on the 2.6x version, is this possible there?
Or was this proposed patch for the 3.x version only?

Cheers,
Gerard
by gvandenbosch
Fri Jul 24, 2015 9:11 am
Forum: General Support
Topic: lwIP start race condition (patch)
Replies: 9
Views: 8085

Re: lwIP start race condition (patch)

Hello,

I am trying to implement your fix because I think this solves one of my problems, I have a delay now before starting to use the lwip otherwise I get into trouble as well.

One thing is a bit unclear to me about starting the thread.
Normally I start the thread like this:
chThdCreateFromHeap ...
by gvandenbosch
Tue Jun 23, 2015 8:15 am
Forum: General Support
Topic: lwip sockets select crash
Replies: 9
Views: 7231

Re: lwip sockets select crash

Hi Giovanni,

For me this is working so far so good.
Thanks.

Cheers,
Gerard
by gvandenbosch
Tue Jun 16, 2015 9:19 am
Forum: General Support
Topic: lwip sockets select crash
Replies: 9
Views: 7231

Re: lwip sockets select crash

Hi Giovanni,

I actually did it quick and dirty as described in the post from the lwip mailinglist.
Just commented the line and moved it to the top of my for loop.

http://s18.postimg.org/v7vubsfuh/Selection_044.png

I just looked into the lwip GIT repo and saw they did the same:
m ...
by gvandenbosch
Mon Jun 15, 2015 4:16 pm
Forum: General Support
Topic: lwip sockets select crash
Replies: 9
Views: 7231

Re: lwip sockets select crash

Hi Giovanni,

Did some more testing and this seems to work well now.
I didn't have any problems with the select anymore.

Cheers,
Gerard
by gvandenbosch
Mon Jun 15, 2015 12:46 pm
Forum: General Support
Topic: lwip sockets select crash
Replies: 9
Views: 7231

Re: lwip sockets select crash

Hi Giovanni,

Thank you for your quick answer.

We are using the 2.6.8 stable version.

From what I am seeing, is that the signal is called, then the code in the lwip_select function continues after the wait in there.
The weird thing here is that the list is set to 0x0 because the only element in ...