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

27302 Commits

Author SHA1 Message Date
7dbf5c6015
Merge pull request #12941 from fjmolinas/pr_interactive_sync_puts_pgmspace
sys/test_utils/interactive_sync: AVR puts to pgmspace
2019-12-13 18:34:35 +01:00
Cenk Gündoğan
2902c42d68
Merge pull request #12945 from leandrolanzieri/pr/kconfig_add_pkgs
makefiles/kconfig: Add symbols for used packages
2019-12-13 18:03:01 +01:00
Martine Lenders
61a78cf817
Merge pull request #12926 from benpicco/sys-hashes-crc8
sys/checksum: move crc8 implementation from sht3x to common code.
2019-12-13 17:47:07 +01:00
Martine Lenders
1cd106465c
Merge pull request #12930 from haukepetersen/fix_native_defaultport
boards/native: fix default value of PORT
2019-12-13 17:46:06 +01:00
Wouter Symons
49a8f64c62 pkg/lwip: fix memory issue when sending with empty sock 2019-12-13 17:28:32 +01:00
b49cca2d0c
cpu/fe310: include thread.h in cpu.h
This ensures the ARRAY_SIZE macro is implicitly available
2019-12-13 16:25:11 +01:00
0ef371899d
boards/hifive1b: add arduino feature 2019-12-13 16:25:11 +01:00
Francisco
c58232aebf
Merge pull request #12844 from aabadie/pr/make/base_ext
Makefile.base: add variables for customizing C++ builds
2019-12-13 15:39:36 +01:00
Leandro Lanzieri
b674710ae5 makefiles/kconfig: Add symbols for used packages 2019-12-13 15:21:16 +01:00
Benjamin Valentin
5d8aa6ad9a tests/checksum: add tests for crc8
Taken from tests-checksum-crc16-ccitt.c
2019-12-13 14:50:33 +01:00
Benjamin Valentin
22c2dbbbe5 drivers/sht3x: use crc8 function from common code
This makes the sht3x driver use the crc-8 routine from sys/hashes.
It's the same code, was just moved to a common place.
2019-12-13 14:50:32 +01:00
Benjamin Valentin
e4a33ca413 sys/checksum: add crc8 implementation
This moves the crc8 implementation of the sht3x driver to common code.
2019-12-13 14:50:32 +01:00
William MARTIN
1d54137295 cpu/stm32l0: add stm32l010xx family
This adds support for members of the stm32l010xx family.

Co-authored-by: William MARTIN <wysman@gmail.com>
2019-12-13 14:14:28 +01:00
a88306088d
Merge pull request #12677 from JulianHolzwarth/pr/thread_status_t/zombie
core: add zombie thread state
2019-12-13 13:37:10 +01:00
Francisco
e8a5eb8dde
Merge pull request #12891 from aabadie/pr/boards/hifive1b_fix_autotest
tools/testrunner: make interactive test sync retries/delay configurable
2019-12-13 13:27:27 +01:00
Leandro Lanzieri
047c87d67f Kconfig: Expose net/sock/util configurations 2019-12-13 12:22:36 +01:00
Leandro Lanzieri
c74fa5367c net/sock/util: Move configuration macros to 'CONFIG_' namespace
Macros that changed:
SOCK_SCHEME_MAXLEN -> CONFIG_SOCK_SCHEME_MAXLEN
SOCK_HOSTPORT_MAXLEN -> CONFIG_SOCK_HOSTPORT_MAXLEN
SOCK_URLPATH_MAXLEN -> CONFIG_SOCK_URLPATH_MAXLEN
2019-12-13 12:04:54 +01:00
Hauke Petersen
d0375ea119 boards/native: fix default value of PORT 2019-12-13 11:36:57 +01:00
Francisco Molina
089c9ae71a sys/test_utils/interactive_sync: AVR puts to pgmspace 2019-12-13 10:12:01 +01:00
Sebastian Meiling
c04b80ecbb pkg/tinydtls: bump version
This version bump fixes an issues when using RIOT native on FreeBSD with
the tinydtls package, e.g. for native tests of sock_dtls.
2019-12-12 15:57:51 +01:00
Martine Lenders
26a1348a9a
Merge pull request #12867 from fjmolinas/pr_tests_no_reset_dep
tests: adapt tests so they can use `tests_utils_interactive_sync`
2019-12-12 15:47:21 +01:00
Marian Buschsieweke
3ecd303ed0
cpu/atmega_common/periph: Clean up PCINT support
- Using a enum instead of _COUNTER is easier to read
    - _COUNTER is also a reserved name; so better not use it to avoid issues
- Split out the pcint code into a static inline function for increased
  readability
