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:
Noel Eck
2018-02-27 12:12:09 -08:00
parent 86e8471cad
commit c54d6de054
315 changed files with 5209 additions and 5168 deletions

View File

@ -1,46 +1,46 @@
{
"Library": "adxrs610",
"Description": "Gyro Breakout Board (300 Degrees/second)",
"Sensor Class":
{
"ADXRS610":
{
"Name": "DFRobot ADXRS610 Gyro Breakout Board",
"Description": "The ADXRS610 is a MEMS based single axis gyroscope with a range of +/- 300 degrees/sec. It also incorporates a temperature sensing unit that can be used for advanced calibration. This sensor returns an analog voltage proportional to the rotation about the Z-axis in degrees/sec. The temperature component returns a proportional analog values in degrees C. This driver was developed using the DFRobot ADXRS610 Gyro Beakout board.",
"Aliases": ["adxrs610"],
"Categories": ["imu", "gyroscope"],
"Connections": ["analog"],
"Project Type": ["prototyping", "industrial"],
"Manufacturers": ["dfrobot"],
"Kits": [],
"Image": "adxrs610.jpg",
"Examples":
{
"Java": [],
"Python": ["adxrs610.py"],
"Node.js": ["adxrs610.js"],
"C++": ["adxrs610.cxx"],
"C": []
},
"Specifications":
{
"Vdd": {"unit": "v", "low" : 5.0, "high": 5.0},
"Quiescent Current": {"unit": "mA", "low": 3.5, "high": 4.5}
},
"Platforms":
{
"Intel Joule Module":
{
"Notes": ["Requires pull-up resistors with carrier board"],
"Images": [""]
}
},
"Urls" :
{
"Product Pages": ["https://www.dfrobot.com/product-642.html"],
"Datasheets": ["http://image.dfrobot.com/image/data/SEN0070/ADXRS610%20datasheet_EN.pdf"],
"Schematics": ["http://image.dfrobot.com/image/data/SEN0070/ADXRS610_Gyro_Breakout.pdf"]
}
}
}
}
{
"Library": "adxrs610",
"Description": "Gyro Breakout Board (300 Degrees/second)",
"Sensor Class":
{
"ADXRS610":
{
"Name": "DFRobot ADXRS610 Gyro Breakout Board",
"Description": "The ADXRS610 is a MEMS based single axis gyroscope with a range of +/- 300 degrees/sec. It also incorporates a temperature sensing unit that can be used for advanced calibration. This sensor returns an analog voltage proportional to the rotation about the Z-axis in degrees/sec. The temperature component returns a proportional analog values in degrees C. This driver was developed using the DFRobot ADXRS610 Gyro Beakout board.",
"Aliases": ["adxrs610"],
"Categories": ["imu", "gyroscope"],
"Connections": ["analog"],
"Project Type": ["prototyping", "industrial"],
"Manufacturers": ["dfrobot"],
"Kits": [],
"Image": "adxrs610.jpg",
"Examples":
{
"Java": [],
"Python": ["adxrs610.py"],
"Node.js": ["adxrs610.js"],
"C++": ["adxrs610.cxx"],
"C": []
},
"Specifications":
{
"Vdd": {"unit": "v", "low" : 5.0, "high": 5.0},
"Quiescent Current": {"unit": "mA", "low": 3.5, "high": 4.5}
},
"Platforms":
{
"Intel Joule Module":
{
"Notes": ["Requires pull-up resistors with carrier board"],
"Images": [""]
}
},
"Urls" :
{
"Product Pages": ["https://www.dfrobot.com/product-642.html"],
"Datasheets": ["http://image.dfrobot.com/image/data/SEN0070/ADXRS610%20datasheet_EN.pdf"],
"Schematics": ["http://image.dfrobot.com/image/data/SEN0070/ADXRS610_Gyro_Breakout.pdf"]
}
}
}
}