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": "kxcjk1013",
|
||||
"Description": "KXCJK1013 Tri-axis Digital Accelerometer API",
|
||||
"Sensor Class":
|
||||
{
|
||||
"KXCJK1013":
|
||||
{
|
||||
"Name": "Tri-axis Digital Accelerometer",
|
||||
"Description": "he KXCJK is a tri-axis +/-2g, +/-4g or +/-8g silicon micromachined accelerometer.",
|
||||
"Aliases": ["kxcjk1013"],
|
||||
"Categories": ["accelerometer"],
|
||||
"Connections": ["iio", "i2c"],
|
||||
"Project Type": ["imu", "prototyping"],
|
||||
"Manufacturers": ["kionix"],
|
||||
"Kits": [],
|
||||
"Examples":
|
||||
{
|
||||
"Java": [],
|
||||
"Python": [],
|
||||
"Node.js": [],
|
||||
"C++": ["kxcjk1013.cxx"],
|
||||
"C": []
|
||||
},
|
||||
"Specifications":
|
||||
{
|
||||
"Operating Voltage": {"unit": "V", "low": 1.71, "typ": 2.6, "high": 3.6},
|
||||
"Operating Current": {"unit": "uA", "low": 0.9, "high": 135},
|
||||
"Operating Temperature": {"unit": "degC", "low": -40, "high": 85}
|
||||
|
||||
},
|
||||
"Urls" :
|
||||
{
|
||||
"Product Pages": [],
|
||||
"Datasheets": ["http://kionixfs.kionix.com/en/datasheet/KXCJK-1013%20Specifications%20Rev%202.pdf"],
|
||||
"Schematics": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"Library": "kxcjk1013",
|
||||
"Description": "KXCJK1013 Tri-axis Digital Accelerometer API",
|
||||
"Sensor Class":
|
||||
{
|
||||
"KXCJK1013":
|
||||
{
|
||||
"Name": "Tri-axis Digital Accelerometer",
|
||||
"Description": "he KXCJK is a tri-axis +/-2g, +/-4g or +/-8g silicon micromachined accelerometer.",
|
||||
"Aliases": ["kxcjk1013"],
|
||||
"Categories": ["accelerometer"],
|
||||
"Connections": ["iio", "i2c"],
|
||||
"Project Type": ["imu", "prototyping"],
|
||||
"Manufacturers": ["kionix"],
|
||||
"Kits": [],
|
||||
"Examples":
|
||||
{
|
||||
"Java": [],
|
||||
"Python": [],
|
||||
"Node.js": [],
|
||||
"C++": ["kxcjk1013.cxx"],
|
||||
"C": []
|
||||
},
|
||||
"Specifications":
|
||||
{
|
||||
"Operating Voltage": {"unit": "V", "low": 1.71, "typ": 2.6, "high": 3.6},
|
||||
"Operating Current": {"unit": "uA", "low": 0.9, "high": 135},
|
||||
"Operating Temperature": {"unit": "degC", "low": -40, "high": 85}
|
||||
|
||||
},
|
||||
"Urls" :
|
||||
{
|
||||
"Product Pages": [],
|
||||
"Datasheets": ["http://kionixfs.kionix.com/en/datasheet/KXCJK-1013%20Specifications%20Rev%202.pdf"],
|
||||
"Schematics": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user