danpetry
b320dd7909
Give time to allow node to set its ll address
...
Set a delay of three seconds at the beginning of the test. Otherwise,
the node will send a neighbour solicitation with a blank link local
address, it won't receive a reply, and the test will fail.
2019-04-10 16:43:27 +02:00
Juan Carrano
54cbdaaa53
tests/gnrc_udp: Replace atoi() by strtol().
...
This patch is a reduced version of an earlier one, with the bare minimum
required to be able to run the test and get the release going.
Original description:
atoi() cannot detect errors. Many implementation return zero on error
and that is what was being checked here, making the "udp send" command
unable to parse integer values of zero. On top of this, the behavior on
errors does not seem to be specified in the standard (so it is not even
correct to check for zero even when zero is not an accepted value, like
for a port number).
The result of all this is that sending UDP packets of zero length (as
required by the Release Specs) was not possible.
This patch replaces atoi by strlen, which allows for robust error detection.
Sending zero length packets is possible.
2019-04-10 15:33:46 +02:00
Yegor Yefremov
4c270eecfa
boards/esp32*: fix ENC28J60 configuration example
...
Add missing '#' to the MODULE_ENC28J80's endif.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-04-10 15:14:47 +02:00
Martine Lenders
102b0ed151
Merge pull request #11364 from obgm/posix_sockets_udp_connect
...
posix_sockets.c: fix send() for connected UDP sockets
2019-04-10 12:56:29 +02:00
Olaf Bergmann
83e2932eb6
posix_sockets.c: fix send()/write() for connected UDP sockets
...
Calling send() or write() on a connected UDP socket raises a
kernel panic in posix_sockets.c, line 215, because _sockaddr_to_ep()
is called from socket_sendto() with address set to NULL.
This change modifies socket_sendto() to
* Check if the UDP socket is connected when the address argument
is NULL.
* If connected, use the stored remote endpoint for sock_udp_send().
2019-04-10 11:19:13 +02:00
Sebastian Meiling
53af7ebaf5
Merge pull request #11363 from smlng/pr/tunslip/doc
...
tools/tunslip: correct typos and refine readme
2019-04-10 09:50:15 +02:00
81eed53776
pkg/semtech-loramac: cleanup in doc file
...
- fix badly rendered github url
- add missing newline at end of file
2019-04-10 08:21:41 +02:00
1f57c0bd2e
pkg/semtech-loramac: update send function snippet
...
If the send fails, just return. This avoid recv to be stuck afterward and shows a good practice
2019-04-10 08:20:40 +02:00
francisco
c62d9feff7
drivers/sx127x: add support for rx and tx switch pin
2019-04-10 08:18:01 +02:00
Kevin "Bear Puncher" Weiss
2c76637abe
Merge pull request #11365 from smlng/pr/cc2560stk/i2c-conf
...
boards: add I2C config for cc2650stk
2019-04-09 19:02:22 +02:00
Sebastian Meiling
29efd8402f
boards: add I2C config for cc2650stk
2019-04-09 18:07:06 +02:00
Sebastian Meiling
70c30947d0
tools/tunslip: correct typos and refine readme
2019-04-09 17:31:08 +02:00
a1a8d3564c
Merge pull request #11361 from kaspar030/fix_hifive1_flash
...
boards/hifive1: fixup custom reset command
2019-04-09 15:51:12 +02:00
38cc72d0e0
Merge pull request #11046 from kaspar030/reset_fe310_timer
...
cpu/fe310: periph/timer: reset counter in timer_init()
2019-04-09 15:50:19 +02:00
21e55bbd28
boards/hifive1: fixup custom reset command
2019-04-09 12:46:15 +02:00
Sebastian Meiling
7484af6d36
Merge pull request #11306 from MrKevinWeiss/pr/addi2ctocc26xx
...
cpu/cc260x: add I2C implementation
2019-04-08 21:00:23 +02:00
Juan I Carrano
9832299e62
Merge pull request #11319 from miri64/pkg/new/ubasic
...
pkg: Initial introduction of ubasic package
2019-04-08 17:38:03 +02:00
Martine Lenders
9f960fd61c
tests: provide tests for ubasic package
2019-04-08 17:09:28 +02:00
Martine Lenders
8543129ba9
pkg: Initial introduction of ubasic package
2019-04-08 17:09:28 +02:00
MrKevinWeiss
3ed9060527
drivers: adcxx1c, ads101x, ad7746: Change I2C macro to DEV
...
Due to a name clash the helper macro I2C should be change.
Helper macros in other drivers are called DEV.
Changing to DEV fixes the naming conflict.
2019-04-08 14:08:07 +02:00
MrKevinWeiss
4c9890b269
cpu/cc26x0/i2c: Rework and add error handling
...
This commit cleans up magic number and defines bitfields.
Adds error codes for ADDR/DATA NACK and ARBLOSS
Adds error handling, it corrects when an error occurs
Protects from flags that could lockup the bus
2019-04-08 11:32:12 +02:00
44ecf0e7f2
boards/cc2650-launchpad: configure i2c feature
2019-04-08 11:32:11 +02:00
07eb8554f8
cpu: cc26x0: add periph/i2c implementation
2019-04-08 08:52:43 +02:00
7b6d8d65ff
cpu/cc26x0: add missing PERIPH_BASE define
2019-04-08 08:52:43 +02:00
Sebastian Meiling
4dd09eaa06
Merge pull request #6178 from OTAkeys/pr/can_stm32
...
can stm32: add a driver for STM32 bxCAN peripheral
2019-04-08 08:50:08 +02:00
Martine Lenders
2ef1451ecf
Merge pull request #11347 from bergzand/pr/pkg_c25519/fix_test_timeout
...
tests/pkg_c25519: increase timeout on non-native
2019-04-05 17:20:09 +02:00
25b0d4d67b
tests/pkg_c25519: increase timeout on non-native
2019-04-05 16:33:53 +02:00
Dylan Laduranty
a81dbf0037
Merge pull request #11152 from ibr-cm/petersen/l3g4200d-fix-pr
...
l3g4200d: Fixes conversion bug
2019-04-05 15:49:13 +02:00
14148c5647
Merge pull request #11339 from OTAkeys/pr/fix_stm32_rtc_alarm
...
cpu/stm32_common: fix month encoding in RTC driver for alarm
2019-04-05 08:40:28 +02:00
f6f988cfbf
Merge pull request #9389 from bergzand/pr/pkg/c25519/initial
...
c25519: Initial support for the c25519 package
2019-04-04 14:23:09 +02:00
Vincent Dupont
d283aaf8fd
cpu/stm32_common: fix month encoding in RTC driver for alarm
2019-04-04 14:15:26 +02:00
2ed516fa39
c25519: add test application
2019-04-04 14:05:57 +02:00
6d8e18b57e
c25519: Initial support for c25519 package
...
c25519[1] is a library optimized for embedded applications handling ed25519
signing and x25519 crypto. It uses significantly less memory and flash
compared to TweetNaCl and is significantly faster when used on a
samr21-xpro
[1]: https://www.dlbeer.co.nz/oss/c25519.html
2019-04-04 14:05:57 +02:00
60e50d4faa
Merge pull request #10576 from kaspar030/add_murdock_test_cache
...
murdock: implement test result caching
2019-04-04 14:03:42 +02:00
6e5c56608f
make: add test-input-hash target
2019-04-04 13:37:36 +02:00
danpetry
09b48d70f2
Merge pull request #9013 from Hyungsin/forupstream_hamilton
...
board: add hamilton board support
2019-04-04 12:34:26 +02:00
513c8821ca
murdock: implement test result caching
2019-04-04 11:39:24 +02:00
Gunar Schorcht
3bad3e6199
cpu/esp32: use periph.mk in perpih Makefile
...
Includes now $(RIOTMAKE)/periph.mk instead of $(RIOTBASE)/Makefile.include to control compilation of periph submodules.
2019-04-04 00:48:33 +02:00
Hyungsin
d9c17c2154
boards: add initial hamilton board support
2019-04-03 15:00:35 -07:00
88171698e0
Merge pull request #10931 from kb2ma/nanocoap/pktapi_opt_enospc
...
net/nanocoap: Packet API return error if buffer full
2019-04-03 14:49:44 +02:00
Marian Buschsieweke
beee9f039f
Merge pull request #11160 from kaspar030/improve_murdock_error_message
...
murdock: improve error message should "info-boards-supported" fail
2019-04-03 13:36:51 +02:00
864110dec4
murdock: implement extra check for broken makefile
2019-04-03 12:10:20 +02:00
Vincent Dupont
2cb8c4b75c
boards/esp32-olimex-evb: disable periph_can
2019-04-03 11:12:46 +02:00
Vincent Dupont
3db7c65438
boards/nucleo-f413zh: add periph_can as supported
2019-04-03 11:12:46 +02:00
Vincent Dupont
74ddf56171
tests/conn_can: build stm32 CAN drivers
...
Build can_stm32 module on boards which have a stm32 CAN controller.
2019-04-03 11:12:46 +02:00
Gunar Schorcht
419cedf58e
cpu/msp430_common: add real malloc/free functions
...
For this purpose, adapted AVR libc functions are used. When used, malloc and free functions require 304 additional bytes of code compared to the oneway_malloc module.
2019-04-03 09:21:03 +02:00
Martine Lenders
05d0c6c5b7
Merge pull request #11187 from gschorcht/cpu/esp_common/esp_now/iol_len
...
cpu/esp_common: esp_now doesn't call memcpy if iol_len is 0
2019-04-02 19:08:23 +02:00
Martine Lenders
af65d2da59
Merge pull request #11184 from gschorcht/cpu/esp32/esp_wifi/iol_len
...
cpu/esp32: esp_wifi doesn't call memcpy if iol_len is 0
2019-04-02 19:08:15 +02:00
Martine Lenders
2d906de873
Merge pull request #11186 from gschorcht/cpu/esp32/esp_eth/iol_len
...
cpu/esp32: esp_eth doesn't call memcpy if iol_len is 0
2019-04-02 17:51:26 +02:00
Martine Lenders
a1e2dc0810
Merge pull request #11332 from kYc0o/pr/xbee/prevent_0_len_uart
...
drivers/xbee: prevent 0 length packet sent to UART
2019-04-02 17:33:29 +02:00