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

19019 Commits

Author SHA1 Message Date
0ee7bd2f90 boards/*: cleanup arduino-due and udoo doc
- display brief description instead of copyright
- add a reference to the 'real' documentation, otherwise it's empty
2018-08-10 13:54:17 +02:00
Peter Kietzmann
25a487e3a9
Merge pull request #9698 from smlng/pr/cc2538/spi
cpu/cc2538: refine periph/spi implementation
2018-08-10 12:30:18 +02:00
smlng
d9c9c9479e cpu/cc2538: add debug output in periph/spi 2018-08-10 10:38:51 +02:00
smlng
e246c19fe1 cpu/cc2538: adapt periph/spi to gpio API
Rework SPI periph driver to use proper RIOT GPIO API functions.
    Also cleanup header files by using vendor defines and remove
    obsolete code. Further, adapt board config accordingly.
2018-08-10 10:38:51 +02:00
smlng
d8e2611ed9 cpu/cc2538: refine gpio_init_mux
Introduces a define to inidicate an unused function parameter.
2018-08-10 10:38:51 +02:00
Gaëtan Harter
feb3912c3d
Merge pull request #9741 from cladmi/pr/make/buildtest/override_redirection
makefiles/buildtests.inc.mk: allow overwriting make output redirection
2018-08-10 10:31:12 +02:00
Sebastian Meiling
513e3eca2f
Merge pull request #9522 from miri64/gnrc_ipv6_nib/enh/slaac-fallback
gnrc_ipv6_nib: fallback to SLAAC if ARO is ignored by upstream
2018-08-10 08:21:31 +02:00
Gaëtan Harter
60008cbb2e
Merge pull request #9751 from smlng/pr/make/info-build
make: add APPDIR to info-build target
2018-08-09 15:37:02 +02:00
smlng
ec2a0f9f81 make: add APPDIR to info-build target
While info-build already provides lots of useful information
    it does not print the application source dir. However this
    might be useful for debugging and logging, hence its added
    to the output.
2018-08-09 14:40:35 +02:00
Martine Lenders
8966f01d66
Merge pull request #9744 from cladmi/pr/tests/run_all_with_echo_true
tests: remove echo=False
2018-08-09 12:10:03 +02:00
MichelRottleuthner
2164c97441
Merge pull request #9746 from cladmi/pr/driver/sdcard_spi
drivers/sdcard_spi: fix uint64_t cast location
2018-08-09 11:07:09 +02:00
Martine Lenders
4f87883ab8 gnrc_ipv6_nib: fallback to SLAAC if ARO is ignored by upstream
Linux doesn't have ARO support at the moment so this is a workaround to
try to speak 6Lo-ND while still being able to do DAD with a border
router that doesn't.
2018-08-09 10:56:36 +02:00
Gaëtan Harter
939ca4e1bf
drivers/sdcard_spi: fix uint64_t cast location
When compiling `tests/drivers_sdcard_spi` with `avr-gcc: avr-gcc (GCC) 6.4.0`
it detected this error

    RIOT/drivers/sdcard_spi/sdcard_spi.c:1012:72:
    error: result of '512 << 10' requires 21 bits to represent, but 'int' only has 16 bits [-Werror=shift-overflow=]
    return (card->csd.v2.C_SIZE + 1) * (uint64_t)(SD_HC_BLOCK_SIZE << 10);
2018-08-09 09:12:23 +02:00
Gaëtan Harter
a081b485c1
tests/evtimer_underflow: run tests with echo=True by default 2018-08-09 07:13:25 +02:00
Gaëtan Harter
11d2cdb2ac
tests/cbor: run tests with echo=True by default 2018-08-09 07:13:12 +02:00
Gaëtan Harter
842bc88d4e
tests/evtimer_msg: run tests with echo=True by default 2018-08-09 07:12:50 +02:00
Gaëtan Harter
e0c4442395
tests/isr_yield_higher: run tests with echo=True by default 2018-08-09 07:12:31 +02:00
Gaëtan Harter
e354bf4174
tests/od: run tests with echo=True by default 2018-08-09 07:12:13 +02:00
Gaëtan Harter
bfbc9c1c45
makefiles/buildtests.inc.mk: allow overwriting make output redirection
When running tests, I often needed to modify `buildtests.inc.mk` to see the
actual errors/standard output.
This allows overwriting the default redirection of both to `/dev/null`.
It is low level and directly given to the command execution.

As it is interpreted by make, it can even be overwritten using build system
variables:

    'BUILDTEST_MAKE_REDIRECT=>/tmp/buildtest.$${board}.out 2>&1'
2018-08-08 14:34:56 +02:00
Vincent Dupont
0e48bd0d93
Merge pull request #9716 from aabadie/b-l475e-iot01-sensors
boards/b-l475e-iot01a: configure second I2C and on-board sensors (lis3mdl, lsm6dsl and hts221)
2018-08-08 12:13:00 +02:00
Martine Lenders
9bb33b9294
Merge pull request #9697 from miri64/kinetis/enh/gpio-unused-function
kinetis: uart: fix unused-function warning
2018-08-08 10:33:22 +02:00
Martine Lenders
376c10feff kinetis: uart: fix unused-function warning
When compiling with LLVM (should also be seen `-Wunused-function` in
GCC), I get an error for `frdm-k22f`. This should fix that.
2018-08-08 10:02:53 +02:00
Ken Bannister
3f3df74bcd
Merge pull request #7237 from Ell-i/feature-gcoap-extra-indirection
net/gcoap: Make references to coap_resource_t all const in gcoap
2018-08-07 23:52:59 -04:00
Martine Lenders
b6754fbd2a
Merge pull request #9669 from cladmi/pr/tests/gnrc_netif
tests/gnrc_netif: enable CI tests
2018-08-07 19:40:32 +02:00
Gaëtan Harter
8ab79e94c1
tests/gnrc_netif: enable CI tests 2018-08-07 18:05:07 +02:00
Gaëtan Harter
a7241384be
Merge pull request #9719 from miri64/gnrc_ipv6_nib/enh/emit-conf
gnrc_ipv6_nib: make automatic NDP packet emission (NS/RS) configurable
2018-08-07 17:55:00 +02:00
MichelRottleuthner
6bc069e3bd
Merge pull request #9386 from Hyungsin/forupstream_hdc1000
drivers/hdc1000: change renew_interval to a parameter
2018-08-07 17:32:03 +02:00
Martine Lenders
bc320cd011 tests/gnrc_netif: disable NDP emissions
This test doesn't test NDP behavior so emissions of NDP neighbor and
router solicitations is more harming than helpful. Because of that I
disabled it for this test.
2018-08-07 16:50:39 +02:00
91069e3ca9
Merge pull request #9727 from OTAkeys/pr/i2c_nucleo-f091
boards/nucleo-f091rc: add i2c configuration
2018-08-07 15:08:25 +02:00
Vincent Dupont
824e10b52e cpu/stm32f0: update stm32f091 vendor header 2018-08-07 14:47:40 +02:00
Vincent Dupont
ed27927f76 boards/nucleo-f091: add i2c configuration 2018-08-07 14:46:57 +02:00
Kevin Weiss
1bbd7fcd62
Merge pull request #9724 from smlng/pr/cc2538/spi_clk
cpu/cc2538: generalise SPI clock configuration
2018-08-07 14:33:05 +02:00
Kevin Weiss
8468fe1c94
Merge pull request #8516 from jia200x/wiki_dox_convertion
doc: move wiki to Doxygen documentation (second attempt)
2018-08-07 13:27:04 +02:00
ebf7c10944
Merge pull request #9723 from aabadie/pr/boards/nucleo-f070-i2c
boards/nucleo-f070: add missing periph_i2c feature
2018-08-07 12:45:48 +02:00
smlng
459f7ebce0 cpu/cc2538: generalise SPI clock configuration
The SPI bus frequency/clock is calculated relative to the MCUs
    core clock. Currently all boards use the default 32MHz, hence
    prescaler settings for SPI are all the same. This PR moves the
    default config for 32MHz to the CPU and allows to be overriden
    by board config if needed.
2018-08-07 12:15:45 +02:00
Martine Lenders
530b0239ee
Merge pull request #9706 from miri64/examples/fix/netif-ref
examples: dtls-echo: remove unneeded addressing operator
2018-08-07 12:10:14 +02:00
ab26a1bf79 boards/nucleo-f070rb: add missing periph_i2c feature 2018-08-07 11:26:57 +02:00
e31ef56eae
Merge pull request #9354 from keestux/add-sodaq-one
Add support for the SODAQ ONE board
2018-08-07 11:19:37 +02:00
Kevin Weiss
9269b9d39d
Merge pull request #9714 from yegorich/pr/tests/uart_periph/autotester-wip
tests/periph_uart: add automated testing script
2018-08-07 11:14:18 +02:00
Kees Bakker
cc1fae5b2e examples/lua: add sodaq-one to insufficient memory list 2018-08-07 11:06:14 +02:00
Kees Bakker
65730b597f tests/unittests: add sodaq-one to cortex-M boards
Also add sodaq-one to the boards with insufficient memory
2018-08-07 11:06:14 +02:00
Kees Bakker
a10bec6874 boards/sodaq-one: add support for SODAQ ONE
The following features were tested (briefly):
* UART (the first)
* xtimer is working (it's the same code as in samr21)
2018-08-07 11:06:14 +02:00
Ken Bannister
6a07301862
Merge pull request #9717 from pokgak/examples/fix/gcoap
examples/gcoap: fix post/put without port number
2018-08-07 04:57:59 -04:00
a69c6e387a
Merge pull request #8880 from MrKevinWeiss/pr/board/openmoteb/porting
boards/openmoteb-cc2538: Initial support
2018-08-07 10:50:32 +02:00
Kevin Weiss
a48b8e741b boards/openmote-b: Add board support 2018-08-07 10:32:03 +02:00
Yegor Yefremov
14486f0e9e tests/periph_uart: add automated testing script
Add automated script to test devices against known testers.

Tests performed:

* echo test
* extended echo test i.e. received byte value will be incremented
* tester's register access

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2018-08-07 10:27:30 +02:00
Hyungsin
88895bbed9 drivers/hdc1000: change renew_interval to a parameter 2018-08-06 12:33:53 -07:00
Martine Lenders
ad173831db
Merge pull request #9721 from smlng/pr/gnrc_udp/assert
gnrc_udp: assert ports not zero
2018-08-06 16:59:55 +02:00
Martine Lenders
65db0503be
Merge pull request #9683 from smlng/pr/gnrc_netif
gnrc netif: cleanup and code deduplication
2018-08-06 16:50:52 +02:00
smlng
d4e8c57621 gnrc_netif: generalise address search functions
Reduce code duplication by combining internal helper functions
    that either loop over interface addresses or multicast groups.
2018-08-06 16:28:48 +02:00