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

16132 Commits

Author SHA1 Message Date
1318e18ab3 tests: deduce test application name from folder 2017-12-01 11:03:39 +01:00
0c03dc2e0b
Merge pull request #8168 from x3ro/pyterm-serial-snafu
tools/pyterm: Notify user if wrong serial package is installed
2017-11-29 09:40:17 +01:00
Peter Kietzmann
eb2c0e29ab
Merge pull request #8155 from RIOT-OS/revert-8009-revert-7238-pr_sc_ccnl_chunkdump
Revert "Revert "shell/ccnl: remove use of ccnl_wait_for chunk()""
2017-11-28 21:36:38 +01:00
Gaëtan Harter
b54318c77c
Merge pull request #7919 from smlng/make/wpedantic
Make: enable -Werror -Wall -Wextra by default
2017-11-28 20:44:02 +01:00
smlng
57c5c9b6a6 make: enable Wall and Wextra by default, and optionally Wpedantic 2017-11-28 20:33:39 +01:00
Gaëtan Harter
a52d2130fd
Merge pull request #8157 from miri64/tests/cleanup/default-netdev
tests: remove unnecessary gnrc_netdev_default include
2017-11-28 20:29:27 +01:00
Martine Lenders
a2e51a039a tests: remove unnecessary gnrc_netdev_default include
The `driver_enc28j60` and `driver_encx24j600` applications exist to
test the network device drivers of this type. Including the *default*
driver of the board is thus non-sensical and might even be harmful for
the success of this test (if default device in initialized before the
device that is tested).

Additionally, does the removal of this module allow for some boards to
fit this into their memory (at least in my linker configuration), so I
removed them from the `BOARD_INSUFFICIENT_MEMORY` list.
2017-11-28 20:12:43 +01:00
Lucas Jenss
33002325d5 tools/pyterm: Notify user if wrong serial package is installed
When installing the `serial` package (in contrast to `pyserial`)
the pyterm script will print a cryptic error message and fail.
This is because both packages, though unrelated, expose a `serial`
package (whereas pyserial should expose `pyserial`).

This change catches the error and might save some precious lifetime
of unsuspecting RIOT users, such as myself.
2017-11-28 20:00:37 +01:00
Gaëtan Harter
9c25478697
Merge pull request #8081 from smlng/enh/examples/develhelp
make: adapt develhelp for all examples
2017-11-28 19:42:57 +01:00
smlng
9376acdee7 examples: adapt DEVELHELP switch 2017-11-28 19:25:10 +01:00
smlng
b283b7784c make: fix various compile errors with Wextra
pkg, nordic_softdevice_ble: disable CFLAGS to omit compiler error
        sys, pm_layered: fix casting nonscalar to the same type
        cpu, stm32_common: fix type-limits, remove always true assert
        cpu, stm32f4: fix pointer arithmetic in periph/i2c
        drivers, at86rf2xx: fix type-limits where condition always true
        saul, gpio: fix if no gpio configured for saul
        cpu, saml21: add frequency check to periph/timer
        driver, cc110x: fix unused param and type-limts errors
        boards, wsn430-common: fix old-style-declaration
        make: fix old style definition
        drivers, sdcard_spi: fix old style typedef
        driver, at30tse: remove unnecessary check
        driver, nrf24: fix type-limit
        driver, pn532: change buffer from char to uint8_t
        tests/driver_sdcard: fix type limits
        boards, feather-m0: add missing field inits
        driver, tcs37727: fix type limits
        pkg, emb6: disable some compiler warnings
        tests/emb6: disable some compiler warings
        pkg, openthread: fix sign compare and unused params
        tests/trickle: fix struct init
        tests/pthread_cooperation: fix type limits
        board, mips-malta: remove feature periph_uart
        shell: fix var size for netif command
        gnrc, netif: fix sign-compare
        gnrc, nib: fix sign-compare
        shell: fix output in netif command
        posix: fix type-limits in pthread_cond
