Commit graph

8267 commits

Author SHA1 Message Date
Robert Quattlebaum 0ca8a57f39 platform/minimal-net: Print out pseudo LED status. 2013-01-30 09:18:40 -08:00
Robert Quattlebaum a571b663b0 platform/minimal-net: Better, more seamless support for OS X.
This patch enables automatic route setup and cleanup when
starting and stopping the minimal-net target on OS X.

Both IPv4 and IPv6 are supported.

Using the minimal-net target on OS X was absolute hell
before I came up with this patch. Now it is painless.
2013-01-30 09:17:30 -08:00
Robert Quattlebaum 092b6f3baa platform/minimal-net: Implement better idle behavior.
The minimal-net target, as currently written, wakes up the
CPU every millisecond to check for packets, and will only
react in real-time to input from stdin. If you are running
this on a laptop battery, your battery will quickly drain.

This change allows the CPU to idle when there is literally
nothing to do while still being responsive to input from
stein and/or incoming packets. This fix should significantly
improve performance while significantly improving power
usage. Win-win.

Also added `_xassert()` implementation so that the contiki-
provided `assert()` macro will work properly when used
on this platform.
2013-01-30 09:17:29 -08:00
Johannes Gilger 3877f361e4 Load Makefile.target for slip-radio
This loads Makefile.target into Makefile so we can check for TARGET==sky
when building this. Compilation for sky fails without it.

Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
2013-01-30 15:34:06 +01:00
Jelmer Tiete f4976140fc fixed z1 i2c bug where 2 extra bytes were read with every i2c-receive 2013-01-30 14:23:07 +01:00
Jelmer Tiete 12dd138915 fixed z1 i2c bug where 2 extra bytes were read with every i2c-receive 2013-01-30 14:15:16 +01:00
Jelmer Tiete edf4e36094 removed tag from z1 Makefile.common 2013-01-30 11:13:19 +01:00
Oliver Schmidt 2b9a1c60d2 Merge pull request #96 from oliverschmidt/master
Minor README updates.
2013-01-29 13:47:06 -08:00
Oliver Schmidt e88997b71c Minor README updates. 2013-01-29 22:44:37 +01:00
Antonio Lignan 2cf4e30b11 Baudrate now is configured taking into account the MCU frequency, instead of using fixed values for 8MHz freq 2013-01-29 12:23:23 +01:00
Oliver Schmidt 57163df2b7 Merge pull request #92 from oliverschmidt/master
Remove tab chars from retro C sources.
2013-01-28 14:48:25 -08:00
Oliver Schmidt 1a5e20bc5f Remove tab chars from retro C sources. 2013-01-28 23:43:08 +01:00
Jelmer Tiete 7ce2688d84 Added support for motelist and uploading to Z1 motes under Mac OSX 2013-01-23 22:56:43 +01:00
Simon Duquennoy 7c64a114aa Added missing include of contiki-conf.h 2013-01-23 16:11:02 +01:00
Robert Quattlebaum 5afcbf6fff Makefiles: Allow setting UIP_CONF_IPV6=0 to work as expected.
Setting UIP_CONF_IPV6 to zero from the make build command line is
something that seems like it should ensure that IPv6 is disabled, but in
fact it actually *enables* IPv6. This seems counter intuitive, so this
patch changes the behavior of the makefiles to handle this case
properly.
2013-01-14 22:03:42 -08:00
Nicolas Tsiftes 0a88373add Merge pull request #79 from adamdunkels/feature-turn-off-travis-emails
Remove travis email notifications
2013-01-10 05:36:44 -08:00
Adam Dunkels 76136a3ed3 Removed email notifications
Added a notifications: clause to turn off email notifications, which are otherwise enabled by default.
2013-01-10 08:16:20 +01:00
Adam Dunkels 47c2b13db5 Merge pull request #78 from g-oikonomou/example-putchars
We can now turn off example-provided putchars
2013-01-09 22:41:22 -08:00
Adam Dunkels 99389329d2 Merge pull request #77 from g-oikonomou/cc2530-patches
cc2530 patches
2013-01-09 22:39:51 -08:00
George Oikonomou a35580d068 cc2530 udp server example is no longer RPL root by default 2013-01-09 22:46:20 +00:00
George Oikonomou eea6b9051d Removed a stray leds_toggle 2013-01-09 22:46:20 +00:00
George Oikonomou de251aeb85 We can now turn off example-provided putchars 2013-01-09 22:23:22 +00:00
Adam Dunkels 326781ef43 Merge pull request #74 from malvira/maca-dummy-rx
Receive packets in a dummy_rx when the maca packet pool is
2013-01-06 14:10:23 -08:00
Adam Dunkels d0052ff652 Merge pull request #73 from malvira/lds-cpp
run the linker script through CPP so that the stack sizes can be
2013-01-06 14:10:09 -08:00
Mariano Alvira a53e653bbf Receive packets in a dummy_rx when the maca packet pool is
empty. These packets get dropped.
2013-01-06 15:12:07 -05:00
Mariano Alvira 64ded5aecc run the linker script through CPP so that the stack sizes can be
changed using CONF parameters via DEFINES (e.g. SYS_CONF_STACK_SIZE
4096)
2013-01-05 17:08:59 -05:00
Adam Dunkels 56ce9247c3 Merge pull request #69 from evilaliv3/master
minor corrections to adhere contiki code style guidelines
2012-12-21 13:46:28 -08:00
Giovanni `evilaliv3` Pellerano ee556dcf14 minor corrections to adhere contiki code style guidelines 2012-12-21 12:36:29 +01:00
Adam Dunkels aa07993d36 Merge pull request #66 from evilaliv3/seedeye
added support for SEED-EYE board (http://rtn.sssup.it/index.php/hardware...
2012-12-20 23:55:28 -08:00
Adam Dunkels 7e7dc188c3 Merge pull request #65 from evilaliv3/pic32
added support for pic32 (PIC32MX795F512L)
2012-12-20 23:54:41 -08:00
Giovanni `evilaliv3` Pellerano fdd380e7ca added support for SEED-EYE board (http://rtn.sssup.it/index.php/hardware/seed-eye) 2012-12-20 23:57:47 +01:00
Adam Dunkels a3094a7afe Merge pull request #63 from g-oikonomou/uip_ds6_route-fix
Fix a route lifetime bug
2012-12-20 00:26:38 -08:00
George Oikonomou 68f59113d6 Fix a route lifetime bug
There is a bug in the current route purge routine which would
result in a route's lifetime getting decremented more than once
during the same pass. This commit fixes it

The bug is documented here:
http://thread.gmane.org/gmane.os.contiki.devel/16209
2012-12-20 00:17:33 +00:00
Nicolas Tsiftes b8f79b9da3 Merge pull request #62 from adamdunkels/fix-travis
Fix false positive travis build problems
2012-12-18 08:53:58 -08:00
Adam Dunkels ddb3c62524 Explicitly count the number of failed tests, test equality with 0, and explicitly exit with a non-zero error status if there are non-zero failed tests 2012-12-17 12:37:41 +01:00
Giovanni `evilaliv3` Pellerano f68df3a81c added support for pic32 (PIC32MX795F512L) 2012-12-17 09:14:23 +01:00
Adam Dunkels 70e46f3248 Merge pull request #59 from g-oikonomou/8051-regressions
8051-based ports: Regression tests and code cleanup
2012-12-16 21:42:36 -08:00
George Oikonomou 02b90c9c63 Added rtests for 8051 ports 2012-12-16 22:21:44 +00:00
George Oikonomou d144ca4021 Added SDCC compile artifacts to gitignore 2012-12-16 19:28:56 +00:00
George Oikonomou f5bc1c92ba Update to the new ds6_route API 2012-12-16 19:28:56 +00:00
George Oikonomou 64a95dcb59 Code style fixes: sensinode examples 2012-12-16 19:28:56 +00:00
George Oikonomou 594ba9a0ed Code style fixes: cc2530dk examples 2012-12-16 19:28:56 +00:00
George Oikonomou 351a4d39b9 Code style fixes: cc2530dk 2012-12-16 19:28:56 +00:00
George Oikonomou 380ee3bae9 Code style fixes: cc253x 2012-12-16 19:28:56 +00:00
George Oikonomou 874bec26a5 Code style fixes: cc2430 2012-12-16 19:28:55 +00:00
George Oikonomou b4bb51e811 Code style fixes: sensinode 2012-12-16 19:28:55 +00:00
George Oikonomou e38b419e84 Deleted obsolete sensinode examples 2012-12-16 19:28:41 +00:00
Adam Dunkels 4c95be44ac Merge pull request #53 from arngrimur/master
Extra slash in path in makefile
2012-12-11 23:49:58 -08:00
Adam Dunkels 46402d7f09 Merge pull request #56 from cmorty/sky_flash_optimization
Sky flash optimization
2012-12-11 23:47:56 -08:00
Adam Dunkels f44068bf9a Merge pull request #57 from malvira/rtest-fixes
Some fixes to compile-tests
2012-12-11 10:45:04 -08:00