1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

14339 Commits

Author SHA1 Message Date
Hauke Petersen
a1499f4190 cpu: add and use shared code for timer_set() 2017-06-02 12:21:56 +02:00
neiljay
12a9c5e3b4 Merge pull request #7012 from francois-berder/wifire-led
boards: pic32-wifire: Add LEDs support
2017-06-02 10:14:43 +01:00
neiljay
7c3601ae8f Merge pull request #7013 from francois-berder/clicker-led
boards: pic32-clicker: Add LEDs support
2017-06-02 10:14:16 +01:00
25d909725b Merge pull request #7124 from haukepetersen/rm_stm32f1_cpuclockscale
cpu/stm32f1: remove unused cpu_clock_scale
2017-06-01 20:37:28 +02:00
1a2097e97e Merge pull request #7082 from jia200x/openthread_core
pkg/openthread:  core and tests
2017-06-01 20:20:37 +02:00
José Ignacio Alamos
fc4fd6222f pkg/openthread: Add tests 2017-06-01 13:44:06 -04:00
José Ignacio Alamos
017280db13 pkg/openthread: add OpenThread core 2017-06-01 13:44:05 -04:00
Martine Lenders
679afe60b6 Merge pull request #6604 from haukepetersen/opt_netdev_doc
drivers/netdev: added more comprehensive doc
2017-06-01 19:37:31 +02:00
Hauke Petersen
d0f84e5460 drivers/netdev2: added more comprehensive doc 2017-06-01 18:54:54 +02:00
Hauke Petersen
9e995dde81 cpu/stm32f1: remove unused cpu_clock_scale 2017-06-01 18:52:15 +02:00
Hauke Petersen
4bc1d2916b Merge pull request #7096 from haukepetersen/opt_gcoap_misc2
net/gcoap: some more minor improvements
2017-06-01 12:54:11 +02:00
Martine Lenders
b28a61d61c Merge pull request #6670 from gebart/pr/newlib-split-syscalls
newlib: Split newlib into one generic part and one default syscalls part
2017-06-01 12:02:01 +02:00
Hauke Petersen
b104433d4e net/gcoap: improved header documentation
- fixed/unified indention throughout the file
- use same style for @brief blocks
- removed colons from end of brief descriptions
- fixed in and out annotations for function parameters
2017-06-01 11:16:27 +02:00
Hauke Petersen
7ba22cfbf8 net/gcoap: added some additional debug output 2017-06-01 11:13:15 +02:00
Hauke Petersen
9d3abe0d12 Merge pull request #7097 from haukepetersen/opt_gcoap_moveimplstatus
net/gcoap: moved implemenation status to gcoap.h
2017-06-01 10:36:20 +02:00
Joakim Nohlgård
7548c509e6 Merge pull request #7101 from haukepetersen/opt_kinetis_rmsymlinks
cpu/kinetis: prevent use of symlinks for ld-scripts
2017-06-01 06:35:43 +02:00
Martine Lenders
f6cb8a89ce Merge pull request #7117 from cgundogan/pr/netdev_doc
netdev.h: remove indirect reference to netdev2 from doc
2017-05-31 17:15:34 +02:00
Cenk Gündoğan
1f4dbcb089 Merge pull request #6676 from astralien3000/rm_aversiveplusplus
pkg : remove aversiveplusplus
2017-05-31 16:57:55 +02:00
Cenk Gündoğan
1473adde17 netdev.h: remove indirect reference to netdev2 from doc 2017-05-31 16:54:38 +02:00
Loïc Dauphin
f8675f77b7 pkg: removed aversiveplusplus 2017-05-31 16:41:33 +02:00
Sebastian Meiling
aff74a7216 Merge pull request #7113 from miri64/doc/fix/make-quick-start-guide
make: fix link to quickstart guide
2017-05-31 16:40:37 +02:00
Loïc Dauphin
b5fea98e17 tests: removed pkg_aversiveplusplus 2017-05-31 16:34:58 +02:00
Martine Lenders
e1d2c0c134 make: fix link to quickstart guide 2017-05-31 16:19:01 +02:00
Cenk Gündoğan
9d286240be Merge pull request #6736 from smlng/tests/xtimer_msg_receive_timeout
tests: enhance xtimer_msg_receive_timeout
2017-05-30 22:07:31 +02:00
smlng
44801c4ef6 tests: enhance xtimer_msg_receive_timeout
- correct test period from 100ms to 1000ms, to match description
    - moved description to separate README.md
    - changed timer message type from 44 to 42, for nerdiness
    - minor code enhancements
