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

40446 Commits

Author SHA1 Message Date
krzysztof-cabaj
bd4e5aa0c4 boards/nucleo-f412zg: fixup trailing whitespace 2022-07-04 14:03:55 -04:00
krzysztof-cabaj
b1c50fe89a boards/nucleo-f413zh: add short board info and flashing commands 2022-07-04 14:03:55 -04:00
krzysztof-cabaj
f9ca5bdc3d boards/nucleo-f412zg: add short board doc and flashing commands 2022-07-04 14:03:55 -04:00
krzysztof-cabaj
a802e3d496 boards/nucleo-f722ze:short board info and cpy2remed flashing command 2022-07-04 14:03:44 -04:00
krzysztof-cabaj
08587ffd39 boards/nucleo-f746zg: add short bord description and flashing commands 2022-07-04 14:03:44 -04:00
krzysztof-cabaj
033f61bd1f boards/nucleo-439zi: add short board info 2022-07-04 14:03:44 -04:00
krzysztof-cabaj
82200744c7 boards/nucleo144: fix all memory sizes to KiB and MiB 2022-07-04 14:03:44 -04:00
krzysztof-cabaj
c9441272e4 boards/nucleo-f767zi:short board info and cpy2remed flashing command 2022-07-04 14:01:48 -04:00
Marian Buschsieweke
d337997e5a
Merge pull request #18277 from gschorcht/cpu/esp/periph_hal_esp32_hwrng
cpu/esp_common: use ESP-IDF random API for ESP32
2022-07-04 19:02:58 +02:00
Marian Buschsieweke
04fc22e031
Merge pull request #18194 from benpicco/dist/tools/cosy-port
dist/tools/cosy: allow to specify port
2022-07-04 14:44:44 +02:00
Marian Buschsieweke
5ddf786c95
tests/driver_at86rf2xx: fix use of incorrect macro
The random test function should be guarded by
`AT86RF2XX_RANDOM_NUMBER_GENERATOR` not by
`AT86RF2XX_SMART_IDLE_LISTENING`. This fixes the issue and also sneaks
in a test for the return value.
2022-07-04 13:55:31 +02:00
Kevin "Tristate Tom" Weiss
e43313d647
Merge pull request #18287 from MrKevinWeiss/pr/fixemlearn
pkg/emlearn: Remove unused emlearn module
2022-07-04 08:21:39 +02:00
Marian Buschsieweke
df556311ce
Merge pull request #18290 from eduazocar/feature/at86rf2xx_random_numbers
drivers/at86rf2xx: Switch SRT mode to get random values.
2022-07-04 06:44:46 +02:00
eduazocar
e6a7039de4 drivers/at86rf2xx: Adding Switch SRT to Random Number Generator 2022-07-03 17:44:47 -04:00
Martine Lenders
107a2a0753
gcoap_dns: initial import of a DNS over CoAP client 2022-07-01 18:44:02 +02:00
Martine Lenders
932c58d89f
Merge pull request #18289 from nmeum/pr/emcute_deadlock_suback
asymcute: Fix deadlocks in REGACK, SUBACK and UNSUBACK handler
2022-07-01 17:11:13 +02:00
Martine Lenders
fda230eb7c
Merge pull request #18275 from maribu/sys/net/rpl/netstats
sys/net/gnrc/rpl: sync access to netstats
2022-07-01 12:24:24 +02:00
Sören Tempel
4dcb8edcc8 asymcute: Fix deadlocks in REGACK, SUBACK and UNSUBACK handler
The handlers for these MQTT message lock the connection mutex on
function entry. During automated testing of asymcute, I discovered
return paths for these function which do not unlock the connection
mutex. This results in a deadlock which prevents asymcute from
sending any further messages.
2022-07-01 00:55:07 +02:00
chrysn
cb5d4f88f9
Merge pull request #18255 from maribu/tests/thread_float
tests/thread_float: fix test script
2022-07-01 00:39:57 +02:00
Marian Buschsieweke
94ccc6c7dc
tests/thread_float: clean up and fix test script
Split out the regex that matches the output line into a dedicated
function (as it is used three times) and make it also accept nan and
inf as double values. Previously a nan didn't match and occasional
nans were not detected as a test failure.
2022-06-30 19:15:08 +02:00
Marian Buschsieweke
0beb636bf3
tests/thread_float: fix test script
Previously the test script expected runnable threads of the same
priority to be running in a specific order. But the only tool that is
guaranteed to enforce a specific order of runnable threads is assigning
them different priority levels.

This should fix a test failure in the nightlies.

Co-authored-by: Martine Lenders <mail@martine-lenders.eu>
2022-06-30 19:15:08 +02:00
krzysztof-cabaj
86cfca3eae boards/nucleo-l4z5zi: add command for flashing using cpy2remed 2022-06-30 08:30:51 -04:00
Gunar Schorcht
02310b1148 cpu/esp_common: port periph/hwrng to ESP-IDF random API 2022-06-30 11:10:02 +02:00
Firas Hamdi
bc0d3f9de3 drivers/mcp2515: apply the filter to a target mailbox
sys/include/can: add the mailbox target as a member to the filter structure

drivers/mcp2515: cleanup defines
2022-06-30 10:07:24 +02:00
MrKevinWeiss
f3aa0f9bb0
pkg/emlearn: Remove unused emlearn module
There was a mismatch between Kconfig and make, after some digging it
appears that the make never used the emlearn module, only the package.

This removes the emlearn pseudomodule from make since nothing selects it
and removes the MODULE_EMLEARN from Kconfig to match the make dependency
resolution.
2022-06-30 10:06:59 +02:00
Marian Buschsieweke
5a47d6a9b8
sys/net/gnrc/rpl: sync access to netstats
Synchronize the RPL thread updating the RPL netstats with the RPL
shell command reading it by disabling IRQs. This will prevent printing
corrupted data on non-32bit platforms as well as printing inconsistent
data (e.g. TX count of old state in conjunction with TX bytes of new
state) for all platforms.

