mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-12-10 07:14:36 +01:00
This reverts commit 65a8907828.
This commit is contained in:
parent
829c067ee7
commit
8421b451f7
1 changed files with 6 additions and 0 deletions
|
|
@ -51,13 +51,19 @@
|
||||||
*
|
*
|
||||||
* This library enables you to make use of the LwIP HTTP client and server library
|
* This library enables you to make use of the LwIP HTTP client and server library
|
||||||
*
|
*
|
||||||
|
* \par LwIP HTTP server
|
||||||
|
*
|
||||||
* To make use of the LwIP HTTP server you need to provide the HTML that the server will return to the client.
|
* To make use of the LwIP HTTP server you need to provide the HTML that the server will return to the client.
|
||||||
* This is done by compiling the content directly into the executable.
|
* This is done by compiling the content directly into the executable.
|
||||||
*
|
*
|
||||||
|
* \par makefsdata
|
||||||
|
*
|
||||||
* LwIP provides a c-library tool `makefsdata` to compile your HTML into a source file for inclusion into your program.
|
* LwIP provides a c-library tool `makefsdata` to compile your HTML into a source file for inclusion into your program.
|
||||||
* This is quite hard to use as you need to compile the tool as a native binary, then run the tool to generate a source file
|
* This is quite hard to use as you need to compile the tool as a native binary, then run the tool to generate a source file
|
||||||
* before compiling your code for the Pico device.
|
* before compiling your code for the Pico device.
|
||||||
*
|
*
|
||||||
|
* \par pico_set_lwip_httpd_content
|
||||||
|
*
|
||||||
* To make this whole process easier, a python script `makefsdata.py` is provided to generate a source file for your HTML content.
|
* To make this whole process easier, a python script `makefsdata.py` is provided to generate a source file for your HTML content.
|
||||||
* A CMake function `pico_set_lwip_httpd_content` takes care of running the `makefsdata.py` python script for you.
|
* A CMake function `pico_set_lwip_httpd_content` takes care of running the `makefsdata.py` python script for you.
|
||||||
* To make use of this, specify the name of the source file as `pico_fsdata.inc` in `lwipopts.h`.
|
* To make use of this, specify the name of the source file as `pico_fsdata.inc` in `lwipopts.h`.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue