The web pages for the Embedded Web Server are created in the same
way as the web pages for any other web server. You can use any text
editor to edit the HTML code. It is a good idea to preview the
page. Here are a few guidelines:
Design a web page in HTML code. You can add images and
java script functions as well.
If the web page needs to show dynamic values, code this
page in the script
language. You must also update the CGI callback function,
cgi_func(), accordingly. It
is a good practice to program the script code and cgi_func() in
parallel. Note that the module HTTP_CGI.c must be included
in your project.
If needed, draw or add images, which can be of type gif,
bmp, jpg, or png for example. A good choice is to select the image
type with the better compression because these files are
included in the code. Large image files might increase the
application code size by a large extent.
Add all the web files to the FCARM File Converter command
file and include the FCARM output C-file in your
project.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.