Ralf Schlatterbeck
0068611b4d
Implement localtime
...
Now we manage a timezone and daylight-savings aware version of
localtime. We parse UNIX timezone strings. The default (active after the
first call to localtime or localtime_r) is CET/CEST, the timezone of
Europe/Vienna. The wallclock-time osd-example demonstrates how to set a
different timezone via the timezone resource.
Note: After startup no timezone is set. So in this state querying the
timezone resource will return an empty string. After first call to
localtime (if not timezone has been set via the timezone resource) a
query to timezone will return the default timezone string for CET/CEST.
The string returned by the localtime and utc timezones now also includes
the timezone name.
New fields tm_gmtoff and tm_zone were added to the tm structure. These
are available in BSD systems and when setting special compiler
definitions on Linux.
Note: the timezone offset information in the tm structure (tm_gmtoff)
as well as in the tz structure returned by gettimeofday (tz_minuteswest)
may be wrong sign, this code is largely untested.
2016-02-18 09:55:07 +01:00
Michael LeMay
1f445172ff
galileo: Fix build help message in examples
...
This patch fixes examples/galileo/Makefile so that it actually
displays the intended help message when an unrecognized EXAMPLE is
selected.
2016-02-16 21:19:44 -08:00
Michael LeMay
b82d92e373
galileo: Add I2C callbacks example
...
This patch adds an example for I2C callbacks that is very similar to
the i2c-LSM9DS0 example except that it uses a PWM device that is built
into the platform.
2016-02-16 21:19:44 -08:00
Michael LeMay
58874ea25d
x86, galileo: Refactor I2C and GPIO initialization
...
This patch revises the I2C and GPIO initialization code to always be
run during platform boot rather than within each process that requires
it.
This patch also revises the gpio-output example to use a pin that is
set as an output by the default pinmux configuration. Previously, it
used a pin that was set as an output by the pinmux configuration that
is in effect when the OS does not change the pinmux configuration.
2016-02-16 21:19:44 -08:00
Michael LeMay
3e64447631
galileo: Expand README for examples
...
This patch expands the instructions in examples/galileo/README.md.
2016-02-16 21:19:44 -08:00
Michael LeMay
c9bffe6d5a
galileo: Convert README for examples into README.md
...
This patch renames and reformats examples/galileo/README to use
Markdown.
2016-02-16 21:19:44 -08:00
Antonio Lignan
0dbed519a5
Merge pull request #1507 from Zolertia/remote-voc-test
...
Added VOC (iAQ-Core) drivers and test application
2016-02-15 12:21:32 +01:00
Aitor Mejias
cb1e7c2c45
Added VOC (iAQ-Core) drivers and test application
2016-02-15 11:00:48 +01:00
Wojciech Bober
38481c513d
nrf52dk: added examples
2016-02-15 09:37:38 +01:00
Antonio Lignan
c6ded00dc4
Merge pull request #1512 from alignan/pull/fix-z1-websense
...
Fix z1-websense example
2016-02-13 16:35:50 +01:00
Antonio Lignan
b2b573e9e7
Fix z1-websense example
2016-02-12 19:10:02 +01:00
Benoît Thébaudeau
287092db42
Merge pull request #1486 from alignan/pull/cc2538-common
...
Unified cc2538 examples into single cc2538-common placeholder
2016-02-04 23:48:35 +01:00
Antonio Lignan
45c125949a
Unified cc2538 examples into single cc2538-common placeholder
2016-02-04 17:26:11 +01:00
Simon Duquennoy
658cf0d2cc
Reworking jn516x default configuration and examples
2016-02-03 10:35:48 +01:00
Simon Duquennoy
15a5f27080
Adding TSCH to examples/jn516x/rpl
2016-02-01 13:38:53 +01:00
Harald Pichler
b8c5ee0e2b
add Test code
2016-01-28 17:08:56 +01:00
George Oikonomou
61e619dfcd
Extend the CC26xx web demo to support the LaunchPad
2016-01-28 11:23:20 +00:00
George Oikonomou
54f0a2ecbd
Extend the CC26xx demo to support the LaunchPad
2016-01-28 11:23:20 +00:00
Toni Lozano
1f6dafecb0
Modified ADC measurement of PM10 driver to include adc-zoul direct access
2016-01-26 17:55:48 +01:00
Antonio Lignan
8337843d69
Minor fixes
2016-01-26 09:45:43 +01:00
Harald Pichler
c09625704c
add exponential
2016-01-25 22:39:52 +01:00
Harald Pichler
f2fe41017b
add linear lookup
2016-01-25 20:48:30 +01:00
Harald Pichler
681c514a18
add coap resourcen rgb
2016-01-25 20:41:26 +01:00
Toni Lozano
31e6cc48ca
Solved doxygen comments information from VAC, AAC and PM10 sensor files
2016-01-25 18:13:00 +01:00
Toni Lozano
42e1beb931
Added PM10 GP2Y1010AU0F sensor driver and demo test
2016-01-25 10:06:17 +01:00
Toni Lozano
4907842821
Added parameters of aac-sensor on adc-sensors file and adapted AAC and VAC test files for correct results
2016-01-25 10:05:43 +01:00
Toni Lozano
1fca3e810a
Added PM10 and VAC parameters to adc_sensors driver
2016-01-25 10:04:25 +01:00
Harald Pichler
535194bcb4
add lookup table
2016-01-24 21:30:35 +01:00
Harald Pichler
44d4f855c6
add contiki combatibility
2016-01-24 16:04:37 +01:00
Harald Pichler
406d69a27c
add RGBdriver
2016-01-23 17:49:51 +01:00
Antonio Lignan
246b01095f
Ported Grove LCD with RGB backlight for the Zoul platforms
2016-01-23 15:52:29 +01:00
Harald Pichler
6fcdf21552
Merge branch 'osd' of https://github.com/osdomotics/osd-contiki into osd
2016-01-22 21:48:24 +01:00
Harald Pichler
c381f81f57
add experimental code netstack
2016-01-22 21:46:35 +01:00
Antonio Lignan
9a80c0098f
Added zero-calibration function and added offset values to the structure
2016-01-22 16:58:46 +01:00
Antonio Lignan
426fa24e50
Clear interrupt and trigger callback if new data is generated
2016-01-22 16:58:46 +01:00
Antonio Lignan
f5b52e8094
Ported Grove's 3-axis gyroscope sensor (based on ITG-3200)
2016-01-22 16:58:46 +01:00
Antonio Lignan
6351462e89
Unified BMP180 and BMP085 drivers
2016-01-22 16:11:49 +01:00
root
e60fe15812
Merge branch 'osd' of https://github.com/osdomotics/osd-contiki into osd
2016-01-22 15:44:44 +01:00
Harald Pichler
fce1b561da
initial upload
2016-01-22 15:41:55 +01:00
Antonio Lignan
ec45369d1b
Merge pull request #1466 from alignan/pull/weather-meter
...
Add driver for the Sparkfun Weather meter station
2016-01-22 15:18:14 +01:00
Fredrik Österlind
9bdb1f1794
Merge pull request #1462 from MichaelKlemm/FixCoojaPluginLoad
...
Fixed loading SerialSocketServer plugin in Cooja using FQDN
2016-01-21 09:39:40 +01:00
Antonio Lignan
a6c30b4e09
Fixed missing static keyword in both zoul-demo and weather meter driver
2016-01-19 22:24:53 +01:00
Antonio Lignan
366f11d5df
Uncrustified weather meter driver and example
2016-01-19 18:03:16 +01:00
Antonio Lignan
81bec49a40
Changed fixed 2 minute integration period to allow overriding
2016-01-19 18:00:18 +01:00
Antonio Lignan
0902e0fc6d
Added degree converted value for the wind vane sensor.
...
Also added a 2-minutes average wind direction value, replaced the 240 bytes buffer from the reference example, but probably there's room for efficiency improvement
2016-01-19 17:47:46 +01:00
Antonio Lignan
61f1516369
Reworked instant wind speed calculation and extended the available wind speed return values
2016-01-19 17:47:46 +01:00
Antonio Lignan
aacbcd904f
Added interrupt configuration for the weather meter
2016-01-19 17:47:46 +01:00
Antonio Lignan
103911f619
Added driver for the Sparkfun's weather meter station
2016-01-19 17:47:46 +01:00
harald
0c3eeed1bf
add leds
2016-01-19 14:01:28 +01:00
Antonio Lignan
2295ecdbd9
Renamed adc-sensors/adc-wrapper to adc-zoul/adc-sensors, to have a better wording reflecting the intented use
2016-01-17 23:04:34 +01:00