File tree 1 file changed +6
-0
lines changed 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 51
51
*
52
52
* This library enables you to make use of the LwIP HTTP client and server library
53
53
*
54
+ * \par LwIP HTTP server
55
+ *
54
56
* To make use of the LwIP HTTP server you need to provide the HTML that the server will return to the client.
55
57
* This is done by compiling the content directly into the executable.
56
58
*
59
+ * \par makefsdata
60
+ *
57
61
* LwIP provides a c-library tool `makefsdata` to compile your HTML into a source file for inclusion into your program.
58
62
* 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
59
63
* before compiling your code for the Pico device.
60
64
*
65
+ * \par pico_set_lwip_httpd_content
66
+ *
61
67
* To make this whole process easier, a python script `makefsdata.py` is provided to generate a source file for your HTML content.
62
68
* A CMake function `pico_set_lwip_httpd_content` takes care of running the `makefsdata.py` python script for you.
63
69
* To make use of this, specify the name of the source file as `pico_fsdata.inc` in `lwipopts.h`.
You can’t perform that action at this time.
0 commit comments