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": "mag3110",
|
||||
"Description": "API for the MAG3110 Three-Axis Digital Magnetometer",
|
||||
"Sensor Class":
|
||||
{
|
||||
"MAG3110":
|
||||
{
|
||||
"Name": "MAG3110 Three-Axis Digital Magnetometer",
|
||||
"Description": "The MAG3110 is a small, low-power digital 3D magnetic sensor with a wide dynamic range to allow operation in PCBs with high extraneous magnetic fields. It measures the components of the local magnetic field, the sum of the geomagnetic field and the magnetic field created by components on the circuit board. It can be used in conjunction with a 3-axis accelerometer so that orientation-independent accurate compass heading information may be achieved It is capable of measuring local magnetic fields up to 10 Gauss with output data rates up to 80 Hz.",
|
||||
"Aliases": ["mag3110"],
|
||||
"Categories": ["magnetometer"],
|
||||
"Connections": ["i2c"],
|
||||
"Project Type": ["imu", "prototyping"],
|
||||
"Manufacturers": ["freescale"],
|
||||
"Kits": [],
|
||||
"Examples":
|
||||
{
|
||||
"Java": [],
|
||||
"Python": ["mag3110.py"],
|
||||
"Node.js": [],
|
||||
"C++": ["mag3110.cxx"],
|
||||
"C": []
|
||||
},
|
||||
"Specifications":
|
||||
{
|
||||
"Operating Voltage": {"unit": "V", "low": 1.95, "high": 3.6},
|
||||
"Operating Current": {"unit": "uA", "low": 8.6, "high": 900},
|
||||
"Operating Temperature": {"unit": "degC", "low": -40, "high": 85}
|
||||
},
|
||||
"Urls" :
|
||||
{
|
||||
"Product Pages": ["http://www.nxp.com/products/sensors/magnetometers/high-accuracy-3d-magnetometer:MAG3110"],
|
||||
"Datasheets": ["http://www.nxp.com/docs/en/data-sheet/MAG3110.pdf"],
|
||||
"Schematics": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"Library": "mag3110",
|
||||
"Description": "API for the MAG3110 Three-Axis Digital Magnetometer",
|
||||
"Sensor Class":
|
||||
{
|
||||
"MAG3110":
|
||||
{
|
||||
"Name": "MAG3110 Three-Axis Digital Magnetometer",
|
||||
"Description": "The MAG3110 is a small, low-power digital 3D magnetic sensor with a wide dynamic range to allow operation in PCBs with high extraneous magnetic fields. It measures the components of the local magnetic field, the sum of the geomagnetic field and the magnetic field created by components on the circuit board. It can be used in conjunction with a 3-axis accelerometer so that orientation-independent accurate compass heading information may be achieved It is capable of measuring local magnetic fields up to 10 Gauss with output data rates up to 80 Hz.",
|
||||
"Aliases": ["mag3110"],
|
||||
"Categories": ["magnetometer"],
|
||||
"Connections": ["i2c"],
|
||||
"Project Type": ["imu", "prototyping"],
|
||||
"Manufacturers": ["freescale"],
|
||||
"Kits": [],
|
||||
"Examples":
|
||||
{
|
||||
"Java": [],
|
||||
"Python": ["mag3110.py"],
|
||||
"Node.js": [],
|
||||
"C++": ["mag3110.cxx"],
|
||||
"C": []
|
||||
},
|
||||
"Specifications":
|
||||
{
|
||||
"Operating Voltage": {"unit": "V", "low": 1.95, "high": 3.6},
|
||||
"Operating Current": {"unit": "uA", "low": 8.6, "high": 900},
|
||||
"Operating Temperature": {"unit": "degC", "low": -40, "high": 85}
|
||||
},
|
||||
"Urls" :
|
||||
{
|
||||
"Product Pages": ["http://www.nxp.com/products/sensors/magnetometers/high-accuracy-3d-magnetometer:MAG3110"],
|
||||
"Datasheets": ["http://www.nxp.com/docs/en/data-sheet/MAG3110.pdf"],
|
||||
"Schematics": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user