Co-authored-by: Martine Lenders <mail@martine-lenders.eu>
2022-06-30 09:48:46 +02:00
Marian Buschsieweke
93d8bade8e
sys/net/gnrc/rpl: refactor netstats_rpl_t
There is a repeating pattern in the struct that is split out into a
subtype in this commit. This makes handling the data easier, as now
done in the print routine.
2022-06-30 09:48:45 +02:00
Marian Buschsieweke
fcbba02daf
Merge pull request #18256 from Teufelchen1/chore/macos
Documentation: Renaming OS X to macOS
2022-06-30 07:05:48 +02:00
krzysztof-cabaj
53f33b32fa boards/nucleo-l496zg: add short board info and flashing commands 2022-06-29 12:35:48 -04:00
Jose Alamos
2c76dbf351
gnrc_netif: move option_tested to default init function 2022-06-29 17:48:27 +02:00
Martine Lenders
d9846e414f
Merge pull request #18269 from maribu/sys/net/netstats
sys/net/netopt: change NETOPT_STATS semantics
2022-06-29 15:52:03 +02:00
Gunar Schorcht
ae48cfca33 cpu/esp32: port periph/rtt_hw_sys to ESP-IDF timer HAL 2022-06-29 08:37:43 +02:00
Gunar Schorcht
5261a930bb cpu/esp32: port periph/rtt_hw_rtc to ESP-IDF interrupt HAL 2022-06-29 08:37:43 +02:00
Gunar Schorcht
7e19086a60 cpu/esp32: use ESP-IDF timer HAL for system timer in syscalls 2022-06-29 08:37:43 +02:00
Gunar Schorcht
0482eb1c90 cpu/esp32: use ESP-IDF timer HAL for peripheral timer definition 2022-06-29 08:35:38 +02:00
benpicco
a1ee44e114
Merge pull request #18263 from maribu/cpu/avr8/idle_stack
cpu/{atmega_common,atxmega}: increase idle thread stack size
2022-06-29 00:57:57 +02:00
benpicco
b00810c0e5
Merge pull request #18266 from gschorcht/cpu/esp32/variant_indpependent_syscalls
cpu/esp32:  ESP32x SoC variant independent syscalls
2022-06-29 00:57:23 +02:00
benpicco
3b3c6d34b3
Merge pull request #18273 from gschorcht/cpu/esp32/periph_hal_esp32_cpuid
cpu/esp32: use ESP-IDF function esp_efuse_mac for CPU ID
2022-06-29 00:40:02 +02:00
Gunar Schorcht
c03933d08c cpu/esp32: add ledc to ESP-IDF interface API 2022-06-28 18:28:27 +02:00
Marian Buschsieweke
973b6f69bf
sys/net/netopt: change NETOPT_STATS semantics
Instead of retrieving a pointer with NETOPT_STATS, retrieve the current
data. This avoids data corruptions when reading from one thread (e.g.
the thread running the shell (ifconfig command)) while another thread
is updating it (e.g. the netif thread).

The issue affects all boards, as users typically expect the count of
TX packets and the number of TX bytes to refer to the same state. For
16 bit and 8 bit platforms even a single netstat entry can read back
corrupted.

This fixes the issue by just copying the whole netstat_t struct over
without requiring explicit locking on the user side. A multi-threaded
network stack still needs to synchronize the thread responding to
netopt_get with the thread writing to the netstat_t structure, but that
is an implementation detail no relevant to the user of the API.
2022-06-28 16:57:43 +02:00
Gunar Schorcht
29199b20bd cpu/esp32: add gpio to ESP-IDF interface API 2022-06-28 16:43:22 +02:00
benpicco
1b2360e6da
Merge pull request #18261 from gschorcht/cpu/esp32/use_esp_idf_interrupt_handling
cpu/esp32: use ESP-IDF interrupt handling API
2022-06-28 16:37:11 +02:00
Gunar Schorcht
4b2b0047cc cpu/esp_common: port periph/uart to ESP-IDF uart API
This commit changes periph/uart to use ESP-IDF API for ESP32x SoCs. Furthermore, the MCU_* conditionals are inverted so that they can be tested for ESP8266. In all other cases the MCU is any ESP32x SoC
2022-06-28 16:25:24 +02:00
Gunar Schorcht
81caeb1bb1 cpu/esp32: add uart to ESP-IDF interface API 2022-06-28 16:25:10 +02:00
Gunar Schorcht
9065dcff14 cpu/esp32: port periph/cpu_id to ESP-IDF read_mac 2022-06-28 16:09:03 +02:00
benpicco
eada4f0b75
Merge pull request #18157 from benpicco/suit-key-dir
makefiles/suit: place keys in $XDG_DATA_HOME
2022-06-28 16:01:11 +02:00
benpicco
5bb12f3e57
Merge pull request #18264 from jia200x/pr/submac_use_ieee802154_retrans_config
ieee802154: add default max frame retransmissions config
2022-06-28 16:00:51 +02:00
Marian Buschsieweke
1d2547558f
Merge pull request #18265 from maribu/cpu/atmega_common/atmega_gpio
cpu/atmega_common: Fix atmega_port_addr()
2022-06-28 09:11:59 +02:00
Gunar Schorcht
4be0abf41a cpu/esp32: rename CPU_INUM_RTC to CPU_INUM_RTT 2022-06-28 07:30:59 +02:00
Gunar Schorcht
6bd6afbd22 cpu/esp32: use ESP-IDF for interrupt handling 2022-06-28 07:30:59 +02:00