mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 01:41:12 +03:00
JAVA: Unified Java Example names
Unified all Java examples to *match* <LIBRARY>[_otherstuf]_Example.java. Note, a handful of the examples have a pseudo-random string for the first component (see FlexSensor_Example.java, ideally this would be Flex_Example.java). This commit allows for quick development on a single sensor library since a -DMODULE_LIST=mysensorlib now works with Java examples (previously Java examples would fail generation when using MODULE_LIST). * Renamed examples * Updated class names * Updated library descriptor .json files * Updated sample mapping file TODO: Make this work like the C/C++ examples - grab the target library name from the filename and grab all dependencies from that target library. Fix the handful of example names which don't conform. Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
@ -1,39 +1,39 @@
|
||||
{
|
||||
"Library": "grovescam",
|
||||
"Description": "Grove Serial Camera Library",
|
||||
"Sensor Class":
|
||||
{
|
||||
"GROVESCAM":
|
||||
{
|
||||
"Name": "Serial Camera Module",
|
||||
"Description": "UPM module for the ear-clip heart rate sensor. It is used to measure your heart rate.",
|
||||
"Aliases": ["grovescam"],
|
||||
"Categories": ["imaging", "deprecated"],
|
||||
"Connections": ["uart"],
|
||||
"Project Type": ["prototyping", "access control", "security"],
|
||||
"Manufacturers": ["seeed"],
|
||||
"Kits": [],
|
||||
"Image": "grovescam.jpg",
|
||||
"Examples":
|
||||
{
|
||||
"Java": ["GROVESCAMSample.java"],
|
||||
"Python": ["grovescam.py"],
|
||||
"Node.js": ["grovescam.js"],
|
||||
"C++": ["grovescam.cxx"],
|
||||
"C": []
|
||||
},
|
||||
"Specifications":
|
||||
{
|
||||
"Operating Voltage": {"unit": "V", "typ": 5},
|
||||
"Resolution": {"unit": "", "max": "640x480"}
|
||||
|
||||
},
|
||||
"Urls" :
|
||||
{
|
||||
"Product Pages": ["https://www.seeedstudio.com/Grove-Serial-Camera-Kit-p-1608.html"],
|
||||
"Datasheets": ["http://www.seeedstudio.com/wiki/Grove_-_Serial_Camera_Kit"],
|
||||
"Schematics": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"Library": "grovescam",
|
||||
"Description": "Grove Serial Camera Library",
|
||||
"Sensor Class":
|
||||
{
|
||||
"GROVESCAM":
|
||||
{
|
||||
"Name": "Serial Camera Module",
|
||||
"Description": "UPM module for the ear-clip heart rate sensor. It is used to measure your heart rate.",
|
||||
"Aliases": ["grovescam"],
|
||||
"Categories": ["imaging", "deprecated"],
|
||||
"Connections": ["uart"],
|
||||
"Project Type": ["prototyping", "access control", "security"],
|
||||
"Manufacturers": ["seeed"],
|
||||
"Kits": [],
|
||||
"Image": "grovescam.jpg",
|
||||
"Examples":
|
||||
{
|
||||
"Java": ["GROVESCAM_Example.java"],
|
||||
"Python": ["grovescam.py"],
|
||||
"Node.js": ["grovescam.js"],
|
||||
"C++": ["grovescam.cxx"],
|
||||
"C": []
|
||||
},
|
||||
"Specifications":
|
||||
{
|
||||
"Operating Voltage": {"unit": "V", "typ": 5},
|
||||
"Resolution": {"unit": "", "max": "640x480"}
|
||||
|
||||
},
|
||||
"Urls" :
|
||||
{
|
||||
"Product Pages": ["https://www.seeedstudio.com/Grove-Serial-Camera-Kit-p-1608.html"],
|
||||
"Datasheets": ["http://www.seeedstudio.com/wiki/Grove_-_Serial_Camera_Kit"],
|
||||
"Schematics": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user