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
8efb714edd
kinetis/mcg: Use {} for empty while loops
2017-05-30 08:50:30 +02:00
Joakim Nohlgård
5c34eb4e2c
kinetis: Add support for low-end MCG without PLL
...
Found in Kinetis L series, among others
2017-05-30 08:50:30 +02:00
Joakim Nohlgård
a8450f2952
kinetis: Simplify MCG state traversal algorithm
...
The new implementation uses a precalculated map of which mode to switch
to next if going from mode A to mode B. This simplifies the
implementation for moving between modes which are not direct neighbors.
See mcg.h documentation for a diagram of the state machine for the
clocking modes. Also found in the CPU reference manual of all Kinetis
CPUs, MCG chapter, MCG mode state diagram.
2017-05-30 08:50:30 +02:00
Joakim Nohlgård
f9ed160fe2
cpu/kinetis_common: Add state graph to MCG documentation
2017-05-30 08:50:30 +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
a4e16cd7e9
drivers/dsp0401: initial implementation
2017-05-26 15:24:51 +02:00
3b7252c7de
Merge pull request #7099 from miri64/doc/fix/application
...
doc: fix "Creating an application" page
2017-05-24 18:40:28 +02:00
Martine Lenders
cac6da3fb7
doc: fix "Creating an application" page
2017-05-24 18:23:30 +02:00
Martine Lenders
d4693648ba
Merge pull request #7095 from kaspar030/add_headerguard_check_script
...
dist: tools: add headerguard check script
2017-05-24 18:08:29 +02:00
Vincent Dupont
ee7a776a9f
Merge pull request #7059 from OTAkeys/pr/fix_ls_handler
...
sc_vfs: fix _ls_handler
2017-05-24 17:55:52 +02:00
60fb6d2d50
dist: tools: changed_files.sh: add msba2 tools to exclude list
2017-05-24 17:54:02 +02:00
0fcc7d3834
cleanup: apply headerguard script output
2017-05-24 17:54:02 +02:00
a65931c04a
add some missing header guards
2017-05-24 17:54:01 +02:00
ed31db4702
dist: tools: build_and_test.sh: add header guard check
2017-05-24 17:54:01 +02:00
de07fe07e5
dist: tools: headerguard: initial commit
2017-05-24 17:54:01 +02:00
Hauke Petersen
c57d67fab8
Merge pull request #7073 from kaspar030/add_edbg_support
...
tools: add edbg support
2017-05-24 17:35:42 +02:00
Hauke Petersen
71ff62011b
Merge pull request #7098 from haukepetersen/add_kinetis_uartmodeconf
...
cpu/kinetis: make UART mode configurable per board
2017-05-24 15:58:32 +02:00
8060c48427
boards: samd21-xpro: enable use of edbg
2017-05-24 14:52:45 +02:00
f2cc58e8ed
boards: samr21-xpro: enable use of edbg
2017-05-24 14:52:45 +02:00
d7d796b80d
makefiles: add edbg tool support
2017-05-24 14:52:44 +02:00
6a9175944c
dist: tools: add edbg
2017-05-24 14:52:44 +02:00
Hauke Petersen
867b09c224
cpu/kinetis: make UART mode configurable per board
2017-05-24 14:48:49 +02:00
Vincent Dupont
151c469d9e
sc_vfs: fix _ls_handler
...
Calls to vfs_closedir were missing at the end of _ls_handler causing umount
ro return an error.
2017-05-24 12:10:52 +02:00
Hauke Petersen
bb1d600778
net/gcoap: moved implemenation status to gcoap.h
2017-05-24 09:25:11 +02:00
Hauke Petersen
7a1fcdf0b8
Merge pull request #6469 from kb2ma/gcoap/observe
...
gcoap: Observe extension server
2017-05-24 09:11:15 +02:00
Ken Bannister
3abff6d140
gcoap: Update example for Observe, including documentation.
2017-05-23 17:55:04 -04:00
Ken Bannister
9d37be2729
gcoap: Add server-side Observe registration and notifications.
2017-05-23 17:55:04 -04:00
Ken Bannister
05fe8527a2
nanocoap: Update pkg for Observe commits.
2017-05-23 17:47:39 -04:00
Martine Lenders
18bad155ad
Merge pull request #7074 from haukepetersen/fix_borderrouter_maketargets
...
examples/gnrc_border_router: remove `make term` warnings
2017-05-23 15:06:32 +02:00
Hauke Petersen
92076cdf50
example/gnrc_border_router: use TERMDEPS
2017-05-23 14:25:11 +02:00
Hauke Petersen
2739354bab
make/serial.inc.mk: set TERMFLAGS only if not set
2017-05-23 14:25:11 +02:00
Hauke Petersen
3098a277ed
Makefile.include: add optional TERMDEPS to make term
2017-05-23 14:25:11 +02:00
a3907c99d5
Merge pull request #7079 from haukepetersen/opt_guard_unusedmoduleheaders
...
sys/drivers: guard l2filter.h, netstats.h includes
2017-05-23 13:46:22 +02:00
Hauke Petersen
d488fdc1e3
sys/drivers: guard l2filter.h, netstats.h includes
2017-05-23 13:39:49 +02:00
8d3b7a28fc
makefiles: openocd.inc.mk: make FLASHER overridable
2017-05-23 10:17:18 +02:00
BytesGalore
2ef5cff688
Merge pull request #6072 from MichelRottleuthner/fatfs_testing
...
package: add generic FatFs
2017-05-23 09:03:19 +02:00
0b918db35c
Merge pull request #7068 from haukepetersen/add_tool_bossa
...
tools: introduce shared tooling for using BOSSA
2017-05-23 07:17:13 +02:00
c53e9271ba
dist: tools: bossa: add makefile rule to clean generated binary
2017-05-22 16:18:07 +02:00
Martine Lenders
0ec8593a71
Merge pull request #7089 from haukepetersen/fix_gcoap_minormisc
...
net/gcaop: misc. minor style fixes and optimizations
2017-05-22 15:16:50 +02:00