Kees Bakker
37d8709f3f
drivers/lsm303dlhc: correct cast of phydat_t*
...
The read functions have a lsm303dlhc_3d_data_t* argument which is a
struct with 3 int16_t members. Thus we should cast res->val instead of
just res.
2019-01-06 17:08:04 +01:00
Kees Bakker
d8edf6dd4e
drivers/lsm6dsl: eliminate and correct casts
...
Converting phydat_t* to lsm6dsl_3d_data_t* is not correct, but it happened
to just work because the first struct member of phydat_t will be used.
Furthermore, casting &res[0] to int16_t* is wrong. Again, it just happened
to work.
2019-01-06 16:56:17 +01:00
Kees Bakker
fa431c4e97
drivers/ccs811: remove unnecessary casts
2019-01-06 14:41:47 +01:00
Ken Bannister
7e31ffc424
examples/nanocoap: use descriptive macro name
2019-01-04 19:44:11 -05:00
Ken Bannister
62f4946772
net/coap: improve message code macros
2019-01-04 19:43:18 -05:00
Martine Lenders
481f742c71
gnrc_netif: interface configuration for 6LoENC
2019-01-04 13:32:24 +01:00
Martine Lenders
45b95e86cd
gnrc_nettype: provide ethertype to nettype for 6LoEnc
2019-01-04 13:31:03 +01:00
Martine Lenders
941bcc142d
make: make gnrc_sixloenc dependent on gnrc_sixlowpan
2019-01-04 13:31:01 +01:00
Martine Lenders
fcc57ddd04
gnrc_sixloenc: introduce pseudo-module
2019-01-04 13:29:47 +01:00
Martine Lenders
dda7131374
ethertype: define 6LoWPAN encapsulation ethertype
2019-01-04 13:29:47 +01:00
Gunar Schorcht
f7e524d18e
Merge pull request #10604 from gschorcht/esp32_esp_eth_fix
...
cpu/esp32: Fixes the maximum packet size of 255 bytes in the esp_eth netdev driver of ESP32 mcu.
2019-01-04 12:48:11 +01:00
Gunar Schorcht
dc2b1deff5
cpu/esp32: restructures _recv function in esp_eth
2019-01-04 12:12:28 +01:00
Gunar Schorcht
8318779bc2
cpu/esp32: replaces LOG_ERROR by DEBUG in esp_eth
2019-01-04 12:12:28 +01:00
Gunar Schorcht
1e3abebd86
cpu/esp32: fixes esp_net maximum packet size
...
Fixes the maximum packet size of 255 bytes in the esp_eth netdev driver of ESP32 mcu.
fixup! cpu/esp32: fixes esp_net maximum packet size
2019-01-04 12:12:13 +01:00
Kevin "Bear Puncher" Weiss
9554f751d8
Merge pull request #6630 from OTAkeys/pr/cortex-m4f-fpu
...
cortexm_common: add FPU support for cortex-m4f and cortex-m7
2019-01-04 11:56:18 +01:00
b6b1a6bd63
Merge pull request #10683 from basilfx/feature/efm32_gecko_sdk_update
...
pkg: gecko_sdk: bump version + vendor headers
2019-01-04 10:40:44 +01:00
Kees Bakker
d909cf3a84
tests/driver_at86rf2xx: eliminate cast
2019-01-03 22:56:15 +01:00
Kees Bakker
9e8b1edbf9
drivers/ads101x: eliminate casts
...
A helper variable is added, and now all type casts are not needed anymore.
2019-01-03 22:35:44 +01:00
b77c802f9b
Merge pull request #10666 from miri64/netopt/new/6lo
...
netopt: provide option to (de-)activate 6Lo
2019-01-03 18:50:31 +01:00
5072acc8b8
Merge pull request #10698 from MrKevinWeiss/pr/fixsetbaudrate
...
tests/periph_uart: fix baudrate truncation
2019-01-03 18:43:36 +01:00
Gunar Schorcht
56b3643ad6
cpu/esp: buffer in esp_now_netdev removed
...
Since it is not possible to reenter the function `esp_now_recv_cb`, and the functions netif::_ recv and esp_now_netdev::_ recv are called directly in the same thread context we can read directly from the `buf` and don't need a receive buffer anymmore.
2019-01-03 17:22:19 +01:00
Martine Lenders
f475f1cc18
Merge pull request #10678 from kb2ma/nanocoap/doc_config_group
...
net/nanocoap: allow user to configure macros
2019-01-03 17:06:39 +01:00
Martine Lenders
365cac1749
Merge pull request #10677 from kb2ma/coap/doc_config_group
...
net/coap: allow user to configure message retry macros
2019-01-03 17:04:19 +01:00
MrKevinWeiss
501b257223
tests/periph_uart: fix baudrate truncation
...
Since some boards an int is 16 bits the atoi truncates values.
This commit using a long instead of an int.
2019-01-03 16:38:33 +01:00
Martine Lenders
e88abc49b8
shell_commands/sc_gnrc_netif: get 6Lo flag
2019-01-03 16:21:52 +01:00
Martine Lenders
45b9dd6f50
gnrc_netif: implement get NETOPT_6LO
2019-01-03 16:21:52 +01:00
Martine Lenders
59366022ca
netopt: provide option to (de-)activate 6Lo
2019-01-03 16:21:52 +01:00
Vincent Dupont
e06993e913
pkg/cmsis-dsp: include cpu_conf.h for __FPU_PRESENT define
2019-01-03 16:06:30 +01:00
Vincent Dupont
402b60e30c
tests: add thread_float test app
2019-01-03 16:06:30 +01:00
Gunar Schorcht
3888c62f61
cpu/esp: ringbuffer removed from esp_now_netdev
...
Since it is not possible to reenter the function `esp_now_recv_cb`, and the functions netif::_ recv and esp_now_netdev::_ recv are called directly in the same thread context we only need a buffer which contains one frame and its source mac address.
2019-01-03 16:01:02 +01:00
Martine Lenders
019c1aba16
Merge pull request #10676 from kb2ma/gcoap/doc_config_group
...
net/gcoap: add config macros to config doc group
2019-01-03 15:59:27 +01:00
Martine Lenders
5f8bf7bec2
Merge pull request #10697 from MrKevinWeiss/pr/blacklist/iotlab/drivertest
...
tests/driver_ds1307: Blacklist iotlab boards
2019-01-03 15:57:35 +01:00
Vincent Dupont
06f0c14460
cortexm_common: enable FPU on cortex-m4f
2019-01-03 15:24:20 +01:00
Gunar Schorcht
d8ee8020c6
cpu/esp: remove rx_lock mutex in esp_now_netdev
...
Since it is not possible to reenter the function `esp_now_recv_cb`, and the functions netif::_ recv and esp_now_netdev::_ recv are called directly in the same thread context, neither a mutual exclusion has to be realized nor have the interrupts to be deactivated.
2019-01-03 14:52:57 +01:00
Gunar Schorcht
00730b41e0
cpu/esp: direct call _recv in esp_now_recv_cb
...
Since the esp_now_recv_cb function is not called directly as an ISR through interrupts, it is not executed in the interrupt context. _recv can therefore be called directly. The treatment of the recv_event is no longer necessary.
2019-01-03 14:39:27 +01:00
MrKevinWeiss
d2e67261ae
tests/driver_ds1307: Blacklist iotlab boards
...
This states iotlab boards shouldn't run these tests.
This is because the i2c address of L3G4200 is the same ad the ds1307.
This causes an error that thinks the test is valid when it is not.
2019-01-03 14:38:56 +01:00
Gunar Schorcht
a2f5c9d02f
cpu/esp: avoid reentrance of esp_now_recv_cb
...
Although it should not be possible to reenter the function esp_now_recv_cb, this is avoided by an additional boolean variable. It can not be realized by mutex because it would reenter from same thread context. If macro NDEBUG is not defined, an assertion is used.
2019-01-03 14:01:51 +01:00
Gunar Schorcht
9b5a77f1c4
cpu/esp: fix of lost esp_now_netdev ISR events
2019-01-03 13:36:21 +01:00
Gunar Schorcht
a36366f9a9
cpu/esp: api change in esp_now_netdev::_recv
...
Newest version of API requires to drop the frame when if parameter len is smaller than the received packet.
2019-01-03 13:35:09 +01:00
Gunar Schorcht
49c64c01a8
cpu/esp: simplified esp_now_netdev::_recv function
...
Simplifies the _recv receive function structure of esp_now_netdev according to the possible parameter values.
2019-01-03 13:33:25 +01:00
bc5e3e7721
Merge pull request #10213 from kYc0o/pr/stm32l152_add_second_bank
...
boards/common: change openocd config file for stm32l1x
2019-01-03 13:31:04 +01:00
Kevin "Bear Puncher" Weiss
d9f26dbbe2
Merge pull request #10636 from aabadie/pr/cpu/nrf5x_gpio_common
...
cpu/nrf5x: move periph_gpio/periph_gpio_irq at an even more common level
2019-01-03 11:37:48 +01:00
Kevin "Bear Puncher" Weiss
e4ed9d703d
Merge pull request #10118 from aabadie/pr/tests/sx127x_default_board
...
tests/sx127x: set b-l072z-lrwan1 as default board
2019-01-03 11:35:49 +01:00
Gomez Julien
905855b7c2
board/z1: Fix BTN0_PIN
...
Set BTN0_PIN to GPIO_PIN(2, 5) in board.h
#10611
2019-01-03 11:35:08 +01:00
0d4b55e0c8
Merge pull request #10654 from keestux/driver-rn2xx3-rx1delay
...
loramac: change rxdelay1 to millisec, was seconds
2019-01-03 11:24:17 +01:00
0ca4703dde
Merge pull request #10687 from kb2ma/nanocoap/remove_macro
...
net/nanocoap: remove obsolete macro
2019-01-03 11:00:52 +01:00
José Alamos
f14d46d935
Merge pull request #10242 from miri64/gnrc_ipv6_ext_rh/enh/icmpv6_error_msg
...
gnrc_ipv6_ext_rh: add ICMPv6 error message sending
2019-01-03 10:35:54 +01:00
Kevin "Bear Puncher" Weiss
2bf29dd99e
Merge pull request #10692 from aabadie/pr/boards/nucleo-f767_i2c
...
boards/nucleo-f767zi: use common STM32 i2c configuration
2019-01-03 10:17:44 +01:00
552909cf90
Merge pull request #10694 from MrKevinWeiss/pr/bh1750fix
...
drivers/bh1750: Fix mislabeled i2c address
2019-01-03 09:50:56 +01:00
Kevin "Bear Puncher" Weiss
fd15cb8f77
Merge pull request #10646 from aabadie/pr/boards/nucleo-f072-i2c
...
boards/nucleo-f072rb: configure I2C using common stm32 configuration
2019-01-03 09:48:57 +01:00