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

27061 Commits

Author SHA1 Message Date
01818ed4e8 drivers/bmx280: provide correct CALIB_T_P_LEN 2020-02-24 15:21:06 +01:00
c11e8df463
Merge pull request #13456 from kaspar030/arm_gcc9_fixes
cpu/arm: fixes necessary for toolchain upgrade
2020-02-24 15:18:14 +01:00
13a6cfb9ba tests/unittests: temporarily disable for saml1[01]-xpro 2020-02-24 14:56:04 +01:00
Benjamin Valentin
fa4447241f sock_dns: make sock_dns_query() return the length of the address
The implementation already did that, now also reflect this in the
documentation.
2020-02-24 14:29:17 +01:00
Benjamin Valentin
1de14931b8 sock_dns: use the same buffer for request & reply
Saving RAM is more important than saving a few cycles
used by re-creating the request buffer in the error case.

Also reduce the size of the buffer to 128 bytes.
If we are just requesting the AAAA record it is unlikely
for the reply to take up the maximum size of 512 bytes.

We were already placing restrictions on the domain name length,
those are now actually a bit more relaxed (112 bytes instead of 64)
2020-02-24 14:29:17 +01:00
8a909b1f9a drivers/bmx280: increase CALIB_T_P_LEN 2020-02-24 14:25:32 +01:00
Benjamin Valentin
367f19d390 shell/gnrc_icmpv6_echo: don't do DNS lookup for plain IP
When using ping6 with an IP address, don't do a DNS lookup.
Hostnames can't contain ':', so use that to tell them apart
from plain IP addressees.
2020-02-24 14:21:54 +01:00
Benjamin Valentin
a65daf7a31 shell/gnrc_icmpv6_echo: set success state if DNS query succeeded
We need to set `res` to 0 to signal success, otherwise we end up
in the print usage case.
2020-02-24 14:21:54 +01:00
Benjamin Valentin
e9a40933f7 sock_dns: fix off-by-one error in _parse_dns_reply() 2020-02-24 14:19:50 +01:00
0a4cc06d44 pkg/openthread: add "-Wno-class-memaccess" to CXXFLAGS 2020-02-24 14:12:13 +01:00
fabian18
07f7d818bd boards/same54-xpro: use at24cxxx EEPROM 2020-02-24 14:00:25 +01:00
fabian18
cd817277d3 tests/driver_at24cxxx: test for at24cxxx EEPROM 2020-02-24 14:00:25 +01:00
fabian18
2c77ee4cab drivers/at24cxxx: at24cxxx EEPROM driver 2020-02-24 14:00:25 +01:00
63f805c5b7
Merge pull request #13268 from kaspar030/add_expect_header
sys/test_utils: add expect() header
2020-02-24 13:34:16 +01:00
870083375b
Merge pull request #13453 from aabadie/pr/tests/driver_srf08_cppcheck_fix
tests/driver_srf08: reduce scope of range_array
2020-02-24 12:36:35 +01:00
Martine S. Lenders
9b4dac7f3e
sock_async: include sock_async_ctx.h before sock-types
This way, the sock-types can use the sock_async_ctx_t type in their
definition without including `sock_async_ctx.h` (potentially creating
further cyclic includes).
2020-02-24 12:33:38 +01:00
Ken Bannister
e98a6e5932 net/gcoap: update copyright date 2020-02-24 06:22:04 -05:00
Ken Bannister
c8cd3f0229 net/gcoap: fix vera++ code style warnings 2020-02-24 06:20:43 -05:00
Benjamin Valentin
442ddc1346 cpu/samd21: Switch EIC clock to slow speed on STANDBY mode 2020-02-24 12:02:27 +01:00
Juergen Fitschen
43ff72ad56 cpu/sam0*: Switch EIC clock to slow speed on STANDBY mode 2020-02-24 12:02:25 +01:00
Juergen Fitschen
1265efc785 cpu/sam0*: Wrap cortexm_sleep call 2020-02-24 11:48:13 +01:00
Juergen Fitschen
ac8a81b8f3 cpu/saml21: disable fast clock if it is not requested 2020-02-24 11:48:13 +01:00
3ef7f38fb3 tests/bench_xtimer: change SUPER_LOW_MEMORY_BOARDS to 12 timers 2020-02-24 11:45:33 +01:00
981cdeaa47 tests/README.md: add paragraph explaining expect() 2020-02-24 11:45:33 +01:00
fc0ac42ba1 tests/bench_xtimer: use "expect()" instead of "assert()" 2020-02-24 11:45:33 +01:00
36bb7741ac sys/test_utils: add "expect()" 2020-02-24 11:45:33 +01:00
1b8ec38e34 core/panic: add PANIC_EXPECT_FAIL 2020-02-24 10:48:43 +01:00
c152151204
tests/driver_srf08: reduce scope of range_array
The issue is reported by cppcheck when modifying this file
2020-02-24 10:39:36 +01:00
1e74280308
Merge pull request #13270 from wosym/conn_cann_native
tests/conn_can: fix build error on native
2020-02-24 10:39:29 +01:00
99d1404d2f
ci/buildsystem_check: ensure OPENOCD_CONFIG is not exported 2020-02-24 10:04:12 +01:00
9363f077d6
boards: don't export globally OPENOCD_CONFIG
The variable is already exported to required target in openocd.inc.mk
2020-02-24 10:04:11 +01:00
bd081cd980
tools/openocd: remove default OPENOCD_CONFIG value
The default value is already set in openocd.inc.mk
2020-02-24 10:04:11 +01:00
03f4d383db
makefiles/openocd: export OPENOCD_CONFIG to required targets 2020-02-24 10:04:11 +01:00
58450c6c59
Merge pull request #13342 from wosym/pr/socketcanfix
cpu/native/can/candev_linux: add check for real can
2020-02-24 09:39:12 +01:00
d7cbfe4f45
Merge pull request #13378 from francois-berder/nucleo-doc-cleanup
boards: nucleo*: Cleanup documentation
2020-02-24 08:01:42 +01:00
Martine Lenders
cba056d560
Merge pull request #13386 from kb2ma/gcoap/sock_async
net/gcoap: use sock_async and events
2020-02-23 16:17:53 +01:00
benpicco
c775833b43
Merge pull request #13449 from btcven/2020_02_22-cc1312-launchpad-docs
cc1312-launchpad: add board documentation
2020-02-22 20:17:38 +01:00
Jean Pierre Dudey
130467dd91
cc1312-launchpad: add board documentation
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-02-22 12:43:11 -05:00
Gunar Schorcht
98277b0d3b
Merge pull request #13446 from benpicco/esp-wifi/open
esp-wifi: allow connecting to open networks
2020-02-22 16:29:18 +01:00
Benjamin Valentin
aac2855c7c esp-wifi: allow connecting to open networks
Allow connecting to unecnrypted WiFis if `ESP_WIFI_PASS` is not set.
2020-02-22 13:45:15 +01:00
benpicco
f0c68a7433
Merge pull request #13443 from benpicco/dns-fixes
shell/gnrc_icmpv6_echo: fix build with USEMODULE += sock_dns
2020-02-22 13:12:31 +01:00
benpicco
ce947b4824
Merge pull request #12955 from gschorcht/cpu/esp/deduplicate_and_cleanup
cpu/esp*: code deduplication and cleanup
2020-02-22 13:03:18 +01:00
Ken Bannister
9b63abb718 net/gcoap: cast required for pic32 platform
Fixes bug found during rework for sock_async implementation.
2020-02-22 05:46:07 -05:00
Ken Bannister
0dc1e4c4e7 net/gcoap: fix when no timeout event
Fixes bug found during rework for sock_async implementation.
2020-02-22 05:46:07 -05:00
Gunar Schorcht
5b4389cf46 cpu/esp32: update of ld script for littlefs*
During the write access to the SPI flash, the IROM cache is not available and only code from the IRAM can be executed. Therefore, the code of file system implementations which access the SPI flash must reside in IRAM.
2020-02-22 01:35:07 +01:00
Benjamin Valentin
5256f061dd tests/gnrc_sock_dns: add a message queue
Without it I get the following error when I try to use ping6

    !!!! gnrc_netreg: initialize message queue of thread 2 using msg_init_queue() !!!!
    Stack Pointer: 0x22ef
    *** RIOT kernel panic:
    FAILED ASSERTION.

So copy the message queue from examples/gnrc_networking
2020-02-22 00:18:01 +01:00
Benjamin Valentin
f5a5c5dd2c shell/gnrc_icmpv6_echo: fix build with USEMODULE += sock_dns
To be able to call sock_dns_query() in _configure(), we also
need to include the header file.
2020-02-21 23:56:33 +01:00
Dylan Laduranty
e74484c31f
Merge pull request #13411 from benpicco/samd5x-OSCCTRL.ONDEMAND
cpu/samd5x: use ONDEMAND bit to run clocks on demand
2020-02-21 23:37:07 +01:00
benpicco
261ede7b79
Merge pull request #13414 from benpicco/boards/same54-xpro/peripheral-clocks
boards/same54-xpro: don't source peripheral clocks from main clock
2020-02-21 23:25:22 +01:00
Dylan Laduranty
e11d3485ef
Merge pull request #13435 from benpicco/cpu/sam0/gpio-gclk-cleanup
cpu/sam0_common/gpio: use explicit GCLK names
2020-02-21 20:26:06 +01:00