2017-05-30 22:00:49 +02:00
Emmanuel Baccelli
cdaccf4e8c Merge pull request #7056 from kaspar030/add_coccinelle_readme
dist: tools: coccinelle: add documentation
2017-05-30 21:47:38 +02:00
e99a834487 dist: tools: coccinelle: add documentation 2017-05-30 21:38:03 +02:00
Cenk Gündoğan
3921fc86a7 Merge pull request #6901 from BytesGalore/rpl_drop_dao_ack_on_mc
rpl: drop DAO-ACK when received via multicast
2017-05-30 21:28:58 +02:00
Sebastian Meiling
efffddd0ba Merge pull request #6768 from aabadie/driver_dsp0401
drivers/dsp0401: add implementation for 4 digits alphanumeric display
2017-05-30 21:13:36 +02:00
Martine Lenders
229ad28751 Merge pull request #7112 from rfuentess/doxygen_fixes
Doxygen:  Minor series of fixes for the documentation
2017-05-30 21:06:06 +02:00
Raul Fuentes
1c0653f383 Doxygen: Completed line for Makefile.base 2017-05-30 20:48:57 +02:00
Raul Fuentes
f21d497be4 tread.h: Minor examples compile 2017-05-30 20:48:57 +02:00
Raul Fuentes
808b56c07f sock/udp.h: Changed wiki syntax to doxygen 2017-05-30 20:48:41 +02:00
Cenk Gündoğan
fd7f8a5209 Merge pull request #7108 from cgundogan/pr/kw2xrf_inline
kw2xrf: use static inline
2017-05-30 20:20:51 +02:00
BytesGalore
da38b77ba4 rpl: drop DAO-ACK when received on multicast 2017-05-30 18:05:00 +02:00
BytesGalore
c3843122dd Merge pull request #7111 from cgundogan/pr/ndp_fallthrough
ndp: warn gcc-7 about intentional fall-through
2017-05-30 18:00:02 +02:00
Cenk Gündoğan
3c73d07e04 Merge pull request #7026 from smlng/shell/ccn_lite_cmd_fixup
shell: fix _ccnl_content command
2017-05-30 15:35:34 +02:00
Cenk Gündoğan
6065be76e1 ndp: warn gcc-7 about intentional fall-through
Since gcc-7 `Wimplicit-fallthrough` is activated by using `-Wextra`.
This leads to the following problem when compiling `gnrc_networking`:

```
RIOT/sys/net/gnrc/network_layer/ndp/internal/gnrc_ndp_internal.c: In function ‘gnrc_ndp_internal_set_state’:
RIOT/sys/net/gnrc/network_layer/ndp/internal/gnrc_ndp_internal.c:106:15: error: this statement may fall through [-Werror=implicit-fallthrough=]
   t = ipv6_iface->reach_time;
  ~~^~~~~~~~~~~~~~~~~~~~~~~~
RIOT/sys/net/gnrc/network_layer/ndp/internal/gnrc_ndp_internal.c:109:9: note: here
case GNRC_IPV6_NC_STATE_DELAY:
         ^~~~
```

The fall-through in this code is intentional. There are several ways to
warn the comiler about such intentional fall-throughs, which include
e.g. attributed empty statements (`__attribute__ ((fallthrough));`).
I don't like tis approach however. The best way would probably be to
remove this fall-through from the code. However, to keep the diff
minimal, and since ndp will change in the future, I went for warning
the compiler using comments.

