Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

1. In wpeframework-plugins repoworkspace:

https://github.com/WebPlatformForEmbedded/ThunderNanoServices/

Create PluginName folder


2. Create a Makefile CmakeLists.txt” to compile the Plug-in code and to generate the shared library (“.so”)

...

This file contains the plugin's information like schema, information and interface json file etc.,(defined earlier)

            Ex:-

Code Block
themeEclipse
{
  "$schema": "plugin.schema.json",
  "info": {
    "title": "Plugin Name Plugin",
    "callsign": "PluginName",
    "locator": "libWPEFrameworkPluginName.so",
    "status": "production",
    "description": "The PluginName plugin allows retrieving of various plugin-related information.",
    "version": "1.0"
  },
  "interface": {
    "$ref": "{interfacedir}/PluginName.json#"
  }
}

...

6.  <PluginName>.config: This file is used to set some configurations of the Plug-in 

...