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

20788 Commits

Author SHA1 Message Date
Gunar Schorcht
3876dd4bb9 gnrc_netif_ethernet: use pid member in netif header
Use the `gnrc_netif_t::pid` member instead of the pid of the current thread when generating the the `gnrc_netif_hdr` in `gnrc_netif_ethernet::_recv` function.
2019-01-10 00:09:24 +01:00
d55d72bc9f
Merge pull request #10720 from smlng/pr/doxygen/core_grouping
doxygen: refine grouping of kernel docs
2019-01-09 15:21:53 +01:00
Kevin "Bear Puncher" Weiss
0b23e8898e
Merge pull request #10641 from gschorcht/esp32_spi_revision
cpu/esp32: cleanup in periph/spi
2019-01-09 14:02:06 +01:00
Gunar Schorcht
cb6b7539f4 boards/esp32*: cleanup of SPI interfaces
SPI0_DEV and SPI1_DEV configuration parameters are renamed SPI0_CTRL and SPI1_CTRL to better describe what they define and to avoid confusion with SPI_DEV (0) and SPI_DEV (1).
2019-01-09 13:04:28 +01:00
Gunar Schorcht
6b045f14b7 cpu/esp32: cleanup of SPI interfaces in doc
Although ESP32 has four SPI controllers, only two of them can be effectively used (HSP and VSPI). The third one (FSPI) is used for external memory such as flash and PSRAM and can not be used for peripherals. FSPI is therefore removed from the API. In addition, the SPI0_DEV and SPI1_DEV configuration parameters are renamed SPI0_CTRL and SPI1_CTRL to better describe what they define and to avoid confusion with SPI_DEV (0) and SPI_DEV (1).
2019-01-09 13:03:56 +01:00
Gunar Schorcht
437f8b87b9 cpu/esp32: cleanup of SPI interfaces
Although ESP32 has four SPI controllers, only two of them can be effectively used (HSP and VSPI). The third one (FSPI) is used for external memory such as flash and PSRAM and can not be used for peripherals. FSPI is therefore removed from the API. In addition, the SPI0_DEV and SPI1_DEV configuration parameters are renamed SPI0_CTRL and SPI1_CTRL to better describe what they define and to avoid confusion with SPI_DEV (0) and SPI_DEV (1).
2019-01-09 13:03:22 +01:00
Peter Kietzmann
3cf8b4de38
Merge pull request #9887 from smlng/pr/driver/enc28j60
driver/enc28j60: cleanup
2019-01-09 10:31:43 +01:00
Sebastian Meiling
db3309eec8
Merge pull request #10726 from nmeum/nanocoap-sock-retval
nanocoap: fix sock_udp return value checks
2019-01-09 09:22:40 +01:00
Sebastian Meiling
5f827b1af3
Merge pull request #10704 from keestux/eliminate-casts-bmx055
drivers/bmx055: eliminate some casts
2019-01-09 08:56:08 +01:00
Sebastian Meiling
52bc2b86fa doxygen: use initial capitals for group names 2019-01-09 08:42:59 +01:00
Sebastian Meiling
dceff6c22f doxygen: use ingroup instead of addtogroup in core 2019-01-09 08:42:59 +01:00
Sebastian Meiling
81e293422c doxygen: refine core_sync grouping
- Move `@defgroup core_sync` group definition to doc.txt
- Adapt usage of `@ingroup core_sync` accordingly
2019-01-09 08:42:59 +01:00
Sebastian Meiling
f6f42b6132
Merge pull request #10593 from Rotzbua/patch-2
gcoap/example: add comment on resource order
2019-01-09 08:39:42 +01:00
Rotzbua
cb5232a107 gcoap/example: add comment on resource order
according to nanocoap/example: fix resource order #9919
2019-01-08 23:14:58 +01:00
Kees Bakker
52102a7aa0 drivers/bmx055: eliminate some casts
First, every read function converts the void pointer into a const bmx055_t

