Commit Graph

11266 Commits

Author SHA1 Message Date
Marko Gucanin
d8db093eb2 renamed ccm-star.c to jn516x-ccm-star.c, adapted Makefile accordingly 2016-04-14 16:55:48 +02:00
Marko Gucanin
f1110bf6df removed NETSTACK_LLSEC.init 2016-04-14 16:52:32 +02:00
Antonio Lignan
c9baf0cb57 Merge pull request #1192 from bkozak-scanimetrics/tcpip_put_temporaries_on_stack
changed tcpip static temporaries to stack vars
2016-04-13 09:30:33 +02:00
Antonio Lignan
8f064511d3 Merge pull request #1213 from joakimeriksson/dao_ack_handling
End-to-End DAO and DAO ACK handling for Contiki RPL.
2016-04-11 18:53:43 +02:00
Benoît Thébaudeau
34dd6423f2 Merge pull request #1587 from g-oikonomou/bugfix/travis-arm-aapcs
Fix failure of ARM-AAPCS travis job
2016-04-07 00:53:43 +02:00
George Oikonomou
9f1e87466f Fix failure of ARM-AAPCS travis job
Up till now we have been installing arm-gcc using apt from the team-gcc-arm-embedded ppa.

As discussed in #1453 and implemented in #1504, we have decided to lock travis to use the specific version of the toolchain that is documented in the READMEs of relevant platforms. However, the PPA no longer hosts this version, apt fails to install arm-gcc and as a result the job fails too.

This commit changes the travis job to wget an installation tarball for the desired version, instead of trying to install via apt.
2016-04-06 23:24:42 +01:00
Oliver Schmidt
1d0e940a66 Merge pull request #1583 from oliverschmidt/master
Added compatibility with W5100 shared access.
2016-04-05 21:41:52 +02:00
Oliver Schmidt
2c48f3b232 Added compatibility with W5100 shared access.
If the setup of socket 0 to 3 with 4+2+1+1KB is detected then the W5100 is _not_ initialized, otherwise it does set up socket 0 and 1 with 4KB each. Either way socket 0 is used - now with 4KB instead of 8KB as before.
2016-04-05 21:11:19 +02:00
Antonio Lignan
520519860e Merge pull request #1520 from Zolertia/adc-fixed-channels
Added enabling up to 6 ADC channels and fixed adc-zoul driver problem.
2016-04-04 14:28:26 +02:00
Toni Lozano
a81b4007b0 Allow to use up to 6xADC channels (now hardcoded), disabling the user button
(PA3) if ADC6 is enabled
2016-04-04 10:48:43 +02:00
Simon Duquennoy
fb31d8d641 Merge pull request #1576 from mguc/jn516x_clock_module_signfix
JN516x clock module sign error fix
2016-04-01 08:59:36 +02:00
Marko Gucanin
1818700bde JN516x clock module sign error fix 2016-03-31 13:51:03 +02:00
Simon Duquennoy
2b04888f16 Merge pull request #1574 from warner83/master
Fixed a bug into tsch-schedule - tsch_schedule_add_link that causes d…
2016-03-31 13:36:40 +02:00
Carlo Vallati
855703e936 Fixed a bug into tsch-schedule - tsch_schedule_add_link that causes deadlock if a new link cannot be created 2016-03-31 10:35:19 +02:00
Oliver Schmidt
29c9907c08 Merge pull request #1570 from oliverschmidt/master
Several retrocomputing changes.
2016-03-28 21:10:44 +02:00
Oliver Schmidt
7a5249b066 Added a Contiki version of the CBM exec() system file; it uses PFS instead of POSIX.
It reduces the webbrowsers' size by 735 bytes.
2016-03-28 20:03:47 +02:00
Oliver Schmidt
b287351d99 Activated CBM PFS for the C64 Telnet server.
Now that the CBM PFS supports file removal (and a file seek stub) it is possible to have the Telnet server leverage the IDE64 support of the CBM PFS.

Note: Using the CBM PFS for the Telnet server does _not_ reduce the code size since the POSIX I/O functions are additionally still linked in because the POSIX directory functions internally use the POSIX I/O functions. And that's the very reason why the CBM PFS is _not_ activated for the C128 Telnet server: The CBM PFS for the C128 doesn't bring IDE64 support but is supposed to be used to reduce code size - but this isn't possible for the Telnet server.
2016-03-28 19:43:51 +02:00
Oliver Schmidt
111a976f1e Explicitly mark constant as 'unsigned' to avoid unnecessary promotion to 'long'.
Long constants trigger the performance warning "Constant is long" with cc65.
2016-03-28 14:39:16 +02:00
Oliver Schmidt
4f28289df2 Added a pfs_remove() function and a pfs_seek() stub to the Commodore platforms.
- "Normalized" some Assembly code.
- Implemented CFS_APPEND in pfs_open().
- Made CFS_WRITE work in VICE's virtual disk/file system.
2016-03-28 14:07:35 +02:00
Joakim Eriksson
12a75c3e43 fixed codestyle, improved APIs, and cleaned up comments 2016-03-26 20:12:52 +01:00
Joakim Eriksson
12ac02650b fixed a bug in nbr policy and DAO retransmission handling and added new wismote simulation 2016-03-26 09:45:39 +01:00
Joakim Eriksson
ee97dc4bcd tuned configuration for rpl-collect and micaz platform 2016-03-26 09:45:39 +01:00
Joakim Eriksson
ffb10094ab added init value of locked variable 2016-03-26 09:45:39 +01:00
Simon Duquennoy
e1f9369a09 RPL DAO-ACK: move initialization of current ougoing DAO from da_output to dao_output_target_seq 2016-03-26 09:45:38 +01:00
Simon Duquennoy
19b04098d5 Improved RPL debug logs 2016-03-26 09:45:38 +01:00
Simon Duquennoy
6fa3479aa8 RPL: improved debug messages for No-Path DAOs
Conflicts:
	core/net/rpl/rpl-icmp6.c