The compiler checks comments for several *fall through* regexs to
decide whether a fallthrough was intentional or not.

You can read more about this gcc option in [1]. A note about
fallthrough comment regexs is at the bottom of this article.

[1] https://developers.redhat.com/blog/2017/03/10/wimplicit-fallthrough-in-gcc-7/
2017-05-30 14:23:37 +02:00
Martine Lenders
2e0133d1df Merge pull request #7110 from cgundogan/pr/native_fallthrough
native: add break to satisfy compiler gcc-7.1.1
2017-05-30 14:20:01 +02:00
Martine Lenders
386be92a66 Merge pull request #7105 from cgundogan/pr/packer_libudev
dist: packer: update and add libudev-dev
2017-05-30 14:06:33 +02:00
Cenk Gündoğan
044fac8d17 native: add break to satisfy compiler gcc-7.1.1
Building any application with gcc 7.1.1 fails with the following error:

```
~/RIOT % make -C examples/hello-world
make: Entering directory 'RIOT/examples/hello-world'
Building application "hello-world" for "native" with MCU "native".

"make" -C RIOT/boards/native
"make" -C RIOT/boards/native/drivers
"make" -C RIOT/core
"make" -C RIOT/cpu/native
RIOT/cpu/native/startup.c: In function ‘startup’:
RIOT/cpu/native/startup.c:292:17: error: this statement may fall through [-Werror=implicit-fallthrough=]
       usage_exit(EXIT_SUCCESS);
       ^~~~~~~~~~~~~~~~~~~~~~~~
RIOT/cpu/native/startup.c:293:13: note: here
   case 'i':
   ^~~~
cc1: all warnings being treated as errors
make[2]: *** [RIOT/Makefile.base:81: RIOT/examples/hello-world/bin/native/cpu/startup.o] Error 1
make[1]: *** [RIOT/Makefile.base:20: ALL--RIOT/cpu/native] Error 2
make: *** [RIOT/examples/hello-world/../../Makefile.include:297: all] Error 2
make: Leaving directory 'RIOT/examples/hello-world'
```

```
% gcc --version
gcc (GCC) 7.1.1 20170528
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
```

fixed by adding a `break` statement after `usage_exit()`
2017-05-30 13:56:17 +02:00
Martine Lenders
9a16dab681 Merge pull request #7106 from BytesGalore/adjust_edbg_commit_hash
dist/edbg: forward commit hash to added samr21-xpro (rev D)
2017-05-30 10:18:07 +02:00
Cenk Gündoğan
6d0fa42d07 kw2xrf: use static inline 2017-05-30 09:51:30 +02:00
BytesGalore
eac2b0c761 dist/edbg: forward commit hash to added samr21-xpro (rev D) 2017-05-30 08:59:11 +02:00
Joakim Nohlgård
f6073c0aa4 Merge pull request #6993 from gebart/pr/kinetis-isr
kinetis: Unify default ISR definitions
2017-05-30 08:48:50 +02:00
Cenk Gündoğan
f18936a7d9 dist: packer: update and add libudev-dev 2017-05-29 19:26:55 +02:00
Martine Lenders
19d485d1b1 Merge pull request #7102 from haukepetersen/opt_gcoap_const
net/gcoap: make input parameters const
2017-05-29 11:57:28 +02:00
24779bc738 tests/driver_dsp0401: add simple test application 2017-05-29 11:11:04 +02:00
Hauke Petersen
bb90e293a2 net/gcoap: make input parameters const 2017-05-26 16:34:40 +02:00
Hauke Petersen
9b7ece6827 cpu/kinetis: prevent use of symlinks for ld-scripts
The use of symbolic links leads to trouble in certain environments
(e.g. vagrant under Win). This PR gets rid of symlinks and uses
variables in the Makefiles to map to the correct linkerscripts
instead.
2017-05-26 16:07:48 +02:00