mirror of
https://github.com/eclipse/upm.git
synced 2025-10-29 14:15:33 +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,38 +1,38 @@
|
||||
{
|
||||
"Library": "lidarlitev3",
|
||||
"Description": "API for the LIDARLITEV3 Optical Distance Measurement Sensor",
|
||||
"Sensor Class":
|
||||
{
|
||||
"LIDARLITEV3":
|
||||
{
|
||||
"Name": "Optical Distance Measurement Sensor",
|
||||
"Description": "It is a compact, high-performance optical distance measurement sensor from Garmin.",
|
||||
"Aliases": ["lidarlitev3"],
|
||||
"Categories": ["distance"],
|
||||
"Connections": ["i2c", "pwm"],
|
||||
"Project Type": ["robotics", "prototyping"],
|
||||
"Manufacturers": ["garmin"],
|
||||
"Kits": [],
|
||||
"Image": "lidarlitev3.jpg",
|
||||
"Examples":
|
||||
{
|
||||
"Java": [],
|
||||
"Python": [],
|
||||
"Node.js": [],
|
||||
"C++": ["lidarlitev3.cxx"],
|
||||
"C": []
|
||||
},
|
||||
"Specifications":
|
||||
{
|
||||
"Operating Voltage": {"unit": "V", "typ": 5},
|
||||
"Operating Current": {"unit": "mA", "low": 105, "high": 130}
|
||||
},
|
||||
"Urls" :
|
||||
{
|
||||
"Product Pages": ["https://www.sparkfun.com/products/14032"],
|
||||
"Datasheets": ["http://static.garmin.com/pumac/LIDAR_Lite_v3_Operation_Manual_and_Technical_Specifications.pdf"],
|
||||
"Schematics": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"Library": "lidarlitev3",
|
||||
"Description": "API for the LIDARLITEV3 Optical Distance Measurement Sensor",
|
||||
"Sensor Class":
|
||||
{
|
||||
"LIDARLITEV3":
|
||||
{
|
||||
"Name": "Optical Distance Measurement Sensor",
|
||||
"Description": "It is a compact, high-performance optical distance measurement sensor from Garmin.",
|
||||
"Aliases": ["lidarlitev3"],
|
||||
"Categories": ["distance"],
|
||||
"Connections": ["i2c", "pwm"],
|
||||
"Project Type": ["robotics", "prototyping"],
|
||||
"Manufacturers": ["garmin"],
|
||||
"Kits": [],
|
||||
"Image": "lidarlitev3.jpg",
|
||||
"Examples":
|
||||
{
|
||||
"Java": [],
|
||||
"Python": [],
|
||||
"Node.js": [],
|
||||
"C++": ["lidarlitev3.cxx"],
|
||||
"C": []
|
||||
},
|
||||
"Specifications":
|
||||
{
|
||||
"Operating Voltage": {"unit": "V", "typ": 5},
|
||||
"Operating Current": {"unit": "mA", "low": 105, "high": 130}
|
||||
},
|
||||
"Urls" :
|
||||
{
|
||||
"Product Pages": ["https://www.sparkfun.com/products/14032"],
|
||||
"Datasheets": ["http://static.garmin.com/pumac/LIDAR_Lite_v3_Operation_Manual_and_Technical_Specifications.pdf"],
|
||||
"Schematics": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user