Commit graph

8679 commits

Author SHA1 Message Date
Nicolas Tsiftes e5cce6e3c5 Merge pull request from adamdunkels/push/fragmentation
6lowpan fragmentation fix
2013-08-11 06:33:59 -07:00
Adam Dunkels 6e7beb93cb Made it easier to configure how many packets that should be received. Reduced the total amount of packets from 10 to 8 to make the test complete faster. 2013-08-11 15:12:18 +02:00
Adam Dunkels b6770b9de8 Added regression tests that test IPv6 fragmentation 2013-08-11 14:27:21 +02:00
Adam Dunkels f5307fc01e Bugfix: must set the SICSLOWPAM_MAX_MAC_TRANSMISSIONS attribute after clearing the buffer, otherwise it will not be used for outoing packets. 2013-08-11 14:27:21 +02:00
Adam Dunkels 0aa448f190 6lowpan fragmentation bugfix: the 6lowpan code had an unfortunate
interaction with the behavior of the rdc layer. If the first packet of a
fragment transmission was lost, the remaining packets would get dropped
on reception. Moreover, the reception code contained a bug that
sometimes would cause fragments to be misidentified as fragments. Taken
together, these problems would result in a pathelogical network
breakdown if too many fragmented packets would occur simultaneously.
2013-08-11 14:27:20 +02:00
Nicolas Tsiftes 7987a6dac7 Merge pull request from g-oikonomou/cc2538-uart-config
Make the CC2538 UART driver more configurable
2013-08-09 10:20:36 -07:00
Nicolas Tsiftes 6afb978bc8 Merge pull request from g-oikonomou/8051-updates
Various Updates for 8051-based Platforms
2013-08-09 10:19:34 -07:00
George Oikonomou d7c796f65f Decrease Sensinode example code size 2013-08-09 16:40:28 +01:00
George Oikonomou 4f1485e238 Remove the second 6LoWPAN context from Sensinode
This context was once used in an in-house testbed
and is not required upstream
2013-08-09 16:38:12 +01:00
George Oikonomou 460d5bcb5d Fix cc2530 UART1 init bug
Fixes 
2013-08-09 16:09:12 +01:00
George Oikonomou cb075dec65 Disable SDCC warnings 110 and 126
Those two warnings are optimisation-related
* 110 warns that an always-false if branch has been optimised out
* 126 warns about unreachable code which also gets optimised out

In disabling those warnings, we make the build less cluttered
2013-08-09 15:57:49 +01:00
George Oikonomou 20f06e3271 Support verbosity control for 8051-based platforms 2013-08-09 15:57:21 +01:00
George Oikonomou c89450a233 Change to sdar from the now deprecated sdcclib 2013-08-09 15:56:16 +01:00
George Oikonomou b025759665 Don't redirect sdld output to dev/null
This was used in the past because sdld was
very verbose when linking banked hex files. New
sdld versions do not exhibit this level of
verbosity and therefore the redirect can be
stopped
2013-08-09 15:56:15 +01:00
George Oikonomou cdba557e5e Don't build the Sensinode UDP server as RPL root
The Sensinode UDP-IPv6 example used to build the
UDP server to act as RPL root by default. This now
changes, the server is a simple router. Support to
build the server as RPL root is still there, it's
just the default that changes
2013-08-09 15:53:57 +01:00
George Oikonomou f30d92b101 Change the way we switch between cc2530 models
The switch is now performed through a configuration define,
which has also been renamed to better match Contiki's naming
conventions
2013-08-09 15:53:23 +01:00
George Oikonomou 1b0470687b Change the cc2531 usb stick descriptor
The CC2531 USB stick now identifies itself as a
'Texas Instruments CC2531 USB Dongle' and uses a
TI-assigmed VID:PID. The VID:PID is now configurable
in contiki- or project-conf.h
2013-08-09 15:51:58 +01:00
George Oikonomou 0614c4e720 No longer build rpl-of0 for Sensinodes 2013-08-09 15:50:47 +01:00
George Oikonomou 6a79ac3b2d Increase 8051 plaform configurability 2013-08-09 15:50:47 +01:00
George Oikonomou 70d8bd71df Disable example-defined putchar for 8051 platforms 2013-08-09 15:50:47 +01:00
George Oikonomou ecf8ca55ef Move SLIP interface define to project-conf 2013-08-09 15:50:47 +01:00
George Oikonomou fa166116b7 Auto-enable SLIP for 8051-based platforms 2013-08-09 15:50:47 +01:00
George Oikonomou 0a7094bc39 Remove leftover make targets
The sensinode platform does not support .upload and .serialdump
Their presence in the makefile has confused in the past confused
some users. This commit removes them