2017-11-28 18:31:43 +01:00
Martine Lenders
e3547cef23
Merge pull request #8167 from smlng/enh/net/lwmac
net, lwmac: cleanup, restructured code
2017-11-28 17:58:38 +01:00
smlng
aa6e1711d4 net, lwmac: cleanup, restructured code 2017-11-28 17:28:40 +01:00
Martine Lenders
39c122155c
Merge pull request #7995 from smlng/make/fix/unused_params
make: fix unused-params error
2017-11-28 14:46:23 +01:00
smlng
7309171303 build: fix unused parameter errors
cpu, sam0_common: fix unused parameter in periph/spi
        cpu, kinetis_common: fix unused parameter in periph/spi
        cpu, cc2538: fix unused param in periph/i2c
        cpu, cc2538: fix unused param in periph/spi
        cpu, sam3: fix unused param in periph/spi
        cpu, stm32_common: fix unused param in periph/pm
        cpu, stm32f3: fix unused params in periph/i2c
        cpu, nrf5x_common: fix unused param in periph/gpio
        cpu, nrf5x_common: fix unused param in periph/spi
        cpu, lpc2387: fix unused params in periph/spi
        cpu, cc2538: fix unused params in radio/netdev
        cpu, cc2650: fix unused params in periph/uart
        cpu, lm4f120: fix unused param in periph/spi
        cpu, lm4f120: fix unused params in periph/timer
        cpu, lm4f120: fix unused params in periph/uart
        cpu, stm32_common: fix unused params in periph/dac
        cpu, stm32l0: fix unused params in periph/i2c
        cpu, msp430fxyz: fix unused params in periph/uart
        cpu, mips: fix unused params
        cpu, cc430: fix unused-params in periph/timer
        cpu, msp430fxyz: fix unused params in periph/spi
        drivers, cc2420: fix unused param
        cpu, mips32r2_common: fix unused params in periph/timer
        cpu, cc2538: fix unused-param in periph/i2c
        cpu, mips32r2_common: fix unused-param in periph/timer
        cpu, msp430fxyz: fix unused params in periph/timer
        cpu, atmega_common: fix unused params in periph/spi
        driver, nrfmin: fix unused params
        cpu, cc2538_rf: fix unused params
        driver, netdev_ieee802514: fix unused param
        cpu, mip_pic32m: fix unused params
        cpu, lpc2387: fix unused params in periph/pwm
        tests/driver_sdcard_spi: fix unused params
        cpu, sam3: fix unused param in periph/pwm
        tests/driver_dynamixel: fix unused params, and style issues
        cpu, cc430: fix unused param in periph/rtc
        cpu, atmega_common: fix unused params in periph/i2c
2017-11-28 14:36:01 +01:00
neiljay
5ccfe68f1f
Merge pull request #8032 from cladmi/pr/cpu/mips_cleanup_modules
cpu/mips: make `mips32r2_common` only a common cpu and remove cpu/periph module duplicate names.
2017-11-28 13:34:30 +00:00
Martine Lenders
b68b7a0524
Merge pull request #8156 from miri64/tests/cleanup/pca1000x-revert
examples: tests: remove remaining pca1000x references
2017-11-28 13:45:15 +01:00
Martine Lenders
cd3b1f3b42
examples: tests: remove remaining pca1000x references 2017-11-28 13:28:58 +01:00
Martine Lenders
ecc2b1113f
Merge pull request #8143 from aabadie/pr/tests/python_F401
tests: fix python style 'F401 module imported but unused'
2017-11-28 13:27:46 +01:00
Martine Lenders
bf53c88a78
Merge pull request #7994 from smlng/make/fix/sign_compare
make: fix sign-compare errors
2017-11-28 12:29:44 +01:00
Martine Lenders
6b510b046b
Merge pull request #8163 from aabadie/pr/cc110x_leftover
drivers/cc110x: cleanup + remove gnrc_netdev leftover
2017-11-28 12:25:54 +01:00
smlng
e381317fbf make: fix sign-compare errors
cpu, nrf5x_common: fix sign-compare in periph/flashpage
    drivers, periph_common: fix sign-compare in flashpage
    cpu, sam0_common: fix sign-compare error in periph/gpio
    cpu, cc2538: fix sign-compare in periph/timer
    cpu, sam3: fix sign-compare in periph/gpio
    cpu, stm32_common: fix sign-compare in periph/pwm
    cpu, stm32_common: fix sign-compare in periph/timer
    cpu, stm32_common: fix sign-compare in periph/flashpage
    cpu, nrf5x_common: fix sign-compare in radio/nrfmin
    cpu, samd21: fix sign-compare in periph/pwm
    cpu, ezr32wg: fix sign-compare in periph/gpio
    cpu, ezr32wg: fix sign-compare in periph/timer
    drivers, ethos: fix sign-compare
    sys, net: fix sign-compare
    cpu, atmega_common: fix sign-compare error
    cpu, msp430fxyz: fix sign-compare in periph/gpio
    boards, msb-430-common: fix sign-compare in board_init
    driver, cc2420: fix sign-compared
    sys/net: fix sign-compare in gnrc_tftp
    driver, pcd8544: fix sign-compare
    driver, pn532: fix sign-compare
    driver, sdcard_spi: fix sign-compare
    tests: fix sign_compare
    sys/net, lwmac: fix sign_compare
    pkg, lwip: fix sign-compare
    boards, waspmote: make CORECLOCK unsigned long to fix sign_compare error
    tests, sock_ip: fix sign compare
    tests, msg_avail: fix sign compare
    tests, sock_udp: fix sign compare
    boards: fix sign-compare for calliope and microbit matrix
