chrysn
d9879c96ca
Merge pull request #16833 from chrysn-pull-requests/rust-lib
...
Add some Rust library building infrastructure
2022-07-10 21:39:35 +02:00
chrysn
bc8ec6d542
rust: Make examples / tests use any Rust RIOT modules
2022-07-10 21:27:13 +02:00
chrysn
5e75f4bd13
rust_riotmodules_standalone: This needs its Cargo.lock checked in
...
Of all the library crates, this is the only root crate, and responsible
for pinning good versions.
2022-07-10 21:27:13 +02:00
chrysn
68985aa6be
rust_riotmodules: pub use instead of extern crate
...
See-Also: https://github.com/RIOT-OS/RIOT/pull/16833#issuecomment-1071243210
2022-07-10 21:27:13 +02:00
chrysn
08939cda3b
tests: Add rust-as-a-module test
...
Taken and simplified from shell test.
2022-07-10 21:27:13 +02:00
chrysn
ebfa6f61d6
shell/democommands: Add example Rust module
2022-07-10 21:27:12 +02:00
chrysn
841e4deee5
lsm303agr: New sensor driver using external Rust crate
...
It is enabled by saul_default on microbit-v2.
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
2022-07-10 21:27:12 +02:00
chrysn
cd6393a4d3
doc: Update for Rust libraries
...
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
2022-07-10 21:27:12 +02:00
Marian Buschsieweke
bad2527ede
Merge pull request #18295 from jmfriedt/master
...
boards/im880b: im880b board clock definition
2022-07-10 14:06:07 +02:00
Jean-Michel Friedt
8025e6befb
boards/im880b: im880b board clock definition
...
Signed-off-by: Jean-Michel Friedt <friedtj@free.fr>
2022-07-10 13:21:44 +02:00
chrysn
ba76c6ee65
Rust: Add crates-to-module adapter
2022-07-09 21:15:29 +02:00
chrysn
7ee66ad219
makefiles/cargo: Drop duplicate workaround remnants
2022-07-09 20:45:51 +02:00
d4d37aa689
Merge pull request #18302 from aabadie/pr/pkg/lv_drivers_cleanup
...
pkg/lv_drivers: cleanup Makefile
2022-07-08 14:50:48 +02:00
Marian Buschsieweke
29d21938aa
Merge pull request #18210 from maribu/cpu/esp32
...
cpu/esp32: enforce MAXTHREADS is at least 3
2022-07-06 17:57:48 +02:00
f4c460ac03
pkg/lv_drivers: cleanup Makefile
2022-07-06 15:23:42 +02:00
Peter Kietzmann
9af87803c6
Merge pull request #18137 from Einhornhool/pr/update-cryptoauth-package
...
pkg/cryptoauthlib: Update package to latest version
2022-07-06 13:30:16 +02:00
Lena Boeckmann
422d81a2b4
pkg/cryptoauthlib: Update package to latest version
2022-07-06 10:45:39 +02:00
Marian Buschsieweke
026854d788
cpu/esp32: make sure MAXTHREADS is at least 3
...
ESP32 has an esp_timer thread in addition to the main and the idle
thread. So applications that work fine with 2 threads on other
platforms will break on ESP32.
2022-07-06 09:00:13 +02:00
Marian Buschsieweke
f59e910fd2
tests/periph_gpio_ll: Account for extra thread needed for ESP32
2022-07-06 09:00:13 +02:00
Marian Buschsieweke
91afd31425
tests/pkg_fff: Account for extra thread needed for ESP32
2022-07-06 09:00:13 +02:00
1c8116b5f8
Merge pull request #18296 from vacore/stm32g0b1re
...
cpu/stm32: support for B subfamily of g0 to determine the ram length
2022-07-06 07:10:51 +02:00
Dmitriy Okladov
9304e2bf37
cpu/stm32: support for B subfamily of g0 to determine ram length
2022-07-05 19:10:16 +03:00
Marian Buschsieweke
1e17aae6a9
Merge pull request #18291 from krzysztof-cabaj/doc-nucleo144
...
boards/nucleo144: doc update - usage of cpy2remed programmer and short overview of board
2022-07-04 21:47:15 +02:00
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
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
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
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
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