2016-03-26 09:45:38 +01:00
Joakim Eriksson
ab4a0e08c7 fixed simulation files to be closer to defaults in configuration 2016-03-26 09:45:38 +01:00
Joakim Eriksson
09c624dcd3 fixed clearing of state flag and avoid starting retransmission timer 2016-03-26 09:45:38 +01:00
Joakim Eriksson
8afe3fb9b7 fixed so that DAO NACK now is either for the path or for RPL root - if from root then do not try to switch parent since that will not help 2016-03-26 09:45:38 +01:00
Joakim Eriksson
dae21fcb76 made ZERO LIFETIME routes live 30 seconds instead of 60 and shortened route lifetime in travis test 2016-03-26 09:45:38 +01:00
Joakim Eriksson
13b8c04c6f fixed so that nbr policy for RPL Root do not save room for parents 2016-03-26 09:45:38 +01:00
Joakim Eriksson
1fcef0f90d added function for checking downward route and added configuration for DAO NACK repair - default off 2016-03-26 09:45:38 +01:00
Joakim Eriksson
ee65a3982c configure short routing lifetime in the RPL ROOT / router 2016-03-26 09:45:38 +01:00
Joakim Eriksson
baa8f3c6f5 minor fixes to the simulation files 2016-03-26 09:45:37 +01:00
Joakim Eriksson
4246a8fbe6 updated more nbr_add calls 2016-03-26 09:45:37 +01:00
Joakim Eriksson
444015df67 refactored the rpl-nbr-policy to be called from nbr-table module 2016-03-26 09:45:37 +01:00
Joakim Eriksson
be81d1d2c6 added uip_clear_buf to avoid the risk of sending received packets 2016-03-26 09:45:37 +01:00
Joakim Eriksson
01930d4a64 changed default configuration of RPL route lifetime 2016-03-26 09:45:37 +01:00
Joakim Eriksson
ad0e624d01 increased number of routes in root node so that it can hold all routes in the simulation 2016-03-26 09:45:37 +01:00
Joakim Eriksson
37c5f741e9 removed viztool usage of learned-from routing state that was removed 2016-03-26 09:45:37 +01:00
Joakim Eriksson
1d92359e72 Replaced MRHof with OF-0 for getting code-size down for er-example 2016-03-26 09:45:37 +01:00
Joakim Eriksson
60dc6503e5 disabled DAO ACK and configured for only one DAG per instance to save memory for er-example 2016-03-26 09:45:37 +01:00
Joakim Eriksson
cd98b8b40e added periodic debug printout of number of used neighbors and routes 2016-03-26 09:45:36 +01:00
Joakim Eriksson
fa1b70b723 added configuration of DAO route refresh for broadcast DIOs 2016-03-26 09:45:36 +01:00
Joakim Eriksson
f4255fad0f updated rpl-udp example with scalability test 2016-03-26 09:45:36 +01:00
Joakim Eriksson
3fd8c4db2d added nbr policy for Contiki RPL that avoids thrashing the nbr table with new entries all the time 2016-03-26 09:45:36 +01:00
Joakim Eriksson
d181bd9e6f added config for enabling/disabling removal of oldest route and added support function for checking if lladdress is used as nexthop 2016-03-26 09:28:09 +01:00
Joakim Eriksson
513393db54 added return value so that caller know if a nbr was removed or not 2016-03-26 09:28:09 +01:00
Joakim Eriksson
946be77248 Added support for end-to-end DAO ACK for Contiki RPL.
This is a fix for Contiki RPL so that it fully supports DAO ACK in
an end-to-end fashion. When DAO is sent it will be forwarded upwards
as before. DAO ACK will be forwarded downwards until it reach the node
that initiated the DAO ACK and unlike before it is not a single-hop
DAO ACK but it is fully reaching the RPL ROOT before any DAO ACK is
sent back. DAO ACK also now fully support different status messages
(success / fail).
2016-03-26 09:28:08 +01:00
Simon Duquennoy
3b9fa19a66 Merge pull request #1540 from simonduq/pr/minor-tsch-fixes
Minor TSCH fixes
2016-03-25 09:18:56 +01:00