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": "bmx050",
"Description": "Bosch 3-axis Magnetometer",
"Sensor Class":
{
"BMM150":
{
"Name": "3-axis Geomagnetic Sensor",
"Description": "The BMM150 is a standalone geomagnetic sensor for consumer market applications. It allows measurements of the magnetic field in three perpendicular axes. Based on Bosch's proprietary FlipCore technology, performance and features of BMM150 are carefully tuned and perfectly match the demanding requirements of all 3-axis mobile applications such as electronic compass, navigation or augmented reality. An evaluation circuitry (ASIC) converts the output of the geomagnetic sensor to digital results which can be read out over the industry standard digital interfaces (SPI and I2C). Not all functionality of this chip has been implemented in this driver, however all the pieces are present to add any desired functionality. This driver supports both I2C (default) and SPI operation.",
"Aliases": ["bme280"],
"Categories": ["pressure", "humidity", "temperature"],
"Connections": ["gpio", "i2c", "spi"],
"Project Type": ["prototyping", "industrial"],
"Manufacturers": ["bosch"],
"Kits": [],
"Examples":
{
"Java": ["BMM150_Example.java"],
"Python": ["bmm150.py"],
"Node.js": ["bmm150.js"],
"C++": ["bmm150.cxx"],
"C": ["bmm150.c"]
},
"Specifications":
{
"Vdd": {"unit": "v", "low" : 1.62, "high": 3.6},
"Temperature Range": {"unit": "degC", "low" : -40, "high": 85},
"Sensing Range": {"unit": "uT (±)", "low": 1300, "high": 2500}
},
"Platforms":
{
"Intel Joule Module":
{
"Notes": ["Requires pull-up resistors with carrier board"],
"Images": [""]
}
},
"Urls" :
{
"Product Pages": ["https://www.bosch-sensortec.com/bst/products/all_products/bmm150"],
"Datasheets": ["https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMM150-DS001-01.pdf"],
"Schematics": []
}
}
}
}
{
"Library": "bmx050",
"Description": "Bosch 3-axis Magnetometer",
"Sensor Class":
{
"BMM150":
{
"Name": "3-axis Geomagnetic Sensor",
"Description": "The BMM150 is a standalone geomagnetic sensor for consumer market applications. It allows measurements of the magnetic field in three perpendicular axes. Based on Bosch's proprietary FlipCore technology, performance and features of BMM150 are carefully tuned and perfectly match the demanding requirements of all 3-axis mobile applications such as electronic compass, navigation or augmented reality. An evaluation circuitry (ASIC) converts the output of the geomagnetic sensor to digital results which can be read out over the industry standard digital interfaces (SPI and I2C). Not all functionality of this chip has been implemented in this driver, however all the pieces are present to add any desired functionality. This driver supports both I2C (default) and SPI operation.",
"Aliases": ["bme280"],
"Categories": ["pressure", "humidity", "temperature"],
"Connections": ["gpio", "i2c", "spi"],
"Project Type": ["prototyping", "industrial"],
"Manufacturers": ["bosch"],
"Kits": [],
"Examples":
{
"Java": ["BMM150_Example.java"],
"Python": ["bmm150.py"],
"Node.js": ["bmm150.js"],
"C++": ["bmm150.cxx"],
"C": ["bmm150.c"]
},
"Specifications":
{
"Vdd": {"unit": "v", "low" : 1.62, "high": 3.6},
"Temperature Range": {"unit": "degC", "low" : -40, "high": 85},
"Sensing Range": {"unit": "uT (±)", "low": 1300, "high": 2500}
},
"Platforms":
{
"Intel Joule Module":
{
"Notes": ["Requires pull-up resistors with carrier board"],
"Images": [""]
}
},
"Urls" :
{
"Product Pages": ["https://www.bosch-sensortec.com/bst/products/all_products/bmm150"],
"Datasheets": ["https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMM150-DS001-01.pdf"],
"Schematics": []
}
}
}
}