The commit also removes the $(OBJECTDIR)/%.rel: %.cS recipe which
is not used by either 8051 platform and is probably broken anyway,
since it has been unmaintained for years
2013-08-09 15:48:05 +01:00
George Oikonomou 6c6013b898 Make the CC2538 UART driver more configurable
* We can now very easily switch between UART0 and UART1 through a define
* We can also configure the UART RX and TX port/pin through defines
2013-08-09 12:20:25 +01:00
Adam Dunkels 1f76b7d0f9 Merge pull request from g-oikonomou/smaller-travis-builds
Travis: Multiple Smaller Compile Builds and a Fix
2013-08-07 11:45:16 -07:00
Adam Dunkels 598228cfb1 Merge pull request from g-oikonomou/cc2538-gitignore
gitignore CC2538dk firmwares
2013-08-07 08:26:10 -07:00
Adam Dunkels 8c5c82edb8 Merge pull request from g-oikonomou/cc2538-build-verbosity
Add support for verbosity control
2013-08-07 08:25:49 -07:00
Adam Dunkels 70eb439a88 Merge pull request from g-oikonomou/cc2538-tools-release
CC2538 IEEE address and README updates
2013-08-07 08:25:30 -07:00
Adam Dunkels 967734f2d8 Merge pull request from g-oikonomou/cc2538-contikimac
Adjust a config define to its new name
2013-08-07 08:24:30 -07:00
George Oikonomou f48add46aa gitignore CC2538dk firmwares 2013-08-07 15:29:53 +01:00
George Oikonomou 81318909e0 Read IEEE address from InfoPage by default 2013-08-07 15:28:33 +01:00
George Oikonomou 6b01b36cc9 Update readme references and tool download URLs 2013-08-07 15:28:04 +01:00
George Oikonomou 64c16d4be1 Adjust a config define to its new name 2013-08-07 15:27:19 +01:00
George Oikonomou c3b5d4f5e3 Add support for verbosity control 2013-08-07 15:26:22 +01:00
George Oikonomou 4cb72c1f11 Don't try to tail *.testlog after non-sim tests
Fixes 
2013-08-07 15:00:18 +01:00
George Oikonomou 3446cee85b Break travis compile tests into smaller builds
* The previous 01-compile test has been renamed to compile-base. It
  now only tests {msp430, avr, native}-based platforms
* New test builds for arm-based and 8051-based ports (one build per arch)
* Only install arm-none-eabi, sdcc and srecord for the builds which need
  them. This will somewhat speed up all other tests
* Test er-rest-example and webserver-ipv6 for the cc2538
* An erroneous comment was fixed and another comment was somewhat
  clarified
2013-08-07 15:00:13 +01:00
Nicolas Tsiftes aa2f3510be Merge pull request from nvt/antelope-domain-check
Prevent erroneous index creation for non-numerical attributes in Antelope.
2013-08-07 02:18:41 -07:00
Nicolas Tsiftes b27fb1b697 Prevent erroneous index creation for non-numerical attributes. 2013-08-07 10:50:30 +02:00
Nicolas Tsiftes 2a4b985d99 Merge pull request from adamdunkels/push/travis-mspgcc-4-7-0
Update travis to use mspgcc 4.7.0
2013-08-07 01:07:36 -07:00
Adam Dunkels 8b19a66ab9 Merge pull request from g-oikonomou/travis-cc2538
Add CC2538 travis compile tests
2013-08-06 14:13:54 -07:00
George Oikonomou 952607d1b5 Add CC2538 travis compile tests 2013-08-06 21:17:58 +01:00
Adam Dunkels 99c331382b Turn off the LCD by default as it is somewhat flaky 2013-08-06 21:33:03 +02:00
Adam Dunkels 2d973c5353 Allow the exit code from a failed test script to propagate to the Java
process, which makes it possible to track failing tests in makefiles and
via scripts.
2013-08-06 21:33:03 +02:00
Adam Dunkels 02c0b8a4e4 Parse rodata too 2013-08-06 21:33:03 +02:00
Adam Dunkels bcdebf0e9d Filter out symbols defined by the C implementation 2013-08-06 21:33:03 +02:00
Adam Dunkels e147c63044 Added mspgcc 4.7.x flags 2013-08-06 21:33:03 +02:00
Adam Dunkels 7c4715ced7 Updated mspsim.jar
The Contiki source code holds a binary version of mspsim.jar until
we get a proper git submodule set up. This particular version of mspsim.jar
is built from Thingsquare's mspsim fork.
2013-08-06 21:31:22 +02:00
Adam Dunkels 30497b0791 Switch to mspgcc 4.7.0 2013-08-06 21:28:00 +02:00
Adam Dunkels 384ea4e298 Merge pull request from g-oikonomou/travis-new-sdcc
Update travis to use a newer SDCC
2013-08-06 12:01:58 -07:00
George Oikonomou 9e553c3d72 Update travis to use a newer SDCC
Due to SDCC bug , we were previously stuck
with SDCC revision . The bug was fixed with
rev . Thus, we can now use newer versions

More info: http://sourceforge.net/p/sdcc/bugs/1986/
2013-08-06 18:28:16 +01:00