2017-11-28 11:55:48 +01:00
Sebastian Meiling
4a828c63aa
Merge pull request #7955 from aabadie/pr/mpu9150_update
drivers/mpu9150: adapt to new parameters initialization scheme + provide saul adaption
2017-11-28 11:41:54 +01:00
Sebastian Meiling
d86cad7e03
Merge pull request #8154 from miri64/tests/cleanup/rm-gnrc_netif2
tests: remove gnrc_netif2 test application
2017-11-28 11:28:18 +01:00
13e0239722 drivers/cc110x: cleanup + remove gnrc_netdev leftover 2017-11-28 11:25:33 +01:00
Martine Lenders
5ffe9ddaf5
Merge pull request #8152 from aabadie/pr/tests/python_E703
tests: fix python style 'E703 statement ends with a semicolon'
2017-11-28 07:44:29 +01:00
Martine Lenders
e65211db7d
Merge pull request #7195 from miri64/gnrc_pktbuf_malloc/feat/initial
gnrc_pktbuf_malloc: initial import of a malloc()-based pktbuf
2017-11-28 00:00:36 +01:00
Martine Lenders
a63bb6d47b
Merge pull request #6895 from bergzand/drivers/radio-rssi-conv
drivers/radios Apply register to rssi dBm conversion to all radios
2017-11-27 23:52:15 +01:00
Martine Lenders
a637314ce0
Merge pull request #8161 from bergzand/pr/exmpl-6lbr-readme
examples/gnrc_border_router: update readme to netif changes
2017-11-27 23:47:55 +01:00
7ee7a42fb1
examples/gnrc_border_router: update readme to netif changes 2017-11-27 23:26:48 +01:00
2d491e0619 kw2xrf: dBm conversion to int16_t 2017-11-27 21:49:15 +01:00
7dce20afb6 cc110x: Add RSSI dBm conversion 2017-11-27 21:49:15 +01:00
047b8172ae cc2420: Add RSSI dBm conversion 2017-11-27 21:49:15 +01:00
11e147736d at86rf2xx: Add RSSI dBm conversion 2017-11-27 21:49:15 +01:00
4bd5fd611c mrf24j40: Add RSSI dBm conversion 2017-11-27 21:49:15 +01:00
fa64e93313 netdev: Represent RSSI as int16_t 2017-11-27 21:49:15 +01:00
Martine Lenders
e8531383d2
Revert "Revert "shell/ccnl: remove use of ccnl_wait_for chunk()"" 2017-11-27 21:40:54 +01:00
Martine Lenders
3a3381d423 tests: remove gnrc_netif2 test application
This application existed due to a merge conflict of #7925 due to a
breaking of the GNRC merge embargo and is an exact duplicate of
`tests/gnrc_netif` in all but in name. Since #7925 is now merged, this
application can be removed
2017-11-27 21:34:40 +01:00
Martine Lenders
31924e99d0
Merge pull request #8022 from haukepetersen/fix_tests_lwmacmodules
tests/lwmac: cleaned up used modules and Makefile
2017-11-27 21:32:58 +01:00
Martine Lenders
6db9e15485
Merge pull request #7346 from smlng/net/gnrc_tcp/use_push
gnrc tcp: use push flag in send
2017-11-27 21:24:45 +01:00
8a6d04ce52
Merge pull request #7925 from RIOT-OS/gnrc_netif2_integration/master
gnrc_netif2: gnrc_ipv6_nib: full integration into GNRC
2017-11-27 21:12:14 +01:00
Sebastian Meiling
d7b7c2bc9b
Merge pull request #8147 from miri64/gnrc_ipv6_nib/enh/iface-for-nib_nc_del
gnrc_ipv6_nib: add interface parameter to nc_del function
2017-11-27 20:57:57 +01:00
Martine Lenders
fa7624019c tests: adapt unittests for nc_del signiture change 2017-11-27 20:32:27 +01:00
Martine Lenders
a32a2a93e1 gnrc_ipv6_nib: add interface parameter to nc_del function 2017-11-27 20:32:27 +01:00
Martine Lenders
1bb9c968ed shell_commands: add interface to nib neigh del command
Neighbors are identified by an (IPv6 address, interface)-tuple so it
makes sense to also remove them by this.
2017-11-27 20:32:27 +01:00
Martine Lenders
086b74460b
Merge pull request #8145 from bergzand/pr/shell-nib-consistency
shell/nib: fix minor inconsistency
2017-11-27 18:38:11 +01:00
6ec2180c27 shell/nib: change prefix add lifetimes to seconds 2017-11-27 18:15:34 +01:00
866613309f shell/nib: display optional arguments as optional 2017-11-27 18:15:34 +01:00
74b681560d tests: fix python style 'E703 statement ends with a semicolon' 2017-11-27 17:33:48 +01:00
954e33bb90 tests: fix python style 'F401 module imported but unused' 2017-11-27 17:27:07 +01:00