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": "h3lis331dl",
|
||||
"Description": "H3LIS331DL I2C Accelerometer (400g) Library",
|
||||
"Sensor Class":
|
||||
{
|
||||
"H3LIS331DL":
|
||||
{
|
||||
"Name": "I2C 3-axis Digital Accelerometer (400g)",
|
||||
"Description": "This is a high-performance, high-range accelerometer for extreme applications.",
|
||||
"Aliases": ["h3lis331dl"],
|
||||
"Categories": ["accelerometer"],
|
||||
"Connections": ["i2c"],
|
||||
"Project Type": ["IMU", "prototyping"],
|
||||
"Manufacturers": ["seeed", "stmicro"],
|
||||
"Kits": [],
|
||||
"Image": "h3lis331dl.jpg",
|
||||
"Examples":
|
||||
{
|
||||
"Java": ["H3LIS331DLSample.java"],
|
||||
"Python": ["h3lis331dl.py"],
|
||||
"Node.js": ["h3lis331dl.js"],
|
||||
"C++": ["h3lis331dl.cxx"],
|
||||
"C": []
|
||||
},
|
||||
"Specifications":
|
||||
{
|
||||
"Operating Voltage": {"unit": "V", "low": 3.3, "high": 5},
|
||||
"Operating Current": {"unit": "uA", "typ": 300},
|
||||
"Measurement Range": {"unit": "+-g", "low": 100, "high": 400}
|
||||
},
|
||||
"Urls" :
|
||||
{
|
||||
"Product Pages": ["httpshttps://www.seeedstudio.com/Grove-3Axis-Digital-Accelerometer400g-p-1897.html"],
|
||||
"Datasheets": ["http://www.st.com/web/en/resource/technical/document/datasheet/DM00053090.pdf", "http://wiki.seeed.cc/Grove-3-Axis_Digital_Accelerometer-400g/"],
|
||||
"Schematics": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"Library": "h3lis331dl",
|
||||
"Description": "H3LIS331DL I2C Accelerometer (400g) Library",
|
||||
"Sensor Class":
|
||||
{
|
||||
"H3LIS331DL":
|
||||
{
|
||||
"Name": "I2C 3-axis Digital Accelerometer (400g)",
|
||||
"Description": "This is a high-performance, high-range accelerometer for extreme applications.",
|
||||
"Aliases": ["h3lis331dl"],
|
||||
"Categories": ["accelerometer"],
|
||||
"Connections": ["i2c"],
|
||||
"Project Type": ["IMU", "prototyping"],
|
||||
"Manufacturers": ["seeed", "stmicro"],
|
||||
"Kits": [],
|
||||
"Image": "h3lis331dl.jpg",
|
||||
"Examples":
|
||||
{
|
||||
"Java": ["H3LIS331DL_Example.java"],
|
||||
"Python": ["h3lis331dl.py"],
|
||||
"Node.js": ["h3lis331dl.js"],
|
||||
"C++": ["h3lis331dl.cxx"],
|
||||
"C": []
|
||||
},
|
||||
"Specifications":
|
||||
{
|
||||
"Operating Voltage": {"unit": "V", "low": 3.3, "high": 5},
|
||||
"Operating Current": {"unit": "uA", "typ": 300},
|
||||
"Measurement Range": {"unit": "+-g", "low": 100, "high": 400}
|
||||
},
|
||||
"Urls" :
|
||||
{
|
||||
"Product Pages": ["httpshttps://www.seeedstudio.com/Grove-3Axis-Digital-Accelerometer400g-p-1897.html"],
|
||||
"Datasheets": ["http://www.st.com/web/en/resource/technical/document/datasheet/DM00053090.pdf", "http://wiki.seeed.cc/Grove-3-Axis_Digital_Accelerometer-400g/"],
|
||||
"Schematics": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user