Hi everyone, we use lwIP on a Stellaris microcontroller. I am currently integrating a webserver into our firmware. Using the in ROM filesystem this works as intended using the httpserver-raw.
Now I am trying to get the httpserver to read the .html-files from external Flash-Memory. I enabled LWIP_HTTPD_CUSTOM_FILES and LWIP_HTTPD_DYNAMIC_FILE_READ and implemented the functions fs_open_custom and fs_close_custom. But what function do I need to implement to actually read the file? The only candidate I find is fs_wait_read_custom which reads asynchronisly which I do not need. Is somebody using the httpserver-raw and "real" files? If yes: What is the correct API to use? Regards, -- Philipp Tölke, M.Sc. - Software-Developer - fos4X GmbH - www.fos4x.de Thalkirchner Str. 210, Geb. 6 - D-81371 München; AG München HRB 189 218 T +49 89 999 542 58 - F +49 89 999 542 01 Managing Directors: Dr. Lars Hoffmann, Dr. Mathias Müller _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
