mirror of
https://github.com/eclipse/upm.git
synced 2025-10-29 22:24:48 +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,37 +1,37 @@
|
||||
{
|
||||
"Library": "ldt0028",
|
||||
"Description": "API for LDT0-028 PZT Film-Based Sensors",
|
||||
"Sensor Class":
|
||||
{
|
||||
"LDT0028":
|
||||
{
|
||||
"Name": "Piezo Vibration Sensor",
|
||||
"Description": "This module defines the LDT0-028 interface for libupm-ldt0028",
|
||||
"Aliases": ["ldt0028"],
|
||||
"Categories": ["vibration"],
|
||||
"Connections": ["analog"],
|
||||
"Project Type": ["industrial", "prototyping"],
|
||||
"Manufacturers": ["seeed"],
|
||||
"Kits": [],
|
||||
"Image": "ldt0028.jpg",
|
||||
"Examples":
|
||||
{
|
||||
"Java": ["LDT0028Sample.java"],
|
||||
"Python": ["ldt0028.py"],
|
||||
"Node.js": ["ldt0028.js"],
|
||||
"C++": ["ldt0028.cxx"],
|
||||
"C": ["ldt0028.c"]
|
||||
},
|
||||
"Specifications":
|
||||
{
|
||||
"Operating Voltage": {"unit": "V", "low": 3.3, "high": 5}
|
||||
},
|
||||
"Urls" :
|
||||
{
|
||||
"Product Pages": ["https://www.seeedstudio.com/Grove-Piezo-Vibration-Sensor-p-1411.html"],
|
||||
"Datasheets": ["http://wiki.seeed.cc/Grove-Piezo_Vibration_Sensor/", "https://raw.githubusercontent.com/SeeedDocument/Grove-Piezo_Vibration_Sensor/master/res/Piezo_Vibration_Sensor.pdf"],
|
||||
"Schematics": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"Library": "ldt0028",
|
||||
"Description": "API for LDT0-028 PZT Film-Based Sensors",
|
||||
"Sensor Class":
|
||||
{
|
||||
"LDT0028":
|
||||
{
|
||||
"Name": "Piezo Vibration Sensor",
|
||||
"Description": "This module defines the LDT0-028 interface for libupm-ldt0028",
|
||||
"Aliases": ["ldt0028"],
|
||||
"Categories": ["vibration"],
|
||||
"Connections": ["analog"],
|
||||
"Project Type": ["industrial", "prototyping"],
|
||||
"Manufacturers": ["seeed"],
|
||||
"Kits": [],
|
||||
"Image": "ldt0028.jpg",
|
||||
"Examples":
|
||||
{
|
||||
"Java": ["LDT0028_Example.java"],
|
||||
"Python": ["ldt0028.py"],
|
||||
"Node.js": ["ldt0028.js"],
|
||||
"C++": ["ldt0028.cxx"],
|
||||
"C": ["ldt0028.c"]
|
||||
},
|
||||
"Specifications":
|
||||
{
|
||||
"Operating Voltage": {"unit": "V", "low": 3.3, "high": 5}
|
||||
},
|
||||
"Urls" :
|
||||
{
|
||||
"Product Pages": ["https://www.seeedstudio.com/Grove-Piezo-Vibration-Sensor-p-1411.html"],
|
||||
"Datasheets": ["http://wiki.seeed.cc/Grove-Piezo_Vibration_Sensor/", "https://raw.githubusercontent.com/SeeedDocument/Grove-Piezo_Vibration_Sensor/master/res/Piezo_Vibration_Sensor.pdf"],
|
||||
"Schematics": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user