Commit graph

12122 commits

Author SHA1 Message Date
Mohamed seliem
452666b43e add missing include 2016-12-04 03:29:49 +02:00
Mohamed Seliem
82b5fb5073 Fix the leftover mentions of aaaa as a prefix to be UIP_DS6_DEFAULT_PREFIX (now fd00) 2016-12-04 03:29:49 +02:00
George Oikonomou
d6656ccde1 Fix minor typo 2016-12-03 23:26:25 +00:00
Yasuyuki Tanaka
49808b8f1c Update code-style.c
- mention Uncrustify instead of GNU Indent
- add a missing argument of code_style_example_function()
- make the function return 0 or 1 as per doxygen comment
- replace tab with spaces
- correct case() to switch() in a comment
- add an indentation example for switch statement
2016-12-03 12:21:04 +01:00
Antonio Lignan
9ccc1697cf Merge pull request #1966 from yatch/pr/travis-jdk
travis: workaround for the Java issue on Travis CI
2016-12-03 12:13:40 +01:00
Yasuyuki Tanaka
120632b4a8 travis: workaround for the Java issue on Travis CI
References:
https://docs.travis-ci.com/user/build-environment-updates/2016-12-01/
https://github.com/travis-ci/travis-ci/issues/6928#issuecomment-264227708
2016-12-02 16:48:57 +01:00
Antonio Lignan
94854177e2 Merge pull request #1961 from jdede/uart-init
Do not initialize and use the wrong UART (z1)
2016-12-02 15:41:32 +01:00
Antonio Lignan
6565652e43 Merge pull request #1962 from MohamedSeliem/patch-8
update contiki-conf to avoid redfintion of UIP_CONF_RECEIVE_WINDOW
2016-12-02 09:52:48 +01:00
Mohamed seliem
0ef0a21d9e update for all platforms 2016-12-01 21:26:32 +02:00
Mohamed Seliem
0c65a4db9c update contiki-conf to avoid redfintion of UIP_CONF_RECEIVE_WINDOW
in case of compiling any example that contains the definition of UIP_CONF_RECEIVE_WINDOW over Z1 mote.
i receive this warning: 
 In file included from ../../../core/./contiki.h:38:0,
                   from ../../../core/./contiki-net.h:37,
                   from httpd-simple.c:43:
  ../../../platform/z1/./contiki-conf.h:225:0: warning: "UIP_CONF_RECEIVE_WINDOW" redefined
 ./project-conf.h:60:0: note: this is the location of the previous definition
2016-12-01 20:35:29 +02:00
Antonio Lignan
63322fdfb2 Merge pull request #1960 from pablocorbalan/rm-rpl-conf-of
Remove definitions of outdated RPL_CONF_OF
2016-12-01 16:30:46 +01:00
Nicolas Tsiftes
238e8b4dcf Merge pull request #1949 from simonduq/pr/non-storing-fix-dtsn
RPL non-storing: more conservative DTSN update
2016-12-01 16:27:38 +01:00
Simon Duquennoy
7bb50da178 Merge pull request #1271 from drugo72/pr-rpl
RPL: fix clock_time_t calculations
2016-12-01 16:22:43 +01:00
Jens Dede
0d3ff7b785 Rm unnecessary uart commands 2016-12-01 15:12:23 +01:00
Pablo Corbalán
983d858570 Remove definitions of outdated RPL_CONF_OF 2016-12-01 13:13:41 +01:00
Antonio Lignan
5e7acd4dc2 Merge pull request #1643 from akshaypm/zoul-uart-example
Zoul UART example
2016-12-01 11:42:44 +01:00
akshaypm
cd75e50c28 cc2538 uart example 2016-12-01 12:45:10 +05:30
George Oikonomou
7c54b7cd50 Merge pull request #1867 from MohamedSeliem/patch-6
update uart1.c to include Special function registers bits definitions
2016-11-30 16:37:49 +01:00
Antonio Lignan
a8acaf08d5 Merge pull request #1938 from makrog/pr/cc1200-fixes
Fixed checking of the cc1200 GPIO0 pin status.
2016-11-30 14:24:48 +01:00
Robert Olsson
4ef4bdd0a5 bme280 delay fixes plus Makefile for avr-rss2 2016-11-30 12:04:57 +01:00
Antonio Lignan
f9b32f8139 bme280: reworked to allow platform-specific I2C implementations 2016-11-30 12:04:57 +01:00
Antonio Lignan
bd1a6bf94e zoul: Added bme280 example 2016-11-30 12:04:57 +01:00
Robert Olsson
23a481600a BME280 fixes, codestyle, return code for bme280_init added, Unneeded header files removed 2016-11-30 12:04:57 +01:00
Robert Olsson
1c0e33be79 Update README.bme280 2016-11-30 12:04:57 +01:00
Robert Olsson
cfed856720 I2C fixes
modified:   examples/avr-rss2/hello-sensors/hello-sensors.c
2016-11-30 12:04:57 +01:00
Robert Olsson
dcbb5f6271 BME280 I2C integration fixes 2016-11-30 12:04:57 +01:00
Robert Olsson
5c25ec4d11 Example modified to use BME280 2016-11-30 12:04:57 +01:00
Robert Olsson
cfabf0e6a2 Support for BME280 added.
new file:   dev/bme280/README.bme280
	new file:   dev/bme280/bme280-sensor.c
	new file:   dev/bme280/bme280-sensor.h
	new file:   dev/bme280/bme280.c
	new file:   dev/bme280/bme280.h
