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,39 +1,39 @@
{
"Library": "max31723",
"Description": "API for the MAX31723 Temperature Sensor",
"Sensor Class":
{
"MAX31723":
{
"Name": "SPI/3-wire Digital Thermometer",
"Description": "Maxim Integrated* [MAX31723](http://datasheets.maximintegrated.com/en/ds/MAX31722-MAX31723.pdf) is a low-voltage 3-wire/SPI temperature sensor controller. This module was tested on the Maxim Integrated [MAX31732PMB1 PMOD module](http://datasheets.maximintegrated.com/en/ds/MAX31723PMB1.pdf) from the analog PMOD kit.",
"Aliases": ["max31723"],
"Categories": ["temperature"],
"Connections": ["spi"],
"Project Type": ["environmental", "prototyping"],
"Manufacturers": ["maxim"],
"Kits": [],
"Examples":
{
"Java": [],
"Python": [],
"Node.js": [],
"C++": ["max31723.cxx"],
"C": []
},
"Specifications":
{
"Operating Voltage": {"unit": "V", "low": 1.7, "high": 3.7},
"Operating Current": {"unit": "uA", "low": 100, "high":1200},
"Operating Temperature": {"unit": "degC", "low": -55, "high": 125}
},
"Urls" :
{
"Product Pages": ["https://www.maximintegrated.com/en/products/analog/sensors-and-sensor-interface/MAX31723.html"],
"Datasheets": ["https://datasheets.maximintegrated.com/en/ds/MAX31722-MAX31723.pdf"],
"Schematics": []
}
}
}
}
{
"Library": "max31723",
"Description": "API for the MAX31723 Temperature Sensor",
"Sensor Class":
{
"MAX31723":
{
"Name": "SPI/3-wire Digital Thermometer",
"Description": "Maxim Integrated* [MAX31723](http://datasheets.maximintegrated.com/en/ds/MAX31722-MAX31723.pdf) is a low-voltage 3-wire/SPI temperature sensor controller. This module was tested on the Maxim Integrated [MAX31732PMB1 PMOD module](http://datasheets.maximintegrated.com/en/ds/MAX31723PMB1.pdf) from the analog PMOD kit.",
"Aliases": ["max31723"],
"Categories": ["temperature"],
"Connections": ["spi"],
"Project Type": ["environmental", "prototyping"],
"Manufacturers": ["maxim"],
"Kits": [],
"Examples":
{
"Java": [],
"Python": [],
"Node.js": [],
"C++": ["max31723.cxx"],
"C": []
},
"Specifications":
{
"Operating Voltage": {"unit": "V", "low": 1.7, "high": 3.7},
"Operating Current": {"unit": "uA", "low": 100, "high":1200},
"Operating Temperature": {"unit": "degC", "low": -55, "high": 125}
},
"Urls" :
{
"Product Pages": ["https://www.maximintegrated.com/en/products/analog/sensors-and-sensor-interface/MAX31723.html"],
"Datasheets": ["https://datasheets.maximintegrated.com/en/ds/MAX31722-MAX31723.pdf"],
"Schematics": []
}
}
}
}