If I understand correctly, you are trying to put some files on web server so you don't need to generate the web page dynamically. Here is a sample. To use files from file system (flash memory in your case), you will need to open a FileX media and pass it to nx_web_http_server_create. In callback function, if you want the file system to handle the requested URI, simply return NX_SUCCESS as shown here.
How to generate .bin from web files (Web server application)
Alexis Galindo Flores
6
Reputation points
Hi everybody,
I am working with AZURE RTOS and I have implemented an HTTP web server application. I started from the example available in CubeIDE. Everything is working properly but now I need to modifiy the HTTP web page. For this, it is necessary to generate a .bin file from the .js, .css and .html files:
Could somebody help me with this issue? I think it should exists a script or something like that for it.
Thanks in advance.
1 answer
Sort by: Most helpful
-
Tiejun Zhou 1,126 Reputation points Microsoft Employee
2022-04-07T07:17:15.333+00:00