beremiz

SVGHMI: add static file serving feature.

17 months ago, Edouard Tisserant
4ce63b8647d7
SVGHMI: add static file serving feature.

Added two buttons to add and remove files.
Files are stored in project inside a directory named "static",
itself located in svghmi CTN instance files. Exemple :
exemples/svghmi_csv_json_img_table/svghmi_0@svghmi/static/
Files are transfered as "extra_files", but with a prefix
added to their name to avoid conflics.
# eRPC Interface
This directory contains the eRPC interface definition and Python generated code for RPC channel used in between IDE and PLC.
## Directory Structure
- `erpc_PLCObject.erpc`: eRPC interface definition, subset of IDL language
- `erpc_PLCObject/`: This directory contains eRPC interface generated python code
- `__init__.py`: Useless and empty file also generated by `erpcgen`
## eRPC Interface Definition
The eRPC interface definition files define the communication protocol and message formats used by the project. These files are used to generate the necessary code for both the client and server sides.
## Generated Code
The Python code generated from the eRPC interface definition provides the necessary functions and classes to interact with the eRPC server. This code is used to implement both sides of the communication.
```sh
erpcgen -g py erpc_PLCObject.erpc
```