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

20804 Commits

Author SHA1 Message Date
Martine Lenders
6a8808c511
Merge pull request #10638 from maribu/gnrc_netif_cc1xxx
net/gnrc/netif: Added CC1xxx adaption layer
2019-01-10 11:45:53 +01:00
Marian Buschsieweke
ae7024b9a3
net/gnrc/netif: Added CC1xxx adaption layer
This adaption layer is intended to be used by a rewrite of the CC110x driver and
a new CC1200 driver that is currently being developed for RIOT.
2019-01-10 10:54:36 +01:00
Martine Lenders
f2754a4dfc
Merge pull request #10742 from gschorcht/gnrc_netif_enh
gnrc_netif_*: use the `gnrc_netif_t::pid` member instead of the pid of the current thread in netif header
2019-01-10 10:30:07 +01:00
Sebastian Meiling
6767caea5f
Merge pull request #10709 from keestux/eliminate-cast-ds18
drivers/ds18: refactor functions with const dev pointer
2019-01-10 09:17:53 +01:00
Sebastian Meiling
7b405058b4
Merge pull request #10640 from kb2ma/tests/nanocoap_infrastructure
tests: add nanocoap CLI app for client and server testing
2019-01-10 09:16:42 +01:00
Sebastian Meiling
775898e5e3
Merge pull request #10727 from keestux/eliminate-casts-core
core: remove redundant casts
2019-01-10 08:38:32 +01:00
Peter Kietzmann
c7d812bafa
Merge pull request #7943 from Josar/tps6274x
drivers/tps6274x: Initial support for the step-down converter
2019-01-10 08:34:57 +01:00
Gunar Schorcht
dbb5e886e5 gnrc_netif_ieee802154: 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_ieee802154::_recv` function.
2019-01-10 00:09:52 +01:00
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
steffen
2ff2b2c1d7 drivers: Initial support for TPS6274x converter
drivers/tps6274x: initial support step-down converter
tests/driver_tps6274x: Added testcase for the step-down converter
boards/jiminy-mega256rfr2: Added TPS6274x config
2019-01-10 00:00:02 +01:00
Kees Bakker
920d8b8805 core: remove redundant casts 2019-01-09 23:00:50 +01:00
Gunar Schorcht
d99d72c583
Merge pull request #10737 from aabadie/pr/boards/esp32-wroom-32-button
boards/esp32-wroom-32: configure saul button as inverted
2019-01-09 17:24:21 +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
081c4a9c90 boards/esp32-olimex-evb: configure saul button as inverted 2019-01-09 12:52:24 +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
484572f881 boards/esp32-wroom-32: configure saul button as inverted 2019-01-09 10:00:16 +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
Kees Bakker
b8472550a4 drivers/ds18: eliminate cast in auto_init_ds18 2019-01-08 19:25:22 +01:00
Kees Bakker
9ed7d2dc18 drivers/ds18: refactor functions with const dev pointer
All DS18 functions have a dev argument. All except the init function use
it as an IN parameter, so we can prototype it as const ds18_t*.

As a consequence we can drop the cast in read_temperature() in ds18_saul.c
which was the primary trigger for the changes.

The commit also follows the preferred convention that "params" is a field
in the device struct. Only the init function needs to write it.
2019-01-08 19:25:13 +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
Ken Bannister
ee09936cc5 tests: add CLI app for nanocoap testing
Includes both server and client components.
2019-01-08 08:25:04 -05: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