Commit Graph

13248 Commits

Author SHA1 Message Date
George Oikonomou 38987352c4 Change variables to static 2017-12-17 22:24:48 +00:00
George Oikonomou b5fa28e2d4 Link without using an archive file
For reasons discussed long ago and that have to do with how ld handles weak symbols, it was decided that it was preferable to link using an explicit list of object files, instead of adding object files to an archive first and then linking using this archive. This was applied for the CC2538, but not for CC13xx/CC26xx.

This pull applies this link logic to all CM3s. For this to work with the Contiki-NG build system, we need `.SECONDEXPANSION:`, so this pull moves that to the common CM3 Makefile.
2017-12-17 21:31:39 +00:00
Simon Duquennoy fa1842ccb5
Merge pull request #258 from g-oikonomou/bugfix/nrf52dk-clean
Remove nrf52832.a on make clean
2017-12-17 17:16:00 +01:00
Simon Duquennoy 9877d14a94
Merge branch 'develop' into bugfix/nrf52dk-clean 2017-12-17 16:17:18 +01:00
Simon Duquennoy 8c3a379efe
Merge pull request #260 from g-oikonomou/contrib/tidyup-gitignore
Gitignore saved defines
2017-12-17 16:15:11 +01:00
George Oikonomou 53bbd6f2e8 Gitignore saved defines 2017-12-17 01:54:43 +00:00
George Oikonomou 14ad14e7d3 Remove nrf52832.a on make clean
When building for nrf52dk, `make clean` does not remove `nrf52832.a`. This commit fixes this.
2017-12-17 01:20:38 +00:00
Simon Duquennoy c41d32d3eb
Merge pull request #226 from g-oikonomou/contrib/data-structures
Add libraries and example for common data structures
2017-12-14 10:14:24 +01:00
George Oikonomou d56dfde006 Compile-test the data structure library example
Adds compile tests for native, sky, zoul, nrf52dk
2017-12-13 23:18:01 +00:00
George Oikonomou 5919f120a5 Add data structure library test on platform native 2017-12-13 16:38:50 +00:00
George Oikonomou bf44dbe62e Add unit tests for the data structure libraries 2017-12-13 16:38:50 +00:00
George Oikonomou c3d2b095b6 Add example demonstrating the data structure libraries 2017-12-13 16:38:50 +00:00
George Oikonomou e87e3850c4 Add circular, doubly-linked list library 2017-12-13 16:38:50 +00:00
George Oikonomou 09d6b123ab Add doubly-linked list library 2017-12-13 16:38:50 +00:00
George Oikonomou b82ca1a5ef Add circular, singly-linked list library 2017-12-13 16:38:50 +00:00
George Oikonomou 9dab37eae4 Add queue library
This commit adds a queue library as a wrapper around the list library
2017-12-13 16:38:50 +00:00
George Oikonomou 8356183907 Add stack library
This commit adds a stack library as a wrapper around the list library
2017-12-13 16:38:50 +00:00
Simon Duquennoy 9d740ca8e6
Merge pull request #246 from g-oikonomou/bugfix/native-nullnet
Compile platform native with NULLNET
2017-12-13 17:06:27 +01:00
George Oikonomou 32ec93842e Compile-test the nullnet example for platform native 2017-12-13 13:30:06 +00:00
Simon Duquennoy 1b0bc03036
Added compile test for NullNet on Native 2017-12-13 11:23:45 +01:00
George Oikonomou d780719530 Compile platform native with NULLNET 2017-12-13 09:40:02 +00:00
George Oikonomou d1208f7c5b
Merge pull request #231 from cetic/fix-native-clock
Native monotonic timer
2017-12-12 22:29:39 +00:00
George Oikonomou bd5d6470d8
Merge branch 'develop' into fix-native-clock 2017-12-12 21:46:33 +00:00
Simon Duquennoy 49e86ed709
Merge pull request #234 from cetic/fix-icmp-error-source
Always use uip_ds6_select_src() when sending back an icmp error
2017-12-12 20:15:24 +01:00
Simon Duquennoy b938ad9aa7
Merge branch 'develop' into fix-icmp-error-source 2017-12-12 19:33:04 +01:00
Simon Duquennoy 6a0942efdf
Merge pull request #239 from cetic/fix-rpl-ext-header-remove
rpl_ext_header_remove() should only remove RPL Hop-by-Hop extension header
2017-12-12 19:32:55 +01:00
Simon Duquennoy a7e5cf85cf
Merge branch 'develop' into fix-rpl-ext-header-remove 2017-12-12 19:02:14 +01:00
Simon Duquennoy eff4dd771c
Merge pull request #237 from cetic/fix-rpl-classic-addr-autoconf-root
Don't autoconfigure address on RPL Root (rpl-classic)
2017-12-12 19:00:40 +01:00
Simon Duquennoy 6125637e40
Merge branch 'develop' into fix-rpl-classic-addr-autoconf-root 2017-12-12 18:05:01 +01:00
Simon Duquennoy 3408b333d3
Merge pull request #236 from cetic/fix-rpl-classic-multi-dodag-probing
Do RPL probing on all the known DAGs (rpl-classic)
2017-12-12 18:04:48 +01:00
Simon Duquennoy 980a420b44
Merge branch 'develop' into fix-rpl-classic-multi-dodag-probing 2017-12-12 16:54:44 +01:00
Laurent Deru ccb705ed31 Use clock_gettime() instead of gettimeofday() to have a monotonic clock and use CLOCK_CONF_SECOND explicitly 2017-12-12 16:53:51 +01:00
Simon Duquennoy 00d703a9a2
Merge pull request #242 from cetic/fix-missing-llhlen
Add missing UIP_LLH_LEN
2017-12-12 16:53:45 +01:00
Laurent Deru 3b24a57ad2 Move to next header when encountering DESTO instead of aborting the loop in rpl_ext_header_remove() 2017-12-12 16:17:20 +01:00
Laurent Deru 5bf06d851d rpl_ext_header_remove() should only remove RPL Hop-by-Hop extention header 2017-12-12 16:17:20 +01:00
Simon Duquennoy efb1f13c9e
Merge branch 'develop' into fix-missing-llhlen 2017-12-12 16:12:20 +01:00
Simon Duquennoy b6e0c09ec0
Merge pull request #232 from cetic/fix-update-proto-remove-ext-hdr
Update protocol field in remove_ext_hdr()
2017-12-12 16:11:58 +01:00
Laurent Deru aae6276b56 Add missing UIP_LLH_LEN 2017-12-12 16:06:45 +01:00
Simon Duquennoy 118912d681
Merge branch 'develop' into fix-update-proto-remove-ext-hdr 2017-12-12 15:38:48 +01:00
Simon Duquennoy d2bd0d7198
Merge pull request #229 from cetic/fix-sicslowpan-llhlen
Sicslowpan UDP decompression fails when UIP_LLH_LEN != 0
2017-12-12 15:37:26 +01:00
Simon Duquennoy 66de2395fe
Merge branch 'develop' into fix-sicslowpan-llhlen 2017-12-12 13:54:59 +01:00
Simon Duquennoy be5c325092
Merge pull request #235 from cetic/fix-rpl-classic-select-dag-over-all-dodags
Always try to find the best dag (rpl-classic)
2017-12-12 13:54:40 +01:00
Simon Duquennoy d609fb9eec
Merge branch 'develop' into fix-sicslowpan-llhlen 2017-12-12 13:49:16 +01:00
Laurent Deru 74efdf688e Always try to find the best dag 2017-12-12 13:35:29 +01:00
Simon Duquennoy eadb9ea219
Merge branch 'develop' into fix-rpl-classic-addr-autoconf-root 2017-12-12 12:07:27 +01:00
Simon Duquennoy eeeacadfc8
Merge pull request #233 from cetic/fix-rpl-classic-dodag-root
Additional cleanup when becoming DODAG Root (rpl-classic)
2017-12-12 11:45:48 +01:00
Laurent Deru a79fa13805 Additional cleanup when becoming DODAG Root (rpl-classic) 2017-12-12 09:27:27 +01:00
George Oikonomou ab0d8f8dd0
Merge pull request #227 from joakimeriksson/contrib/uipbuf
uipbuf: added some documentation
2017-12-11 21:48:32 +00:00
George Oikonomou 7be2524e1b
Merge branch 'develop' into contrib/uipbuf 2017-12-11 21:48:20 +00:00
George Oikonomou a08a94d3fb
Merge pull request #230 from cetic/fix-multicast-llhlen
Use UIP_LLH_LEN in multicast engines and add more traces
2017-12-11 21:47:35 +00:00