Second, it is cleaner (more obvious) to pass phydat_t.val[3] instead of
type casting to int16_t* and relying that .val[3] is the first struct
member of phydat_t.
2019-01-08 22:03:20 +01:00
Sören Tempel
d70a94f139 nanocoap: fix sock_udp return value checks 2019-01-08 19:01:39 +01:00
Kevin "Bear Puncher" Weiss
a1218f007b
Merge pull request #10643 from gschorcht/esp32_uart_board_fix
boards/esp32: UART configuration fix
2019-01-08 17:55:38 +01:00
Marian Buschsieweke
19073742b2
Merge pull request #10725 from jia200x/pr/cc2420_inline_flush
drivers/cc2420: move flush sequence to inline function
2019-01-08 14:49:58 +01:00
Sebastian Meiling
838284f979
Merge pull request #10729 from keestux/replace-memset
drivers: replace memset by simple assignments
2019-01-08 14:26:23 +01:00
Jose Alamos
87e9172643 drivers/cc2420: add datasheet documentation to duplicated strobe call 2019-01-08 13:46:32 +01:00
Jose Alamos
b965b47d9b drivers/cc2420: move flush sequence to inline function 2019-01-08 13:46:32 +01:00
c1524bab30
Merge pull request #9171 from OTAkeys/pr/stm32_dma_all
cpu/stm32_common: add DMA support for all stm32
2019-01-08 10:11:04 +01:00
Sebastian Meiling
d06aa5f23f
Merge pull request #10597 from miri64/tests/cleanup/rm-NETOPT_IPV6_IID
tests: remove NETOPT_IPV6_IID get() from driver_at86rf2xx test
2019-01-08 09:59:43 +01:00
Sebastian Meiling
b005fa7da0
Merge pull request #10705 from keestux/eliminate-cast-bh1750fvi
drivers/bh1750fvi: change prototype of bh1750fvi_init
2019-01-08 09:54:00 +01:00
Gunar Schorcht
fb9e25faf7
Merge pull request #10724 from miri64/gnrc_ipv6_nib/fix/mixed-mode-ABRO
gnrc_ipv6_nib: fix RA reception for non-6LN interfaces
2019-01-08 09:47:09 +01:00
Cenk Gündoğan
f6f6501109
Merge pull request #10681 from miri64/gnrc_sixlowpan_frag/cleanup/unroll-recursion
gnrc_sixlowpan_frag: unroll recursion
2019-01-08 09:46:15 +01:00
86c102e85b cpu/stm32_common: move dma attribute at end of config 2019-01-08 09:32:18 +01:00
3a5c9cb921 boards/nucleo-f207zg: configure and use DMA 2019-01-08 09:32:18 +01:00
8a9d9e70bc cpu/stm32f2: update CMSIS of stm32f207xx 2019-01-08 09:32:18 +01:00
abc97c2a1e boards/nucleo-l152re: configure and use DMA 2019-01-08 09:32:18 +01:00
294711d9ba boards/nucleo-f767zi: configure and use DMA 2019-01-08 09:32:18 +01:00
0b6bccb543 boards/iotlab-m3: configure and use DMA
Used with UART and SPI peripheral
2019-01-08 09:32:18 +01:00
9ecf12119f boards/b-l475e-iot01a: configure and use DMA 2019-01-08 09:32:18 +01:00
Vincent Dupont
8c99edc18e cpu/stm32_common: fix UART ISR_TXE usage 2019-01-08 09:32:18 +01:00
Vincent Dupont
08a85fbfdd boards/b-l072z-lrwan1: configure and use DMA 2019-01-08 09:32:18 +01:00
Vincent Dupont
962d81b652 boards/nucleo-f091rc: configure and use DMA 2019-01-08 09:32:18 +01:00
Vincent Dupont
021697ae94 cpu/stm32_common: adapt DMA driver for f0/1/3/l0/1/4 2019-01-08 09:32:18 +01:00
Martine Lenders
7452f48c26 gnrc_sixlowpan_frag: unroll recursion
While the recursion in `gnrc_sixlowpan_frag` shouldn't be infinite we
still should avoid using recursions in general (also to be able to
statically analyze stack usage). This unrolls the recursion.
2019-01-08 09:03:22 +01:00
a9a30c0c0f
Merge pull request #10730 from aabadie/pr/core/irq_doc_typo
core/irq: fix 2 missing words in documentation
2019-01-08 08:29:19 +01:00
Kees Bakker
0cb92e1e51 drivers: replace memset by simple assignments
A memset was used to clear two of the SAUL values in phydat_t::val
The change is to replace that by the following
    res->val[1] = 0;
    res->val[2] = 0;
which makes the code more obvious.
2019-01-07 21:59:25 +01:00
Kees Bakker
1d5a67dcce drivers/bh1750fvi: change prototype of bh1750fvi_init
The params argument is now a const pointer. This eliminates the need for
a type cast that converts a const to a non-const.
2019-01-07 21:37:02 +01:00
f2194a8e26 core/irq: fix 2 missing words in documentation 2019-01-07 20:50:59 +01:00
201cff0ada
Merge pull request #10722 from nmeum/gnrc-tcp-comment-typo
gnrc_tcp_pkt: fix typo in comment
2019-01-07 20:23:20 +01:00
Bas Stottelaar
afc81d3e23
Merge pull request #9878 from basilfx/feature/efm32_wtimer
cpu: efm32: add support for 32-bit timers
2019-01-07 19:40:50 +01:00
Bas Stottelaar
00e13e5713 boards: slstk3402a: use wtimer by default 2019-01-07 18:51:08 +01:00
Bas Stottelaar
28d0e46882 cpu: efm32: add support for 32-bit timers 2019-01-07 18:49:21 +01:00
4365d666f7
Merge pull request #10670 from OTAkeys/pr/cc110x_irq
drivers/cc110x: remove irq_disable/irq_restore around spi transfers
2019-01-07 18:49:10 +01:00
Martine Lenders
1f71b30bc2 gnrc_ipv6_nib: fix RA reception for non-6LN interfaces
When having a non-6LN interface and a 6LN interface (e.g. on a border
router) the assertion can hit when a Router Advertisement is received.
This makes the check an `if` statement rather than an assertion, to
account for that case.

Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
2019-01-07 17:36:03 +01:00
Martine Lenders
b2a261f0c3 tests: remove NETOPT_IPV6_IID get() from driver_at86rf2xx test 2019-01-07 17:09:23 +01:00
Martine Lenders
22d59cbb08
Merge pull request #10648 from enzingerm/master
Improved docs on module name uniqueness
2019-01-07 16:59:34 +01:00