2016-11-30 12:04:57 +01:00
MakA
91a6ce6576 Fixed checking of the cc1200 GPIO0 pin status. 2016-11-29 12:16:03 +02:00
Antonio Lignan
1abc95a08e Merge pull request #1952 from arurke/fix_rf_channel_cc13xx
Move RF_CHANNEL check in cc13xx/cc26xx such that it applies for cc13xx prop mode
2016-11-28 09:37:00 +01:00
Benoît Thébaudeau
a6d348917d Add FAT example
Zoul RE-Mote revision B is supported.

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
2016-11-27 22:50:45 +01:00
Benoît Thébaudeau
3cd7b7efd1 zoul: remote: Add support for FAT
Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
2016-11-27 22:50:45 +01:00
Benoît Thébaudeau
12ea1bd492 zoul: remote: Factor out duplicate RTC init
Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
2016-11-27 22:50:44 +01:00
Benoît Thébaudeau
2866ae0555 Add support for the FAT file system
The FatFs generic FAT file system module is used.

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
2016-11-27 22:50:44 +01:00
Benoît Thébaudeau
062a8535ec zoul: remote: Add support for SD/MMC
This change adds SD/MMC support at block level, by porting the SD/MMC
driver.

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
2016-11-27 22:50:43 +01:00
Benoît Thébaudeau
8b57670121 cc2538: spi: Add support for dynamic clock frequency
This changes makes it possible to change the SPI clock frequency at
runtime.

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
2016-11-27 22:50:43 +01:00
Benoît Thébaudeau
c76b8235f4 cc2538: spi: Add support for dynamic instances
Previously, only constants could be used to pass SPI instances to the
SPI driver. This change makes it possible to use SPI instances from
variables.

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
2016-11-27 22:50:43 +01:00
Benoît Thébaudeau
0e5b18635b cc2538: gpio: Add macro to get pin direction
Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
2016-11-27 22:50:42 +01:00
Benoît Thébaudeau
faf22609f4 disk: Add SD/MMC driver
Only SPI is supported.

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
2016-11-27 22:50:42 +01:00
Benoît Thébaudeau
92ecbf7064 Add disk API
Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
2016-11-27 22:15:34 +01:00
Andreas Urke
835a6aa6e6 Move RF_CHANNEL such that it is applied for prop mode as well 2016-11-27 16:13:58 +01:00
Simon Duquennoy
728e417e04 Merge pull request #1502 from yatch/pr-radiologger
Fix timestamps of packets recorded in pcap files
2016-11-27 11:58:03 +01:00
Yasuyuki Tanaka
a4adc257e8 Add RTIMERTICKS_TO_US_64() macro (platform/cooja) 2016-11-26 11:47:59 +01:00
Yasuyuki Tanaka
106731cec1 TSCH: update README.md
- add cooja / Cooja mote as supported platform
- correct Rx mode requirements
2016-11-26 11:47:59 +01:00
Yasuyuki Tanaka
87337e12fc Revert coordinator selection based on node-id for Cooja mote
(example/ipv6/rpl-tsch/node.c)
2016-11-26 11:47:59 +01:00
Antonio Lignan
58243bc14a Merge pull request #1827 from alignan/pull/rf-channel
Harmonize RF_CHANNEL definition
2016-11-25 21:11:20 +01:00
George Oikonomou
610eefc2ff Merge pull request #1741 from simonduq/pr/tsch-adaptive-control-traffic
TSCH adaptive control traffic
2016-11-25 15:53:32 +00:00
Simon Duquennoy
3e00adacc0 RPL non-storing: more conservative DTSN update, as per RFC 6550, section 9.6. 2016-11-25 16:30:08 +01:00
Nicolas Tsiftes
edf3a27920 Merge pull request #1879 from pernin/master
Change on DIO trickle timer condition for DIO sending
2016-11-25 16:15:08 +01:00
Nicolas Tsiftes
a69d78ac73 Merge pull request #1948 from zhitaoh/zoul-example-readme
correct shell arguments
2016-11-25 16:13:02 +01:00