mirror of
https://github.com/eclipse/upm.git
synced 2025-07-03 02:11:15 +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,38 +1,38 @@
|
||||
{
|
||||
"Library": "lis3dh",
|
||||
"Description": "API for the LIS3DH 3-axis Accelerometer",
|
||||
"Sensor Class":
|
||||
{
|
||||
"lis3dh":
|
||||
{
|
||||
"Name": "Digital 3-axis Accelerometer",
|
||||
"Description": "The LIS3DH is an ultra-low-power high performance three-axis linear accelerometer belonging to the \"nano\" family which leverages the robust and mature manufacturing processes already used for the production of micromachined accelerometers. The LIS3DH has user-selectable full scales of 2g/4g/8g/16g and is capable of measuring accelerations with output data rates from 1 Hz to 5300 Hz. 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": ["lis3dh"],
|
||||
"Categories": ["accelerometer"],
|
||||
"Connections": ["i2c", "spi", "gpio"],
|
||||
"Project Type": ["imu", "prototyping"],
|
||||
"Manufacturers": ["stmicro"],
|
||||
"Kits": [],
|
||||
"Examples":
|
||||
{
|
||||
"Java": ["LIS3DH_Example.java"],
|
||||
"Python": ["lis3dh.py"],
|
||||
"Node.js": ["lis3dh.js"],
|
||||
"C++": ["lis3dh.cxx"],
|
||||
"C": ["lis3dh.c"]
|
||||
},
|
||||
"Specifications":
|
||||
{
|
||||
"Operating Voltage": {"unit": "V", "low": 1.71, "high": 3.6},
|
||||
"Operating Current": {"unit": "uA", "low": 0.5, "high": 11},
|
||||
"Operating Temperature": {"unit": "degC", "low": -40, "high": 85}
|
||||
},
|
||||
"Urls" :
|
||||
{
|
||||
"Product Pages": ["http://www.st.com/en/mems-and-sensors/lis3dh.html"],
|
||||
"Datasheets": ["http://www.st.com/resource/en/datasheet/lis3dh.pdf"],
|
||||
"Schematics": []
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"Library": "lis3dh",
|
||||
"Description": "API for the LIS3DH 3-axis Accelerometer",
|
||||
"Sensor Class":
|
||||
{
|
||||
"lis3dh":
|
||||
{
|
||||
"Name": "Digital 3-axis Accelerometer",
|
||||
"Description": "The LIS3DH is an ultra-low-power high performance three-axis linear accelerometer belonging to the \"nano\" family which leverages the robust and mature manufacturing processes already used for the production of micromachined accelerometers. The LIS3DH has user-selectable full scales of 2g/4g/8g/16g and is capable of measuring accelerations with output data rates from 1 Hz to 5300 Hz. 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": ["lis3dh"],
|
||||
"Categories": ["accelerometer"],
|
||||
"Connections": ["i2c", "spi", "gpio"],
|
||||
"Project Type": ["imu", "prototyping"],
|
||||
"Manufacturers": ["stmicro"],
|
||||
"Kits": [],
|
||||
"Examples":
|
||||
{
|
||||
"Java": ["LIS3DH_Example.java"],
|
||||
"Python": ["lis3dh.py"],
|
||||
"Node.js": ["lis3dh.js"],
|
||||
"C++": ["lis3dh.cxx"],
|
||||
"C": ["lis3dh.c"]
|
||||
},
|
||||
"Specifications":
|
||||
{
|
||||
"Operating Voltage": {"unit": "V", "low": 1.71, "high": 3.6},
|
||||
"Operating Current": {"unit": "uA", "low": 0.5, "high": 11},
|
||||
"Operating Temperature": {"unit": "degC", "low": -40, "high": 85}
|
||||
},
|
||||
"Urls" :
|
||||
{
|
||||
"Product Pages": ["http://www.st.com/en/mems-and-sensors/lis3dh.html"],
|
||||
"Datasheets": ["http://www.st.com/resource/en/datasheet/lis3dh.pdf"],
|
||||
"Schematics": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user