mirror of
https://github.com/eclipse/upm.git
synced 2025-10-30 14:44:56 +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,39 +1,39 @@
|
||||
{
|
||||
"Library": "max44000",
|
||||
"Description": "API for the MAX44000 Ambient and Infrared Proximity Sensor",
|
||||
"Sensor Class":
|
||||
{
|
||||
"MAX44000":
|
||||
{
|
||||
"Name": "Ambient and Infrared Proximity Sensor",
|
||||
"Description": "Maxim Integrated* [MAX44000](http://datasheets.maximintegrated.com/en/ds/MAX44000.pdf) is an ambient and infrared proximity sensor. This module was tested on the Maxim Integrated [MAX44000PMB1 PMOD module] (http://datasheets.maximintegrated.com/en/ds/MAX44000PMB1.pdf) from the analog PMOD kit.",
|
||||
"Aliases": ["max44000"],
|
||||
"Categories": ["proximity"],
|
||||
"Connections": ["i2c"],
|
||||
"Project Type": ["robotics", "prototyping"],
|
||||
"Manufacturers": ["maxim"],
|
||||
"Kits": [],
|
||||
"Examples":
|
||||
{
|
||||
"Java": ["MAX44000Sample.java"],
|
||||
"Python": [],
|
||||
"Node.js": [],
|
||||
"C++": ["max44000.cxx"],
|
||||
"C": []
|
||||
},
|
||||
"Specifications":
|
||||
{
|
||||
"Operating Voltage": {"unit": "V", "low": 1.7, "high": 3.6},
|
||||
"Operating Current": {"unit": "mA", "low": 10, "high":110},
|
||||
"Operating Temperature": {"unit": "degC", "low": -40, "high": 105}
|
||||
|
||||
},
|
||||
"Urls" :
|
||||
{
|
||||
"Product Pages": ["https://www.maximintegrated.com/en/products/analog/sensors-and-sensor-interface/MAX44000.html"],
|
||||
"Datasheets": ["https://datasheets.maximintegrated.com/en/ds/MAX44000.pdf"],
|
||||
"Schematics": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"Library": "max44000",
|
||||
"Description": "API for the MAX44000 Ambient and Infrared Proximity Sensor",
|
||||
"Sensor Class":
|
||||
{
|
||||
"MAX44000":
|
||||
{
|
||||
"Name": "Ambient and Infrared Proximity Sensor",
|
||||
"Description": "Maxim Integrated* [MAX44000](http://datasheets.maximintegrated.com/en/ds/MAX44000.pdf) is an ambient and infrared proximity sensor. This module was tested on the Maxim Integrated [MAX44000PMB1 PMOD module] (http://datasheets.maximintegrated.com/en/ds/MAX44000PMB1.pdf) from the analog PMOD kit.",
|
||||
"Aliases": ["max44000"],
|
||||
"Categories": ["proximity"],
|
||||
"Connections": ["i2c"],
|
||||
"Project Type": ["robotics", "prototyping"],
|
||||
"Manufacturers": ["maxim"],
|
||||
"Kits": [],
|
||||
"Examples":
|
||||
{
|
||||
"Java": ["MAX44000_Example.java"],
|
||||
"Python": [],
|
||||
"Node.js": [],
|
||||
"C++": ["max44000.cxx"],
|
||||
"C": []
|
||||
},
|
||||
"Specifications":
|
||||
{
|
||||
"Operating Voltage": {"unit": "V", "low": 1.7, "high": 3.6},
|
||||
"Operating Current": {"unit": "mA", "low": 10, "high":110},
|
||||
"Operating Temperature": {"unit": "degC", "low": -40, "high": 105}
|
||||
|
||||
},
|
||||
"Urls" :
|
||||
{
|
||||
"Product Pages": ["https://www.maximintegrated.com/en/products/analog/sensors-and-sensor-interface/MAX44000.html"],
|
||||
"Datasheets": ["https://datasheets.maximintegrated.com/en/ds/MAX44000.pdf"],
|
||||
"Schematics": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user