2019-12-12 11:38:43 +01:00
Marian Buschsieweke
a45066551b
cpu/atmega_common/periph: Fixed bug in PCINT
The bank index and the pin number are not necessarily identical. For all
PCINT banks except for bank 3 bank_idx was used therefore. It was likely
just forgotten to update that for bank 3 as well.
2019-12-12 11:33:19 +01:00
Martine S. Lenders
e96bc2a13d lwip_sock: additional indirection of conn is unnecessary
Either the sock is provided with `sock_*_send()` or not. In the first
case the indirection is not necessary, and in the second we need to
delete the created `conn` within `lwip_sock_send()` anyway, so returning
it makes no sense.
2019-12-12 11:19:51 +01:00
Martine S. Lenders
80c23cfbf3 lwip_sock: check if sock is set before dereferencing it 2019-12-12 11:01:30 +01:00
Hauke Petersen
b06c01a03c make.dep/sntp: remove gnrc dependency
This module should depend on sock_udp instead of gnrc_sock_udp.
2019-12-12 10:15:31 +01:00
Hauke Petersen
17ecba0e89 make.dep: add dep for gnrc_sock_udp in GNRC deps
If some any module wants to use sock_udp and GNRC is configured as
network stack, this PR takes care of pulling in gnrc_sock_udp then.
2019-12-12 10:15:22 +01:00
Francisco Molina
341a4b5bfd tests/gnrc_%: use tests_utils_interactive_sync 2019-12-12 10:13:34 +01:00
Francisco Molina
eb9d27db69 tests/gnrc_rpl_srh: run unittests through shell
Using the shell to run unittests allows not needing
to wait for a string at the start of the test which
makes the test independent having the application reset
after the terminal is open.
2019-12-12 10:13:34 +01:00
Francisco Molina
5bf1a22472 tests/gnrc_ipv6_ext_frag: refactor to not depend on reset
Using the shell to run unittests allows not needing
to wait for a string at the start of the test which
makes the test independent having the application reset
after the terminal is open. The same goes for triggering
sending UDP test pkts.
2019-12-12 10:13:33 +01:00
Francisco Molina
4117b459af tests/shell: fix reset dependency 2019-12-12 10:13:33 +01:00
55ef046728
dist/testrunner: make interactive test retries/delay configurable 2019-12-12 09:44:16 +01:00
Gunar Schorcht
baf4db675d cpu/esp8266: fix bootloader images
Some ESP8266/ESP8285 modules only work with DOUT SPI flash mode and a SPI flash frequency of 26 MHz. Therefore, these parameters have to be used by default. Otherwise some modules will no boot.
2019-12-12 08:16:54 +01:00
Gunar Schorcht
3e3a6f7018 cpu/esp8266: change of log output level in vendor code 2019-12-12 08:16:54 +01:00
Gunar Schorcht
a3de59fec3 cpu/esp8266: log outputs from esp vendor code
Log outputs from the Espressif vendor code are completely controlled by LOG_LEVEL and should not be controlled by ENABLE_DEBUG by file.
2019-12-12 08:16:54 +01:00
JulianHolzwarth
cc0243f585 tests/thread_zombie/: new test for zombie state threads
ps is optional
2019-12-11 16:48:31 +01:00
JulianHolzwarth
c581d2c055 sys/ps/ps.c: ps can now handle zombie state threads 2019-12-11 16:48:31 +01:00
JulianHolzwarth
2655c97fd5 core/thread.c: new function for zombie state 2019-12-11 16:48:31 +01:00
a9bf69146b
Merge pull request #9948 from bergzand/pr/ili9341
ili9341: Initial import of ili9341 LCD driver
2019-12-11 16:43:46 +01:00
35737a24e4
drivers/ili9341: add spi mode configuration option 2019-12-11 16:18:40 +01:00
9c520fd793
ili9341: Add simple test application 2019-12-11 16:18:40 +01:00
ef4dcb8eec
ili9341: Initial include
This commit adds support for the ili9341 display
2019-12-11 16:18:37 +01:00
3338403be7
Merge pull request #12925 from aabadie/pr/drivers/makefile_order
drivers: fix alphabetical order in Makefile.dep/include files
2019-12-11 15:59:36 +01:00
JulianHolzwarth
6b0156eac5 core/include/sched.h: new thread_status_t thread state 2019-12-11 15:44:59 +01:00
2f65bacc7d
drivers: fix sort Makefile.dep/include files 2019-12-11 15:31:58 +01:00
Leandro Lanzieri
3383bae8fe Kconfig: Expose gnrc/ipv6/blacklist configurations 2019-12-11 10:51:04 +01:00
Leandro Lanzieri
56e61dac47 net/gnrc/ipv6_blacklist: Move config macros to 'CONFIG_' namespace
Macros that changed:
GNRC_IPV6_BLACKLIST_SIZE -> CONFIG_GNRC_IPV6_BLACKLIST_SIZE
2019-12-11 10:39:16 +01:00
dylad
f44d9f88f0 sam0/uart: remove useless read-modify-write op 2019-12-10 20:19:34 +01:00
Martine Lenders
d926810e0b
Merge pull request #12893 from leandrolanzieri/pr/kconfig_migrate/gnrc/ipv6_whitelisting
Kconfig: Expose gnrc/ipv6/whitelist configurations
2019-12-10 18:32:34 +01:00
Benjamin Valentin
00ff291f2e gnrc_lwmac: use uintptr_t to get value of pointer
A pointer is not 32 bit on all platforms.
Since gnrc_lwmac only stores 16 bit in the pointer variable it is
still save to cast like this even on AVR, but cast to uintptr_t
instead of uint32_t.

fixes #12869
2019-12-10 17:18:30 +01:00