Get a HTTP/CGI/SSI server working #2748
Unanswered
iamtheband
asked this question in
Q&A
Replies: 1 comment
-
https://github.com/earlephilhower/arduino-pico/tree/master/tools#libpicomake-libpicosh GitHub can rebuild it using actions, too, on a fork of this repo. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Earle/all,
I'm porting some code from a "crude" Pi Pico SDK build to the Arduino-Pico framework. Part of that code is a HTTP server that is built on the lwIP stack in the SDK.
When I build the ported code I get a linker error:
You can have a look at the referenced files e.g. here:
https://github.com/MusicallyEmbodiedML/PicoMEML/blob/cgi/src/web/WebInterface.cpp
My hunch is that the relevant SDK library, called
pico_lwip_http
, isn't exposed by Arduino-Pico. In our CMake build, we'd have something like this in our CMakeLists:Can someone point me towards good instructions to rebuild the SDK with that pico_lwip_http dependency? Instinctively, I would add pico_lwip_http to this file:
arduino-pico/tools/libpico/CMakeLists.txt
Line 229 in 8caa590
But then I'm not sure how to rebuild the SDK specifically for Arduino.
Thanks everyone!
Beta Was this translation helpful? Give feedback.
All reactions