-
Notifications
You must be signed in to change notification settings - Fork 793
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add lwip httpd example #269
Conversation
Looks like the CI server ran out of processes? ping @liamfraser EDIT: passing again now - perhaps this was also related to today's server-reboot incident? |
dd5928b
to
1c20085
Compare
The sys version of this fails an assert in freertos. Not immediately obvious why #0 _exit (status=status@entry=1) at /home/peterh/source/pico/pico-sdk/src/rp2_common/pico_runtime/runtime.c:183 pxQueue->uxItemSize is 66 |
72c5808
to
08e59c6
Compare
@lurch Yes. Unfortunately that c file is generated by a binary that's built from c code. So the tool has to be built first. It didn't strike me as trivial to build a native binary in the sdk? I could check a windows and linux version in and generate picow_fsdata.c from that I guess? But it seems less fragile to check the source in and require a manual step if the files are changed. Ideally there would be a python version of the tool. |
AFAIK the SDK build-process does build
Yup. |
Yes - I can vaguely see what it's doing. I might give it a try. |
2adbe32
to
345423c
Compare
Currently failing... *** PANIC *** |
f586a14
to
ddff14e
Compare
Now needs raspberrypi/pico-sdk#1139 :) |
ddff14e
to
52932c8
Compare
Updated this to tip of dev. Changed to use CYW43_TASK_STACK_SIZE so now it depends on this raspberrypi/pico-sdk#1177 |
threadsafe and freertos Fixes raspberrypi#266
Add modifications needed to the httpd freertos example Fixes raspberrypi#272
These replace the examples provided by lwip
Stop changing min stack size and use CYW43_TASK_STACK_SIZE instead. Requires async changes
52932c8
to
543b2e4
Compare
I think this is ready! |
72ca4aa
to
1cd4f02
Compare
1cd4f02
to
9179d1e
Compare
Fails on Windows ninja: error: 'pico_w/freertos/httpd/makefsdata/makefsdata.exe', needed by 'pico_w/freertos/httpd/content/picow_fsdata.c', missing and no known rule to make it |
ah ha - fails on a proper OS as well when using ninja |
Fiddle with stuff till it works Actually it just didn't like the directory creation in the end
ninja works on ubuntu now. Still can't get Windows to build a native binary. I think I'll give up on this. |
threadsafe and freertos
Fixes #266