Commit graph

5994 commits

Author SHA1 Message Date
oliverschmidt e5665fb968 The recent change turning uip_buf from an array to a pointer seems a quite heavyweight way to have the uip_buf alligned to a 32-bit boundary. Contiki is - still - supposed to be portable across a wide range of toolchains - therefore it i.e. intentionally doesn't use C99 features. From that perspective it seems questionable if all toolchains are able to optimize away the overhead imposed by an "unnecessary" indirection to access uip_buf - and uIP consists mostly of accesses to uip_buf. Even if the future is supposed to bring support for multiple uip_bufs which would turn the uip_buf pointer from a mere workaround to an neceesary element on can still presume that there will be targets with resources limited in a way prohibiting the use of several uip_bufs. So at least for those targets will still be a usecase for a "plain", not indirected uip_buf.
Therefore it seems reasonable to allow to stay with the "plain" uip_buf at compile-time.
2010-05-08 07:23:55 +00:00
oliverschmidt 62ca797fad The recent change turning uip_buf from an array to a pointer increases the code generated by cc65 significantly :-(
This change modifies the set of modules placed in the Apple2 Language Card to again make maximum use of that memory without overflow.
2010-05-07 21:02:35 +00:00
oliverschmidt dec19626e8 Adjusted UIP_CONF_EXTERNAL_BUFFER to apply to actual buffer only. 2010-05-07 20:45:16 +00:00
fros4943 bc0ea1f81d bug fix: dag pointer may be NULL 2010-05-07 13:51:34 +00:00
nifi 99b2dd8ef7 Added option to connect to server instead of serial port 2010-05-07 12:22:41 +00:00
nifi 4aba60ad25 acc-sensor and ext-sensor moved to the jcreate platform 2010-05-06 13:55:21 +00:00
nifi 52f27ea1cb reduced the buffers to save memory 2010-05-05 21:54:41 +00:00
nifi ad450e18a7 added project configuration 2010-05-05 21:12:56 +00:00
joxe efc8ef760d added very basic rpl-border router example 2010-05-05 19:44:30 +00:00
joxe cd5dfa9692 added const for the uip_buf pointer for more efficient and smaller uip code and fixed same construct for the sicslowpan code 2010-05-05 13:07:45 +00:00
nvt-se e4187b2fc8 Made pointers constant and thereby reduced the code size slightly. 2010-05-05 12:35:39 +00:00
nvt-se 361e210751 Improvements to style and commentary. 2010-05-04 22:55:32 +00:00
joxe 01881f92a8 added missing include 2010-05-04 14:41:55 +00:00
joxe b54f410bc8 minor cleanup 2010-05-04 14:40:52 +00:00
dak664 972e2f5d4f Add MCU to avr-size command; Remove fuse and signature from .hex; Give bootloader more memory 2010-05-04 14:14:49 +00:00
dak664 e78984aa25 Bugfixes and additional testing contributed by Mauro Greco. Still a probabe bug when coffee page size is a multiple of physical page size and FLASH_COMPLEMENT_DATA=0 2010-05-04 14:08:01 +00:00
nifi d34f278256 jcreate now has its own platform 2010-05-04 10:38:55 +00:00
joxe 790819e701 allocate uip_buf as uint32_t to avoid risk for unaligned uip_buf on 32 or 16 bit architectures 2010-05-04 09:19:41 +00:00
nifi cc55197d52 Updated to use the platform 'jcreate' 2010-05-03 22:02:59 +00:00
nifi ed472717f2 Added Sentilla Jcreate platform. This platform is similar to the Sky platform but with other sensors and 8 leds. 2010-05-03 21:57:35 +00:00
nvt-se f690294842 Example has been replaced by udp-ipv6 2010-05-03 14:57:59 +00:00
nvt-se 35282593c0 Updated the test information messages. 2010-05-03 14:56:13 +00:00
nvt-se c50e4ab4f3 Switched to examples/udp-ipv6 as the code for the test 2010-05-03 14:48:47 +00:00
joxe 7d235841b3 always include the RPL route state to allow compilation of rpl code 2010-05-03 14:12:03 +00:00
nifi 7cebc4ed99 added missing include 2010-05-03 13:55:26 +00:00
nifi bf198ec695 Moved sensors setup to contiki-sky-platform.c and common make rules to Makefile.common for easier reuse in similar platforms 2010-05-03 13:51:11 +00:00
nifi 6c86398778 Added check to not copy or create too large packets 2010-05-02 14:59:11 +00:00
nifi a04372adc4 Fixed conversion of packetbuf address type to address index and corrected return value 2010-05-02 12:21:34 +00:00
fros4943 be5656ec2e set cooja mote random seed depending on simulation random seed 2010-05-02 09:42:52 +00:00
fros4943 79aa299531 fixed random seed for cooja motes 2010-05-02 09:42:15 +00:00
joxe aa980e3f67 removed initialization of RPL from platform main 2010-05-01 13:07:31 +00:00
joxe f72bd5572c added initialization of RPL 2010-05-01 13:04:31 +00:00
joxe 3c9256c39f removed RPL routing state struct from platform config file 2010-05-01 12:04:13 +00:00
joxe 0531d9bd82 moved RPL routing state struct into uip-ds6 2010-05-01 12:02:25 +00:00
nvt-se 9a4a9b9437 Removed return value in function that should not return a value. 2010-04-30 23:13:58 +00:00
nvt-se ecada2d1ac *** empty log message *** 2010-04-30 23:10:45 +00:00
nvt-se 2fd414b22f Support fragmentation testing. 2010-04-30 22:20:41 +00:00
nvt-se b8a3a4109e Adjusted the code so as to remove compilation warnings. 2010-04-30 22:18:12 +00:00
nvt-se 528614e89f Converted the test to examples/udp-ipv6 2010-04-30 22:16:51 +00:00
nvt-se 15f84a93fa Converted the test to use examples/udp-ipv6 2010-04-30 16:20:42 +00:00
nvt-se 66d99e00ec Removed obsolete test for the rimeroute module 2010-04-30 16:04:23 +00:00
nvt-se d751238747 Added an example of using UDP over an RPL-enabled IPv6 network 2010-04-30 15:52:48 +00:00
nvt-se d529132002 Added missing parts of the RPL configuration 2010-04-30 15:06:00 +00:00
nvt-se b822dbb25e Addressed compilation warnings. 2010-04-30 15:04:47 +00:00
nvt-se 4106f4d798 Increased minimum DIO interval from 1024 ms to 4096 ms in order to more calm in duty-cycled networks. 2010-04-30 15:03:55 +00:00
joxe b0640af3a2 added rpl support for tmote sky - enabled by default 2010-04-30 13:52:14 +00:00
joxe 168a65d989 added ContikiRPL - an implementation of IETF ROLL RPL 2010-04-30 13:43:53 +00:00
joxe 167b0d636e added icmp_send function and moved rpl input function signature 2010-04-30 13:22:21 +00:00
joxe dc1a5f70ff added uip-debug utilities 2010-04-30 13:20:57 +00:00
nvt-se 7e0e2fe284 Removed obsolete rime-route code for IPv6 2010-04-30 12:43:37 +00:00