Commit graph

8392 commits

Author SHA1 Message Date
Oliver Schmidt
1324fa66bf Merge pull request #113 from oliverschmidt/master
Allow to reduce functionality if non-standard alloca() isn't available.
2013-02-03 15:51:07 -08:00
Oliver Schmidt
b493395f00 Allow to reduce functionality if non-standard alloca() isn't available. 2013-02-04 00:49:52 +01:00
Oliver Schmidt
b504601262 Merge pull request #112 from oliverschmidt/master
Removed unnecessary -p option from mkdir calls for cmd.exe compatibility.
2013-02-03 14:48:39 -08:00
Oliver Schmidt
efeab670de Removed unnecessary -p option from mkdir calls for cmd.exe compatibility. 2013-02-03 23:47:25 +01:00
Oliver Schmidt
eb1e277039 Merge pull request #111 from oliverschmidt/master
Minor uIP code increase from Contiki 2.5 to Contiki 2.6 make a buffer reduction necessary.
2013-02-03 14:43:18 -08:00
Oliver Schmidt
945b334457 Minor uIP code increase from Contiki 2.5 to Contiki 2.6 make a buffer reduction necessary. 2013-02-03 23:41:20 +01:00
Oliver Schmidt
47a8462e54 Merge pull request #110 from oliverschmidt/master
Removed uiplib_ip6addrconv() from IPv4 builds.
2013-02-03 14:06:20 -08:00
Oliver Schmidt
29391ef9ae Removed uiplib_ip6addrconv() from IPv4 builds.
While it may very well be beneficial to have explict uiplib_ip4addrconv() and uiplib_ip6addrconv() available for IPv6 builds I'm having a hard time to see the point in uiplib_ip6addrconv() for IPv4 builds.

Unrelated to the above the dispatching of uiplib_ipaddrconv() to either uiplib_ip4addrconv() or uiplib_ip6addrconv() can be accomplished by the C preprocessor only thus avoiding the size/speed overhead of an additional callframe.
2013-02-03 23:04:41 +01:00
Mariano Alvira
299d8c6cbf set the pin defaults properly to reduce current consumption on
sleeping M12s.
2013-02-03 15:15:11 -05:00
Mariano Alvira
fb8bbf37cf Use the RTC only as the main timer.
This is a major change to how the main tick interrupt is handled on
the mc1322x platforms. Instead of using two timer resources, TMR0 and
RTC, this patch unifies all the timers to use the RTC. This is enabled by
implementing etimers as scheduled rtimers. The main advantage (aside
from freeing TMR0 for general use) is have the Contiki timebase come
from the same source that will be used for sleeping and wakeup.
2013-02-03 15:15:05 -05:00
Mariano Alvira
ad55ccdec4 add working routines to turn the mc1322x radio on and off 2013-02-03 14:48:38 -05:00
Oliver Schmidt
f57ccf41e7 Merge pull request #108 from oliverschmidt/master
Added VC++ and cc65 file types.
2013-02-03 03:05:52 -08:00
Oliver Schmidt
a3ae531ce7 Added VC++ and cc65 file types. 2013-02-03 12:05:04 +01:00
Oliver Schmidt
d5d0538ea5 Merge pull request #107 from oliverschmidt/master
Updated Contiki URL in sample web page.
2013-02-03 01:59:10 -08:00
Oliver Schmidt
81bc336a93 Updated Contiki URL in sample web page. 2013-02-03 10:57:48 +01:00
Oliver Schmidt
9e3dfb7ce2 Merge pull request #106 from oliverschmidt/master
Moved retro IP configuration from web site to target machine / Deliver retro CBM disk images as .d64, .d71 and .d81 files.
2013-02-01 16:13:17 -08:00
Oliver Schmidt
21407162c4 Deliver retro CBM disk images as .d64, .d71 and .d81 files. 2013-02-02 01:07:50 +01:00
Oliver Schmidt
b175ba7463 Moved retro IP configuration from web site to target machine.
Better match user expectations by allowing to download plain disk images and configure the IP settings afterwards on the target machine - then most likely leveraging DHCP. This works for the users with the most usual Ethernet adapter and settings - which are now pre-configured in default.cfg's. Only the few users with non-default Ethernet adapter and/or settings are required to download a custom contiki.cfg and inject it manually into their disk image files.
2013-02-01 23:19:12 +01:00
Oliver Schmidt
87475cf2d0 Merge pull request #105 from oliverschmidt/master
Renamed retro 'dhcp-client' to 'ipconfig' as it can as well be used for interactive manual configuration.
2013-02-01 12:28:35 -08:00
Oliver Schmidt
69317ad1db Renamed retro 'dhcp-client' to 'ipconfig' as it can as well be used for interactive manual configuration. 2013-02-01 21:20:21 +01:00
Sébastien Dawans
95ab192e88 Makes RPL Initial Link Metric configurable 2013-02-01 09:02:31 +01:00
Oliver Schmidt
c1223acef0 Merge pull request #103 from oliverschmidt/master
Have the wget process allow the resolver process to initialize properly.
2013-01-31 15:34:35 -08:00
Oliver Schmidt
7360444c94 Have the wget process allow the resolver process to initialize properly. 2013-02-01 00:10:03 +01:00
Oliver Schmidt
bfc1e816de Merge pull request #100 from oliverschmidt/master
Do not reject frames with a length exactly equal to the uIP bufer size.
2013-01-30 14:42:12 -08:00
Oliver Schmidt
74dfff972f Do not reject frames with a length exactly equal to the uIP bufer size. 2013-01-30 23:39:01 +01:00
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