Tags: anr-bmbf-pivot/RIOT
Tags
RELEASE 2023.04
RIOT-2023.04 - Release Notes
============================
RIOT is a multi-threading operating system which enables soft real-time
capabilities and comes with support for a range of devices that are typically
found in the Internet of Things: 8-bit and 16-bit microcontrollers as well as
light-weight 32-bit processors.
RIOT is based on the following design principles: energy-efficiency, soft
real-time capabilities, small memory footprint, modularity, and uniform API
access, independent of the underlying hardware (with partial POSIX compliance).
RIOT is developed by an international open-source community which is
independent of specific vendors (e.g. similarly to the Linux community) and is
licensed with a non-viral copyleft license (LGPLv2.1), which allows indirect
business models around the free open-source software platform provided by RIOT.
About this release
==================
The 2023.04 release includes:
- Mass Storage Class Support in USBUS
- Initial support for libSCHC
- FlashDB support
- BLE downlink in GNRC Border Router
- DTLS support for nanoCoAP in client mode
- Congestion control for 6LoWPAN Selective Fragment Recovery
- avr/flash_utils: strings (and other const data) no longer needs to be copied
to RAM
- New boards:
- esp32c3-wemos-mini
- esp32s2-lilygo-ttgo-t8
- esp32s2-wemos-mini
- esp32s3-pros3
- rpi-pico-w
- sipeed-longan-nano
- New device drivers:
- Black/white e-Paper/e-Ink display
- RFID reader (MFRC522)
- ST VL53L1X Time-of-Flight sensor
280 pull requests, composed of 595 commits, have been merged since the
last release, and 3 issues have been solved. 27 people contributed with
code in 83 days. 1246 files have been touched with 177090 (+) insertions and
36429 deletions (-).
Notations used below
====================
+ means new feature/item
* means modified feature/item
- means removed feature/item
New features and changes
========================
Core
----
+ core/compiler_hints: add likely() / unlikely() hints (RIOT-OS#19156)
* core/xfa: disable asan on llvm (RIOT-OS#19271)
* pkg/libfixmath: bump version (RIOT-OS#19182)
System Libraries
----------------
+ drivers/wdt: add periph_wdt_auto_start for early watchdog (RIOT-OS#18257)
+ fuzzing: Add uri_parser setup (RIOT-OS#19057)
+ Revert "sys/pm_layered: pm_(un)block add attribute optimize(3)" (RIOT-OS#19155)
+ sys/coding: add XOR based coding module (RIOT-OS#17045)
+ sys/event: add event sources (RIOT-OS#18758)
+ sys/irq: Add C++ wrapper using RAII (RIOT-OS#17066)
+ sys/phydat: add functions for Unix time conversion to phydat (RIOT-OS#19080)
+ sys/trickle: cleanup deps (RIOT-OS#19404)
+ sys/vfs: add force option to vfs_umount() (RIOT-OS#19320)
+ usbus/msc: add CONFIG_USBUS_MSC_AUTO_MTD option to create LUNs on
init (RIOT-OS#19356)
+ usbus/msc: add initial Mass Storage Class support (RIOT-OS#19242)
+ USBUS: Add URB support (RIOT-OS#17091)
+ ztimer: add ztimer_stopwatch convenience functions (RIOT-OS#19343)
* bootloaders: fix bootloader button logic (RIOT-OS#19365)
* makefiles/suit: make it possible to accept multiple SUIT keys (RIOT-OS#18459)
* sys/bitfield: don't touch unrelated bits in bf_{set, clear}_all() (RIOT-OS#19400)
* sys/cpp11-compat: Remove xtimer deps (RIOT-OS#19369)
* sys/fmt: optimize scn_u32_dec scn_u32_hex (RIOT-OS#19027)
* sys/fmt: use `fflush(); stdio_write()` instead of `fwrite()` (RIOT-OS#19250)
* sys/shell_lock: do not call strlen, less jumpy (RIOT-OS#19157)
* sys/tiny_strerror: make use of flash_utils.h (RIOT-OS#19332)
* test_utils/print_stack_usage: use thread.h API (RIOT-OS#19226)
* usbus/dfu: do not create alt interface if NUM_SLOTS=1 (RIOT-OS#19386)
Networking
----------
+ gcoap/fileserver: add event callbacks (RIOT-OS#18414)
+ gnrc_sixlowpan_frag_sfr_congure: optional congestion control support
(RIOT-OS#16171, RIOT-OS#16159, RIOT-OS#16170, RIOT-OS#16158)
+ gnrc_static: add static network configuration (RIOT-OS#18477)
+ nanocoap_link_format: add helper function to parse Link Format (RIOT-OS#18134)
+ pkg/tinyusb: add tinyUSB netdev driver (RIOT-OS#18903)
* cord: bump reference from draft to rfc (RIOT-OS#19367)
* cord: convert to ztimer (RIOT-OS#19391)
* gnrc_ipv6_nib: clean up _resolve_addr() (RIOT-OS#18939)
* nanocoap_sock: ensure response address is the same as request address (RIOT-OS#19361)
* nanocoap_sock: implement DTLS socket (RIOT-OS#18724)
* nanocoap_sock: implement nanocoap_sock_delete() (RIOT-OS#18738)
* nanocoap_sock: store message ID in nanocoap_sock_t (RIOT-OS#19178)
* pkg/tinydtls: Reduce default verbosity, increase default sizes when CoAP is
used (RIOT-OS#19331)
* shell/cmds: GNRC: replace puts() with printf() (RIOT-OS#19327)
* shell/gnrc_icmpv6_echo: separate ICMPv6 echo sending / parsing from
shell command (RIOT-OS#18934)
* sock_dtls: move common code into sock_dtls_establish_session() (RIOT-OS#19142)
* sys/net/gnrc/netif: fixing no global address wait (RIOT-OS#19402)
* sys/net/grnc/netreg: avoid creating an infinite loop (RIOT-OS#19238)
Packages
--------
+ libschc: initial import as package (RIOT-OS#18515)
+ pkg/arduino_adafruit_sensor: add Adafruit Unified Sensor Driver as
package (RIOT-OS#17460)
+ pkg/wolfssl: Update wolfSSL to 5.5.4 and add DTLS 1.3 support (RIOT-OS#19302)
+ pkg: add FlashDB (RIOT-OS#17612)
* pkg/fatfs: bump to r0.15 (RIOT-OS#19347)
* pkg/lz4: bump version to 1.9.4 (RIOT-OS#19180)
* pkg/minmea: bump version (RIOT-OS#19183)
* pkg/nanopb: bump version to 0.4.7 (RIOT-OS#19179)
* pkg/tinydtls: bump version (RIOT-OS#19184)
* pkg/tinydtls: drop libc_gettimeofday dependency (RIOT-OS#19247)
* pkg/tinyusb: bump to 0.15 (RIOT-OS#19276)
* pkg/u8g2: bump version (RIOT-OS#19285)
* pkg/wolfssl: Fix memory leaks in wolfSSL sock_tls (RIOT-OS#19190)
* tests/pkg_nanors: use static allocation (RIOT-OS#19382)
+ pkg/tinyusb: add GD32VF103 support (RIOT-OS#19256)
+ pkg/lwext4: add lightweight implementation of the ext2/3/4 filesystem (RIOT-OS#18682)
Boards
------
+ boards/esp32c3-wemos-mini: add support for Wemos ESP32-C3 mini (RIOT-OS#19417)
+ boards/esp32s2-mini: add definition for ESP32 S2 Mini (RIOT-OS#18863)
+ boards/nucleo64: Add pinout diagrams from UM1724 (RIOT-OS#19406)
+ boards/seeedstudio-gd32: add mtd_sdcard_default (RIOT-OS#19293)
+ boards/seeedstudio-gd32: complete and improve board definition (RIOT-OS#19166)
+ boards/sipeed-longan-nano: add BOOT as user button (RIOT-OS#19419)
+ boards/sipeed-longan-nano: add definition for the Sipeed Longan Nano
GD32VF103 board (RIOT-OS#19170)
+ boards: add esp32s3-pros3 support (RIOT-OS#19088)
+ boards: support for the LILYGO TTGO T8 ESP32-S2 board (RIOT-OS#19284)
+ cpu/native: implement periph_rtc_ms (RIOT-OS#19340)
+ drivers/mrf24j40: add support for IEEE 802.15.4 Radio HAL (RIOT-OS#18472)
+ drivers/mtd_sdcard: add mtd_sdcard_default module (RIOT-OS#19216)
+ makefiles/tools/serial.inc.mk: Allow detection of debug adapter (RIOT-OS#19119)
* boards/adafruit-itsybitsy-m4: turn off APA102 LED on startup (RIOT-OS#19357)
* boards/esp*: complete SD Card MTD config (RIOT-OS#19255)
* boards/esp32: enable RGB LED support (RIOT-OS#19408)
* boards/gd32v: improve board definitions (RIOT-OS#19249)
* boards/rpi-pico-w: fix too large board image (RIOT-OS#19159)
* boards/rpi-pico-w: initial support for rpi pico W board (RIOT-OS#19071)
* boards/sipeed-longan-nano: default to flashing via DFU (RIOT-OS#19204)
* boards/stm32f4discovery: default to stdio via CDC ACM (RIOT-OS#19259)
* boards: common: stdio_cdc_acm: let tests wait a bit for serial port (RIOT-OS#19128)
* cpu/rpx0xx/cmsis: Update vendor header files (RIOT-OS#19416)
CPU
---
+ bootloaders/riotboot: add tinyUSB DFU support (RIOT-OS#19010)
+ core/init: add early_init() (RIOT-OS#19082)
+ cpu/esp32: add periph_flashpage support (RIOT-OS#19079)
+ cpu/gd32v: add periph_adc support (RIOT-OS#19188)
+ cpu/gd32v: add periph_dac support (RIOT-OS#19248)
+ cpu/gd32v: add periph_gpio_irq support (RIOT-OS#19185)
+ cpu/gd32v: add periph_gpio_ll and periph_gpio_ll_irq support (RIOT-OS#19243)
+ cpu/gd32v: add periph_i2c support (RIOT-OS#19201)
+ cpu/gd32v: add periph_pwm support (RIOT-OS#19209)
+ cpu/gd32v: add periph_rtc support (RIOT-OS#19186)
+ cpu/gd32v: add periph_rtc_mem support (RIOT-OS#19254)
+ cpu/gd32v: add periph_rtt support (RIOT-OS#19202)
+ cpu/gd32v: add periph_spi support (RIOT-OS#19214)
+ cpu/gd32v: add pm_layered support in periph_pm (RIOT-OS#19187)
+ cpu/stm32/periph: Add GPIO LL IRQ support for STM32F1 (RIOT-OS#19412)
+ cpu/stm32/periph: Implement GPIO LL for STM32F1 without IRQ support
(yet) (RIOT-OS#19407)
+ picolibc: add support for picolibc >= 1.8 (RIOT-OS#19341)
+ sys/stdio_udp: add stdio over UDP (RIOT-OS#19081)
* cpu/esp32: cleanup of ESP-IDF interface API (module `esp_idf_api`) (RIOT-OS#19426)
* cpu/esp_common: use generic WIFI_SSID/WIFI_PASS defines (RIOT-OS#19286)
* cpu/gd32v/periph_i2c: interrupt based driver (RIOT-OS#19269)
* cpu/native: Switch to ztimer for gettimeofday (RIOT-OS#19349)
* cpu/riscv_common: convert to uword_t usage (RIOT-OS#19345)
* cpu/sam0_common: adc: implement 16 bit mode by oversampling (RIOT-OS#19165)
* cpu/stm32/periph/i2c: export PERIPH_I2C_MAX_BYTES_PER_FRAME (RIOT-OS#19279)
* cpu/stm32/periph/timer: don't stop counter (RIOT-OS#19263)
* cpu/stm32/periph/timer: fix clobered IRQ flag (RIOT-OS#19385)
* cpu/stm32/usbdev_fs: fix ep registration and EP_REG assignments
[backport 2023.04] (RIOT-OS#19462)
* drivers/at24cxxx: implement _mtd_at24cxxx_read_page (RIOT-OS#19270)
* Fix stm32 timer periodic (RIOT-OS#19363)
* sam0/usbdev: partial revert of RIOT-OS#17086 (RIOT-OS#19384)
* sys/usbus: check for the number of required and provided EPs in
static configurations (RIOT-OS#19371)
Device Drivers
--------------
+ black/white e-Paper/e-Ink display driver (RIOT-OS#12509)
+ drivers/mfrc522: add new driver (RIOT-OS#16782)
+ drivers/servo: reimplement with high level interface (RIOT-OS#18392)
+ drivers/usbdev_synopsys_dwc2: add ESP32x power management (RIOT-OS#19399)
+ drivers: add driver for ST VL6180X ranging and ambient light sensor (RIOT-OS#10462)
* drivers/at24cxxx: merge mtd driver with at24cxxx.c (RIOT-OS#19281)
* drivers/periph_common/flashpage: fix silent error (RIOT-OS#19175)
* drivers/slipdev: implement sleep states (RIOT-OS#17810)
* drivers/ws281x: improve timing for ESP32x (RIOT-OS#19422)
+ drivers/ws281x: add RMT hardware support for ESP32x SoCs (RIOT-OS#19424)
Documentation
-------------
+ doc: Add out of tree RIOT app documentation (RIOT-OS#19324)
* blobs: include documentation in doxygen (RIOT-OS#19200)
* doc/porting-boards.md: fix code snippets in md view (RIOT-OS#19206)
* Doc: document generate-makefile.ci (RIOT-OS#19239)
* doccheck: avoid generating dot or html (RIOT-OS#19228)
Build System / Tooling
----------------------
+ tools/compile_like_murdock: Add features (RIOT-OS#19351)
+ tools/doccheck: add simple exclude to doccheck (RIOT-OS#19240)
+ tools/renode: add support for target reset (RIOT-OS#19375)
* build system: Fix linker feature test with newlib 4.3.0 (RIOT-OS#19232)
* ci/print_versions: print all ESP32 toolchains (RIOT-OS#19309)
* dist/tools/doccheck: Fix grep warning (RIOT-OS#19220)
* dist/tools/insufficient_memory: Improve and clean up script (RIOT-OS#19291)
* esptools/install.sh: Fix shellcheck issues (RIOT-OS#19325)
* Fix `compile_like_murdock.py` when board is empty (RIOT-OS#19370)
* make: pass make jobserver to cargo (RIOT-OS#19203)
* Makefile.dep: pull in FEATURES_REQUIRED for periph (RIOT-OS#19234)
* toolchain/gnu.inc.mk: don't check version if CC is not installed (RIOT-OS#19137)
Kconfig
-------
* drivers/sx126x: make MODULE_SX126X_RF_SWITCH hidden in kconfig (RIOT-OS#19194)
* Fix SX126X-STM32WL module in Kconfig (RIOT-OS#19191)
Examples
--------
+ examples/gnrc_border_router: add BLE as downlink option (RIOT-OS#19321)
Testing
-------
+ bors.yaml: re-activate labels check + add block_labels (RIOT-OS#19161)
+ CI: re-add "synchronize" event to check-labels (RIOT-OS#19136)
+ gh-actions: report release-tests result to Matrix (RIOT-OS#19102)
* CI: .murdock: fix bors fast build (RIOT-OS#19241)
* CI: .murdock: use build checkout for ccache tmp (RIOT-OS#19274)
* CI: separate check-labels and check-commits workflows (RIOT-OS#19120)
* CI: update check-labels-action (RIOT-OS#19101)
* test/periph_rtc: reset struct tm time between tests (RIOT-OS#19344)
* tests/gnrc_rpl: Disable CI test for native (RIOT-OS#19171)
* tests/periph_flashpage_unittest: enable periph_flashpage (RIOT-OS#19215)
API Changes
-----------
+ usbdev: Add dedicated stall functions (RIOT-OS#17086)
* drivers/mtd_flashpage: implement pagewise API, don't use raw
addresses (RIOT-OS#19258)
* gcoap: Finish the gcoap_get_resource_list_tl ->
gcoap_get_resource_list renaming (RIOT-OS#19295)
+ drivers/servo: reimplement with high level interface (RIOT-OS#18392)
* cpu/esp_common: use generic WIFI_SSID/WIFI_PASS defines (RIOT-OS#19286)
+ sys/vfs: add force option to vfs_umount() (RIOT-OS#19320)
Uncategorized
-------------
+ MAINTAINING.md: add some notes on Bors (RIOT-OS#19329)
+ RDM: The 802.15.4 Radio HAL (RIOT-OS#13943)
* SECURITY: Describe that declassification is an option (RIOT-OS#19149)
* SUBSYSTEMS.md: migrate subsystem list from wiki (RIOT-OS#19060)
And 57 minor changes.
Bug fixes (53)
==============
* boards/common: add common timer config for GD32VF103 boards (RIOT-OS#19205)
* cpu/esp_common: Add missing disconnect reasons (RIOT-OS#19381)
* Make: Add generate-Makefile.ci (RIOT-OS#19244)
* usbus: Add support for full speed with high speed phy (RIOT-OS#19438)
* boards/common/cc26xx cc13xx: clean up and fix flash configs (RIOT-OS#19050)
* boards/esp32s2-lilygo-ttgo-t8: fix STDIO selection in Kconfig (RIOT-OS#19287)
* boards/remote-*: drop custom led_init() (RIOT-OS#19348)
* boards/seeedstudio-gd32: fix HXTAL clock in Kconfig (RIOT-OS#19129)
* boards/stm32f4discovery: use default port to access stdio via cdc acm (RIOT-OS#19376)
* boards: fix USB configuration for stm32f429i-disco (RIOT-OS#19437)
* cord: include gcoap_req_send returning 0 in error (RIOT-OS#19383)
* cpu/esp32: fix and improve UART initialization (RIOT-OS#19146)
* cpu/esp32: fix stdio_usb_serial_jtag for ESP32-C3 (RIOT-OS#19415)
* cpu/esp32: fixes for boot issues and crashes on ESP32 (RIOT-OS#19192)
* cpu/esp32: use ets_printf instead of puts in startup (RIOT-OS#19420)
* cpu/gd32v: fix gpio_read in periph_gpio (RIOT-OS#19418)
* cpu/gd32v: move board dependent RTT configs to board config (RIOT-OS#19211)
* cpu/stm32: Fix periph_spi operation in non-DMA mode (RIOT-OS#19431)
* dist/tools/esptools/export.sh: fixes IDF_TOOLS_PATH default setting (RIOT-OS#19125)
* dist/tools/openocd: fix problems with riotboot caused by _flash_addr
function for OpenOCD v0.12 (RIOT-OS#19409)
* driver/usbdev_synopsys_dwc2: use correct number of EPs (RIOT-OS#19380)
* drivers/at86rf2xx: fix default page being ignored [backport 2023.04] (RIOT-OS#19473)
* drivers/usbdev_synopsys_dwc2: disable DMA mode (RIOT-OS#19388)
* drivers/usbdev_synopsys_dwc2: fix and re-enable DMA mode (RIOT-OS#19397)
* drivers/usbus_synopsys_dwc2: fix interrupt handling in DMA mode
[backport 2023.04] (RIOT-OS#19472)
* efm32/dac: Shift instead of masking (RIOT-OS#19318)
* gcoap: Do not send responses from multicast addresses (RIOT-OS#19272)
* gh-actions: check-labels: move to upstream fix (RIOT-OS#19160)
* gnrc_netif: set lower bound for IEEE802154_STACKSIZE_DEFAULT (RIOT-OS#19339)
* gnrc_static: don't parse address as prefix (RIOT-OS#19313)
* makefiles/boards/stm32: fix DFU_USB_ID handling (RIOT-OS#19374)
* makefiles/tools/serial.inc.mk: Handle new miniterm versions [backport
2023.04] (RIOT-OS#19489)
* matrix keypad: Fix memcpy bug in initialization (RIOT-OS#19162)
* nanocoap_sock: don't include token in empty ACK response (RIOT-OS#19366)
* native/stdio: Explicitly provide getchar (RIOT-OS#19330)
* pkg/esp8266_sdk: fix version string generation (RIOT-OS#19123)
* pkg/nimble/autoadv: fix flag comparisons (RIOT-OS#19235)
* pkg/tinyusb: fix default VID/PID configuration (RIOT-OS#19377)
* release-tests: fix PASSED chat message (RIOT-OS#19145)
* security fixes [backport 2023.04] (RIOT-OS#19497)
* shell/gnrc_icmpv6_echo: acquire ZTIMER_USEC clock for time
measurement (RIOT-OS#19055)
* socket_zep: only report size of single datagram (RIOT-OS#19121)
* sys/clif: Fixing out of bounds read under certain conditions (RIOT-OS#18746)
* sys/net/dhcpv6: include IA Prefix Option in SOLICIT (RIOT-OS#19225)
* sys/phydat: Fix unit confusion (RIOT-OS#19292)
* sys/shell: don't include suit command by default (RIOT-OS#19294)
* sys/suit: Ensure previous thread is stopped before reusing its stack (RIOT-OS#19199)
* sys/usbus/cdc/ecm: fix High-Speed mode (RIOT-OS#19358)
* sys/usbus: handle exceeding number of endpoints (RIOT-OS#19362)
* sys/ztimer: ztimer_mock: guard ztimer_ondemand static functions (RIOT-OS#19118)
* tests/driver_dac_dds: fix output of sine and saw functions (RIOT-OS#19251)
* tests/{sys_fido2_ctap/usbus_board_reset}: fix stdio_usb_serial_jtag
dependency (RIOT-OS#19261)
* usbus/msc: fixes for synopsys dwc2 [backport 2023.04] (RIOT-OS#19456)
Known issues
============
Network related issues (52)
---------------------------
* 6lo: RIOT does not receive packets from Linux when short_addr is set (RIOT-OS#11033)
* [gcoap-dtls] Posting a message yields a stack overflow on the
`samr21-xpro` with ECC (RIOT-OS#18292)
* Address registration handling inappropriate (RIOT-OS#15867)
* app/netdev: application stops working after receiving frames with
assertion or completely without error (RIOT-OS#8271)
* at86rf2xx: Dead lock when sending while receiving (RIOT-OS#8242)
* CC2538 RF overlapping PIN usage (RIOT-OS#8779)
* cpu/esp8266: Tracking open problems of esp_wifi netdev driver (RIOT-OS#10861)
* dist/tools/sliptty/start_network.sh: IPv6 connectivity is broken on
PC (RIOT-OS#14689)
* driver/mrf24j40: blocks shell input with auto_init_gnrc_netif (RIOT-OS#12943)
* drivers/at86rf215: Incorrect channel number set for subGHz (RIOT-OS#15906)
* DTLS examples cannot send message to localhost (RIOT-OS#14315)
* Emcute cannot create a double-byte name (RIOT-OS#12642)
* ethernet: Missing multicast addr assignment (RIOT-OS#13493)
* ethos: fails to respond to first message. (RIOT-OS#11988)
* ethos: Unable to choose global source address. (RIOT-OS#13745)
* ethos: Unable to handle fragmented IPv6 packets from Linux kernel (RIOT-OS#12264)
* examples/cord_ep: Dead lock when (re-)registering in callback
function (RIOT-OS#12884)
* examples/gnrc_border_router: esp_wifi crashes on disconnect (RIOT-OS#14679)
* Forwarding a packet back to its link layer source should not be
allowed (RIOT-OS#5051)
* gcoap example request on tap I/F fails with NIB issue (RIOT-OS#8199)
* gcoap: Suspected crosstalk between requests (possible NULL call) (RIOT-OS#14390)
* gnrc ipv6: multicast packets are not dispatched to the upper layers (RIOT-OS#5230)
* gnrc_border_router stops routing after a while (RIOT-OS#16398)
* gnrc_icmpv6_echo: flood-pinging another node leads to leaks in own
packet buffer (RIOT-OS#12565)
* gnrc_ipv6: Multicast is not forwarded if routing node listens to the
address (RIOT-OS#4527)
* gnrc_netif_pktq leaks memory (RIOT-OS#17924)
* gnrc_rpl: missing bounds checks in _parse_options (RIOT-OS#16085)
* gnrc_rpl: nib route not updated when topology / DODAG changes (RIOT-OS#17327)
* gnrc_rpl: takes unusually long time to start routing packets (RIOT-OS#19147)
* gnrc_sock_udp: Possible Race condition on copy in application buffer (RIOT-OS#10389)
* gnrc_tcp: gnrc_tcp_recv() never generates -ECONNABORTED (RIOT-OS#17896)
* gomach: Resetting netif with cli doesn't return (RIOT-OS#10370)
* ieee802154_submac: IPv6 fragmentation broken (RIOT-OS#16998)
* LoRaWan node ISR stack overflowed (RIOT-OS#14962)
* lwip_sock_tcp / sock_async: received events before calling
sock_accept() are lost due to race condition. (RIOT-OS#16303)
* Missing drop implementations in netdev_driver_t::recv (RIOT-OS#10410)
* Neighbor Discovery not working after router reboot when using SLAAC (RIOT-OS#11038)
* netdev_ieee802154: Mismatch between radio ll address and in memory
address (RIOT-OS#10380)
* nrf52: Not able to add global or ULA address to interface (RIOT-OS#13280)
* nrfmin: communication not possible after multicast ping with no
interval (RIOT-OS#11405)
* ping6 is failing when testing with cc2538dk (RIOT-OS#13997)
* pkg/tinydtls: auxiliary data API does not work for async sockets (RIOT-OS#16054)
* Possible memory leak in RIOT/build/pkg/ndn-riot/app.c (RIOT-OS#15638)
* Riot-os freezes with lwip + enc28j60 + stm32L4 (RIOT-OS#13088)
* samr30 xpro doesn't seem to use its radio ok (RIOT-OS#12761)
* scan-build errors found during 2019.07 testing (RIOT-OS#11852)
* send data with UDP at 10HZ, the program die (RIOT-OS#11860)
* stale border router does not get replaced (RIOT-OS#12210)
* test/lwip: enabling both, IPv4 and IPv6, results in unexpected
behavior (RIOT-OS#18097)
* tests/lwip: does not compile for IPv4 on 6LoWPAN-based boards. (RIOT-OS#17162)
* two nodes livelock sending neighbor solicitations back and forth
between each other (RIOT-OS#16670)
* xbee: setting PAN ID sometimes fails (RIOT-OS#10338)
Timer related issues (9)
------------------------
* cpu/native: timer interrupt issue (RIOT-OS#6442)
* misc issues with tests/trickle (RIOT-OS#9052)
* MSP430: periph_timer clock config wrong (RIOT-OS#8251)
* periph/timer: `timer_set()` underflow safety check (tracking issue) (RIOT-OS#13072)
* periph_timer: systematic proportional error in timer_set (RIOT-OS#10545)
* saml21 system time vs rtc (RIOT-OS#10523)
* Sleep mode for Arduino (RIOT-OS#13321)
* stm32_common/periph/rtc: current implementation broken/poor accuracy (RIOT-OS#8746)
* sys/newlib: gettimeofday() returns time since boot, not current wall
time. (RIOT-OS#9187)
Drivers related issues (16)
---------------------------
* adc is not a ADC-Driver but a analog pin abstraction (RIOT-OS#14424)
* at86rf2xx: Simultaneous use of different transceiver types is not
supported (RIOT-OS#4876)
* cpu/msp430: GPIO driver doesn't work properly (RIOT-OS#9419)
* driver/hts221: Temperature and Humidity readings incorrect (RIOT-OS#12445)
* examples/dtls-wolfssl not working on pba-d-01-kw2x (RIOT-OS#13527)
* fail to send data to can bus (RIOT-OS#12371)
* floats and doubles being used all over the place. (RIOT-OS#12045)
* mdt_erase success, but vfs_format resets board (esp32-heltec-
lora32-v2) (RIOT-OS#14506)
* periph/spi: Switching between CPOL=0,1 problems on Kinetis with
software CS (RIOT-OS#6567)
* periph: GPIO drivers are not thread safe (RIOT-OS#4866)
* Potential security and safety race conditions on attached devices (RIOT-OS#13444)
* PWM: Single-phase initialization creates flicker (RIOT-OS#15121)
* STM32: SPI clock not returning to idle state and generating
additional clock cycles (RIOT-OS#11104)
* TCP client cannot send read only data (RIOT-OS#16541)
* tests/periph_flashpage: unexpected behavior on nucleo-l4r5zi (RIOT-OS#17599)
* Two bugs may lead to NULL dereference. (RIOT-OS#15006)
Native related issues (4)
-------------------------
* examples/micropython: floating point exception while testing on
native (RIOT-OS#15870)
* native getchar is blocking RIOT (RIOT-OS#16834)
* native not float safe (RIOT-OS#495)
* native: tlsf: early malloc will lead to a crash (RIOT-OS#5796)
Other platforms related issues (16)
-----------------------------------
* Failing tests on FE310 (Hifive1b) (RIOT-OS#13086)
* [TRACKING] Fixes for automatic tests of ESP32 boards. (RIOT-OS#12763)
* boards/hifive1: flashing issue (RIOT-OS#13104)
* Cannot use LLVM with Cortex-M boards (RIOT-OS#13390)
* cpu/sam0: flashpage write / read cycle produces different results
depending on code layout in flash (RIOT-OS#14929)
* cpu/stm32f1: CPU hangs after wake-up from STOP power mode (RIOT-OS#13918)
* esp32-wroom-32: tests/netstats_l2 failing sometimes (RIOT-OS#14237)
* examples/gnrc_border_router: esp_wifi_init failed with return value
257 on ESP32-C3 with nimble_rpble (RIOT-OS#19319)
* gcoap/esp8266: Stack overflow with gcoap example (RIOT-OS#13606)
* MPU doesn't work on cortex-m0+ (RIOT-OS#14822)
* newlib-nano: Printf formatting does not work properly for some
numeric types (RIOT-OS#1891)
* periph_timer: Test coverage & broken on STM32F767ZI (RIOT-OS#15072)
* riscv: ISR stack is too small for ENABLE_DEBUG in core files (RIOT-OS#16395)
* stm32152re: hardfault when DBGMCU_CR_DBG* bits are set and branch
after __WFI() (RIOT-OS#14015)
* stm32f7: Large performance difference between stm32f746 and stm32f767 (RIOT-OS#14728)
* sys/riotboot/flashwrite: unaligned write when skipping
`RIOTBOOT_MAGIC` on stm32wb (RIOT-OS#15917)
Build system related issues (11)
--------------------------------
* `buildtest` uses wrong build directory (RIOT-OS#9742)
* `make -j flash` fails due to missing make dependencies or `make
flash-only` rebuilds the .elf (RIOT-OS#16385)
* Build dependencies - processing order issues (RIOT-OS#9913)
* build: info-build doesn't work with boards without port set (RIOT-OS#15185)
* BUILD_IN_DOCKER ignores USEMODULE (RIOT-OS#14504)
* dist/tools/cppcheck/cppchck.sh: errors when running with Cppcheck
1.89 (RIOT-OS#12771)
* doxygen: riot.css modified by 'make doc' (RIOT-OS#8122)
* macros: RIOT_FILE_RELATIVE printing wrong file name for headers (RIOT-OS#4053)
* make: ccache leads to differing binaries (RIOT-OS#14264)
* make: use of immediate value of variables before they have their
final value (RIOT-OS#8913)
* Tracking: remove harmful use of `export` in make and immediate
evaluation (RIOT-OS#10850)
Other issues (48)
-----------------
* 2023.04 release bug tracking (RIOT-OS#19469)
* [TRACKING] sys/shell refactoring. (RIOT-OS#12105)
* _NVIC_SystemReset stuck in infinite loop when calling pm_reboot
through shell after flashing with J-Link (RIOT-OS#13044)
* `make term` no longer works with JLinkExe v6.94 (RIOT-OS#16022)
* Basic test for periph/rtt introduced in RIOT-OS#15431 is incorrect (RIOT-OS#15940)
* boards/esp32-wroom-32: tests/mtd_raw flakey (RIOT-OS#16130)
* Bug: openocd 0.10.0-6 Ubuntu dies while debugging with -rtos auto (RIOT-OS#13285)
* Can't build relic with benchmarks or tests (RIOT-OS#12897)
* CC2538DK board docs: broken links (RIOT-OS#12889)
* cpu/stm32/periph/rtc overflow error (RIOT-OS#16574)
* cpu/stm32: some tests are failing on CM33 (l5, u5) (RIOT-OS#17439)
* doc/LOSTANDFOUND: not rendered as expected (RIOT-OS#17063)
* edbg: long lines flooded over serial become garbled (RIOT-OS#14548)
* examples / tests: LoRa tests fail on platforms that don't support
LoRa (RIOT-OS#14520)
* feather-m0: `make flash` reports "device unsupported" (RIOT-OS#17722)
* flashing issue on frdm-k64f (RIOT-OS#15903)
* frdm-k22f failing tests/periph_flashpage (RIOT-OS#17057)
* I2C not working under RIOT with U8G2 pkg (RIOT-OS#16381)
* ieee802154_security: Nonce is reused after reboot (RIOT-OS#16844)
* lwip: drivers/at86rf2xx/at86rf2xx_netdev.c invalid state during TCP
disconnect (RIOT-OS#17209)
* lwip: invalid state transition on ieee802154_submac users (RIOT-OS#17208)
* Making the newlib thread-safe (RIOT-OS#4488)
* mcuboot: flashes but no output (RIOT-OS#17524)
* nanocoap: incomplete response to /.well-known/core request (RIOT-OS#10731)
* newlib-nano: Printf formatting does not work properly with `"PRIu8"` (RIOT-OS#17083)
* Order of auto_init functions (RIOT-OS#13541)
* pkg/tinydtls: Multiple issues (RIOT-OS#16108)
* pkg_libhydrogen tests fail / update libhydrogen (RIOT-OS#18508)
* Potential race condition in compile_and_test_for_board.py (RIOT-OS#12621)
* RIOT is saw-toothing in energy consumption (even when idling) (RIOT-OS#5009)
* riotboot/nrf52840dk: flashing slot1 with JLINK fails (RIOT-OS#14576)
* riotboot: ECC faults (eg. in STM32L5 or STM32WB) not handled
gracefully (RIOT-OS#17874)
* rust-gcoap example is incompatible with littlefs2 (RIOT-OS#17817)
* SPI access in LoRa-e5 and im880b? (RIOT-OS#19025)
* stdio_ethos: infinite shell loop (RIOT-OS#17972)
* stdio_tinyusb_cdc_acm hangs with picolibc (RIOT-OS#19277)
* sys/riotboot: documentation issues (RIOT-OS#11243)
* sys/stdio_uart: dropped data when received at once (RIOT-OS#10639)
* tests/cpp11_*: failing on i-nucleo-lrwan1 (RIOT-OS#14578)
* tests/lwip target board for python test is hardcoded to native (RIOT-OS#6533)
* tests/periph_flashpage: failing on stm32l475ve (RIOT-OS#17280)
* tests/pkg_libhydrogen: test fails on master for the samr21-xpro with
LLVM (RIOT-OS#15066)
* tests/pkg_libschc: Failing test_reassemble_success_ack_always (RIOT-OS#19445)
* tests/test_tools: test fails while testing on samr21-xpro/iotlab-m3 (RIOT-OS#15888)
* tests: broken with stdio_rtt if auto_init is disabled (RIOT-OS#13120)
* tests: some tests don't work with `newlib` lock functions. (RIOT-OS#12732)
* usbus/msc: wrong error handling and behavior after usb reset (RIOT-OS#19478)
* Use of multiple CAN bus on compatible boards (RIOT-OS#14801)
There are 156 known issues in this release
Fixed Issues since the last release (2023.01)
=============================================
- bootloader: BTN_BOOTLOADER_INVERTED doesn't work as expected. (RIOT-OS#19364)
- Race condition in SUIT around threads terminating (RIOT-OS#19195)
- socket_zep: fragmentation broken if destination is multicast /
ACK_REQ not set (RIOT-OS#19117)
3 fixed issues since last release (2023.01)
Boards tested during this release
=================================
- `esp32-wroom-32` PASS
- `nrf52840dk` PASS
- `nucleo-f429zi` PASS
- `samr21-xpro` PASS
- `arduino-mega2560` FAIL
- `b-l072z-lrwan1` FAIL
- `b-l475e-iot01a` FAIL
- `dwm1001` FAIL
- `frdm-kw41z` FAIL
- `iotlab-m3` FAIL
- `nrf52dk` FAIL
- `nucleo-l452re` FAIL
- `nucleo-wl55jc` FAIL
- `remote-revb` FAIL
- `saml10-xpro` FAIL
- `samr34-xpro` FAIL
See the release tracking issue (RIOT-OS#19469) for more details.
Acknowledgements
================
We would like to thank all companies that provided us with hardware for porting
and testing RIOT-OS. Further thanks go to companies and institutions that
directly sponsored development time. And finally, big thanks to all of you
contributing in so many different ways to make RIOT worthwhile!
More information
================
http://www.riot-os.org
Matrix and Forum
================
* Join the RIOT Matrix room at: #riot-os:matrix.org
* Join the RIOT Forum at: forum.riot-os.org
License
=======
* The code developed by the RIOT community is licensed under the GNU Lesser
General Public License (LGPL) version 2.1 as published by the Free Software
Foundation.
* Some external sources and packages are published under a separate license.
All code files contain licensing information.
Merge RIOT-OS#19497 19497: security fixes [backport 2023.04] r=kaspar030 a=MrKevinWeiss ### Contribution description ### Testing procedure ### Issues/PRs references Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
Merge RIOT-OS#19479 19479: gnrc_netif/lorawan: fix setting nwkskey via NETOPT [backport 2023.04] r=leandrolanzieri a=MrKevinWeiss # Backport of RIOT-OS#19475 Co-authored-by: Jose Alamos <jose@alamos.cc>
Merge RIOT-OS#19431 19431: cpu/stm32: Fix periph_spi operation in non-DMA mode r=MrKevinWeiss a=maribu ### Contribution description The driver previously failed to reliably clear the RXNE bit, resulting in the next transfer to incorrectly read a stale register value. This was noticed with the SD card SPI driver on an STM32F4, in which the 0xff byte of the previous byte transfer was returned instead of the actual status byte, throwing the SD card driver off the rails. ### Testing procedure Connecting an SD card via SPI to a Nucleo-2F429ZI should now result is almost reliable operation. ### Issues/PRs references None Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
RELEASE 2023.01
RIOT-2023.01 - Release Notes
============================
RIOT is a multi-threading operating system which enables soft real-time
capabilities and comes with support for a range of devices that are typically
found in the Internet of Things: 8-bit and 16-bit microcontrollers as well as
light-weight 32-bit processors.
RIOT is based on the following design principles: energy-efficiency, soft
real-time capabilities, small memory footprint, modularity, and uniform API
access, independent of the underlying hardware (with partial POSIX compliance).
RIOT is developed by an international open-source community which is
independent of specific vendors (e.g. similarly to the Linux community) and is
licensed with a non-viral copyleft license (LGPLv2.1), which allows indirect
business models around the free open-source software platform provided by RIOT.
About this release
==================
We are proud to announce the release of RIOT 2023.01, marking the tenth
anniversary of the project. Over the past decade, RIOT has become a thriving
open-source community, delivering cutting-edge technology for Internet of
Things (IoT) devices. This release builds on top of the hard work and
dedication of our developers, users, and contributors, and we would like to
extend a heartfelt thank you to everyone who has been a part of our journey.
Here's to another decade of innovation and growth!
Noteworthy changes the 2023.01 release includes, among many fixes and little
things:
- ztimer_ondemand: The next step towards seamless and automatic power management.
- The Rust examples now default to stable Rust.
187 pull requests, composed of 570 commits, have been merged since the
last release, and 13 issues have been solved. 37 people contributed with
code in 58 days. 1248 files have been touched with 516544 (+) insertions and
12047 deletions (-).
Notations used below
====================
+ means new feature/item
* means modified feature/item
- means removed feature/item
New features and changes
========================
Core
----
* core/lib: define MAYBE_UNUSED (RIOT-OS#18884)
* core/marco: fix DIV_ROUND (RIOT-OS#18858)
System Libraries
----------------
+ congure_abe: initial import of TCP Alternative Backoff with ECN for
CongURE (RIOT-OS#15968)
+ congure_quic: initial import of QUIC congestion control (RIOT-OS#15952)
+ pkg/tinyusb: add common USB descriptors implementation (RIOT-OS#18835)
+ sys/bitfield: add bf_find_first_{set, unset}() (RIOT-OS#18833)
+ sys/bitfield: add bf_popcnt() (RIOT-OS#18879)
+ sys/malloc_tracing: add module to trace dyn memory management (RIOT-OS#18912)
+ sys/stdio_uart: add stdio_uart_onlcr (pseudo-) module (RIOT-OS#18731)
+ sys/tiny_strerror: add tiny_strerror_minimal (RIOT-OS#18768)
+ ztimer: add ztimer_ondemand module for implicit power management (RIOT-OS#17607)
* rust: Use stable Rust (RIOT-OS#18839)
* suit: start worker thread on demand, make suit_handle_url() public (RIOT-OS#18551)
* sys/pm_layered: align pm_blocker_t for speed (RIOT-OS#18846)
* sys/print_stack_usage: update MIN_SIZE (RIOT-OS#18917)
* sys/shell: drop ping6 alias (RIOT-OS#18931)
* sys: preprocessor successor module (RIOT-OS#18299)
* tests/pbkdf2: de-flanky-fy test (RIOT-OS#18932)
* usbus/hid: fix buffer overflow in hid_io (RIOT-OS#18860)
Networking
----------
+ examples/gcoap: add IPv4 support (RIOT-OS#17763)
+ gnrc/ipv6_auto_subnets: add CONFIG_GNRC_IPV6_AUTO_SUBNETS_STATIC
option (RIOT-OS#17429)
+ gnrc_sixlowpan_frag_sfr: add support for queue-based ECN (RIOT-OS#16175)
+ gnrc_sixlowpan_frag_sfr: provide CongURE support (RIOT-OS#16156)
+ nanocoap: add support for no-response option (RIOT-OS#18154)
+ sys/net/nanocoap: introduce Accept option helper (RIOT-OS#18772)
+ sys/net: add Size1 and Size2 option numbers (RIOT-OS#18799)
* drivers/at86rf2xx: migrate to ztimer (RIOT-OS#18822)
* gnrc: make pseudo-modules explicit + documentation improvements (RIOT-OS#18727)
* gnrc_sock_udp: accept response from any address if remote is
multicast (RIOT-OS#18854)
* gnrc_udp: use small stack-size (RIOT-OS#18709)
* net/nanocoap: remove coap_pkt token ptr (RIOT-OS#17983)
* paho: use GNRC instead of lwip (RIOT-OS#18982)
* sys/include: remove kernel_defines.h where not needed (RIOT-OS#18887)
Packages
--------
* pkg/arduino_sdi_12: bump version, fix patches (RIOT-OS#18796)
* pkg/lvgl: bump to 8.3.3 (RIOT-OS#18794)
* pkg/tinyusb: support for multiple configuration descriptors (RIOT-OS#18983)
* pkg/wamr: Update to WAMR-1.1.1 (RIOT-OS#18994)
Boards
------
+ boards/cc1350: add info concerning shell access (RIOT-OS#18808)
+ boards/dwm1001: add saul_gpio support (RIOT-OS#18818)
+ boards/lora-e5-dev: add arduino feature (RIOT-OS#18792)
+ boards/nucleo-l496zg: add ADC support (RIOT-OS#18940)
+ boards: add support for EFM32GG12 Thunderboard Kit (SLTB009A) (RIOT-OS#18755)
+ cpu/efm32: add periph_adc support for Gecko Series 2 (RIOT-OS#18933)
+ cpu/efm32: add periph_uart_modecfg support for Gecko Series 2 (RIOT-OS#18946)
+ drivers/usbdev_synopsys_dwc2: add support for internal UTMI HS PHY (RIOT-OS#18714)
+ EFM32: add cpu family EFR32ZG23 and board xG23-PK6068A (RIOT-OS#18780)
+ pkg/tinyusb: add nrf52 support (RIOT-OS#18781)
+ pkg/tinyusb: add STM32 USB FS device driver (RIOT-OS#18786)
+ pkg/tinyusb: add ULPI and UTMI+ HS PHY support for STM32 USB OTG HS
ports (RIOT-OS#18776)
* boards/blxxxpill-128kib: default to CDC ACM for stdio (RIOT-OS#18743)
* boards/common/nrf52: improve default clock config (RIOT-OS#18811)
* boards/im880b: refactor code (RIOT-OS#18451)
* boards/nucleo-f207zg: support for ADC (RIOT-OS#18847)
* boards/nucleo-l* and g*: update doc concerning Vbat (RIOT-OS#18984)
* cpu/stm32: Fix stm clock configuration (RIOT-OS#18797)
CPU
---
+ cpu/saml21: add interaction with pm_layered for peripheral drivers (RIOT-OS#18821)
+ cpu/stm32: add unused backup RAM as extra heap (RIOT-OS#18921)
+ debug_irq_disable: add module to debug time spent in irq_disable (RIOT-OS#18795)
* boards/native: Remove macOS as native target (RIOT-OS#18735)
* cpu/efm32: preparing introduction of Gecko Series 2 (RIOT-OS#18764)
* cpu/saml21/pm: allow blocking IDLE mode (RIOT-OS#18825)
* cpu/stm32: improvement of USB device driver selection (RIOT-OS#18787)
* makefiles/cflags.inc.mk: don't include absolute path in __FILE__
macro (RIOT-OS#18913)
* makefiles/gnu.inc.mk: set flags based on compiler version (RIOT-OS#18935)
* pkg/gecko_sdk: Bump to version 4.1.2 (RIOT-OS#18739)
* pkg/tinyusb: implement stdio via CDC ACM (RIOT-OS#18804)
* sam0/rtc_rtt: optimizations to get around the painful long syncwaits (RIOT-OS#18920)
* socket_zep: make use of crc16_ccitt_false_update() (RIOT-OS#18779)
* treewide: replace RIOT_FILE_RELATIVE with __FILE__ (RIOT-OS#18936)
Device Drivers
--------------
+ drivers/at: add a function read a response plus the OK (RIOT-OS#18753)
+ matrix_keypad: Add matrix-style keypad module (RIOT-OS#18733)
* drivers/at86rf2xx: isolate netdev logic (RIOT-OS#18988)
* drivers/sdcard_spi: make use of crc16_ccitt_false_update() (RIOT-OS#18778)
Documentation
-------------
* boards/cc13xx_cc26xx: remove broken HTML links and headings in doc (RIOT-OS#18809)
* boards/nucleo-l4r5zi: doc improvements (RIOT-OS#18747)
* docs/kconfig: "not longer" -> "no longer" typo (RIOT-OS#18922)
* pkg/tinyusb: update doc for tusb_app_config.h and common descriptor
handling (RIOT-OS#18901)
Build System / Tooling
----------------------
+ .vscode: import initial RIOT-OS style (RIOT-OS#18945)
+ build-system: add capability to execute scripts with custom executor (RIOT-OS#18770)
+ dist/tools: add "RESET_PIN" value for the dwm1001 (RIOT-OS#18815)
+ examples/gnrc_border_router: add option to re-use existing TAP
interface (RIOT-OS#18836)
+ makefiles/tools/serial.inc.mk: add support for bootterm (RIOT-OS#18749)
+ tapsetup: add --loss & --delay option (RIOT-OS#18885)
+ tools/cpy2remed: add support for NOD_xxxx removable media (RIOT-OS#18824)
* build system: fix compilation with LLVM (RIOT-OS#18845)
* CI: can_fast_ci_build.py unittests fix (RIOT-OS#18996)
* dist/tools/pyterm: avoid deprecated .setDaemon (RIOT-OS#18754)
* utils/uncrustify: display warning instead of error (RIOT-OS#18877)
Kconfig
-------
+ pkg/tinyusb: add Kconfig support for stdio_tinyusb_cdc_acm (RIOT-OS#19007)
Examples
--------
* examples/gcoap: replace _parse_endpoint by sock_udp_name2ep (RIOT-OS#17870)
* examples/timer_periodic_wakeup: switch to ztimer (RIOT-OS#19001)
* examples: Remove macOS references in README (RIOT-OS#18850)
Testing
-------
+ tests/pkg_tinyusb*: add a BOARD to make make build (RIOT-OS#18888)
* CI: drop obsolete murdock note (RIOT-OS#18905)
* CI: update murdock yml (RIOT-OS#19022)
* test/unittest: cleanup most vera++ complains (RIOT-OS#18807)
* tests/bitarithm_timings: shorten timeout from 5s to 200ms (RIOT-OS#18894)
* tests/periph_timer: also test for spurious IRQs (RIOT-OS#18963)
* unittests/uri_parser: Rework tests to be more verbose (RIOT-OS#18734)
API Changes
-----------
+ nanocoap: add request context to coap_handle_req() (RIOT-OS#18816)
Uncategorized
-------------
+ release-notes.txt: add 2022.10 release notes (RIOT-OS#18947)
* .drone: Remove unmaintained .drone file (RIOT-OS#18832)
* README.md: update CI badge (RIOT-OS#18685)
* README.md: update features (RIOT-OS#18777)
And 38 minor changes.
Bug fixes (44)
==============
* pkg/tinyusb: add usb_board_reset support (RIOT-OS#19006)
* boards/common/blxxxpill: Fix pin conflicts in periph_conf (RIOT-OS#18785)
* boards/common/nrf52: fix timer config (RIOT-OS#18948)
* boards/dwm1001: use lis2dh12_i2c instead of lis2dh12_spi (RIOT-OS#18857)
* bootloaders/riotboot_dfu: fixes including sys/usb/usbus/dfu (RIOT-OS#18964)
* core/mbox: fix race condition (RIOT-OS#18955)
* cpu/atmega_common/periph_timer: fix spurious IRQs (RIOT-OS#18978)
* cpu/efm32/pm: fix blocking EM1 (RIOT-OS#18775)
* cpu/efm32/timer_series2: fix interaction with pm_layered (RIOT-OS#18814)
* cpu/esp32: set bootloader XTAL frequency configuration to automatic (RIOT-OS#18829)
* cpu/esp{32,8266}/periph_timer: allow changing callback or freq (RIOT-OS#18971)
* cpu/nrf5x/timer: fix high current consumption in powered off state (RIOT-OS#18953)
* cpu/nrf5x/uart: run STOPTX task after finished tx (RIOT-OS#18954)
* cpu/nrf5x_common/periph_timer: fix spurious IRQs (RIOT-OS#18970)
* cpu/qn908x: use bitarithm_test_and_clear() & fix cb (RIOT-OS#18989)
* cpu/stm32/periph_timer: fix spurious IRQs and race conditions (RIOT-OS#18969)
* cpu/stm32: fix periph_dma (RIOT-OS#18711)
* cpu/stm32: fix RAM_LEN for F427, F429, F437, F439 models (RIOT-OS#18919)
* dist/tools/usb-serial: fix exception on missing entries (RIOT-OS#19011)
* drivers/atwinc15x0: don't disable interrupts (RIOT-OS#18800)
* drivers/ethos: Fix off-by-one bug (RIOT-OS#18823)
* drivers/slipdev: fix off-by-one error in _recv() (RIOT-OS#18826)
* drivers/usbdev_synopsys_dwc2: small fixes (RIOT-OS#18759)
* Fix kconfig mismatch breaking nightlies (RIOT-OS#18805)
* gnrc: Fix unused function error when using LLVM (RIOT-OS#18852)
* gnrc_sixlowpan: Various hardening fixes (RIOT-OS#18817)
* makefiles/libc/picolibc.mk: fix compilation with modern binutils (RIOT-OS#18893)
* nanocoap_sock: don't store entire sock in coap_block_request_t (RIOT-OS#18827)
* nanocoap_sock: only re-transmit CON messages (RIOT-OS#18819)
* pkg/nimble: signal LINK_UP on initialisation (RIOT-OS#18979)
* pkg/tinyusb: fix the reset of the USB connection for STM32 boards
without internal D+ pullup (RIOT-OS#18992)
* pkg/utensor: fix uninitialized variable (RIOT-OS#18862)
* sam0_common: use size_t len for I2C transfers (fixes RIOT-OS#19008) (RIOT-OS#19009)
* sys/clif: Fixing out of bounds read under certain conditions (RIOT-OS#18744)
* sys/net/gnrc/pkt: fix gnrc_pkt_delete() (RIOT-OS#18874)
* sys/net/grnc/netreg: avoid freeing wild pointers (RIOT-OS#18951)
* sys/stdio_uart: fix undefined behavior (RIOT-OS#18774)
* sys/uri_parser: fixing potential out of bounds read when consuming
ports (RIOT-OS#19016)
* sys/ztimer: model ztimer_periph_lptimer for Kconfig (RIOT-OS#18783)
* test-on-iotlab: several fixes to make it runnable again (RIOT-OS#18722)
* tests/congure_abe: reset node before starting terminal (RIOT-OS#18769)
* tests/pkg_utensor: increase main threads stack size (RIOT-OS#18952)
* tests/shell: fix failure on samr21-xpro (RIOT-OS#18891)
* tests: set netdev `event_callback` before calling init (RIOT-OS#18745)
* tools/backport_pr: finally fix running outside of repo's root (RIOT-OS#18881)
Known issues
============
Network related issues (52)
---------------------------
* 6lo: RIOT does not receive packets from Linux when short_addr is set (RIOT-OS#11033)
* [gcoap-dtls] Posting a message yields a stack overflow on the
`samr21-xpro` with ECC (RIOT-OS#18292)
* Address registration handling inappropriate (RIOT-OS#15867)
* app/netdev: application stops working after receiving frames with
assertion or completely without error (RIOT-OS#8271)
* at86rf2xx: Dead lock when sending while receiving (RIOT-OS#8242)
* CC2538 RF overlapping PIN usage (RIOT-OS#8779)
* cpu/esp8266: Tracking open problems of esp_wifi netdev driver (RIOT-OS#10861)
* dist/tools/sliptty/start_network.sh: IPv6 connectivity is broken on
PC (RIOT-OS#14689)
* driver/mrf24j40: blocks shell input with auto_init_gnrc_netif (RIOT-OS#12943)
* drivers/at86rf215: Incorrect channel number set for subGHz (RIOT-OS#15906)
* DTLS examples cannot send message to localhost (RIOT-OS#14315)
* Emcute cannot create a double-byte name (RIOT-OS#12642)
* ethernet: Missing multicast addr assignment (RIOT-OS#13493)
* ethos: fails to respond to first message. (RIOT-OS#11988)
* ethos: Unable to choose global source address. (RIOT-OS#13745)
* ethos: Unable to handle fragmented IPv6 packets from Linux kernel (RIOT-OS#12264)
* examples/cord_ep: Dead lock when (re-)registering in callback
function (RIOT-OS#12884)
* examples/gnrc_border_router: esp_wifi crashes on disconnect (RIOT-OS#14679)
* Forwarding a packet back to its link layer source should not be
allowed (RIOT-OS#5051)
* gcoap example request on tap I/F fails with NIB issue (RIOT-OS#8199)
* gcoap: Suspected crosstalk between requests (possible NULL call) (RIOT-OS#14390)
* gnrc ipv6: multicast packets are not dispatched to the upper layers (RIOT-OS#5230)
* gnrc_border_router stops routing after a while (RIOT-OS#16398)
* gnrc_icmpv6_echo: flood-pinging another node leads to leaks in own
packet buffer (RIOT-OS#12565)
* gnrc_ipv6: Multicast is not forwarded if routing node listens to the
address (RIOT-OS#4527)
* gnrc_netif_pktq leaks memory (RIOT-OS#17924)
* gnrc_rpl: missing bounds checks in _parse_options (RIOT-OS#16085)
* gnrc_rpl: nib route not updated when topology / DODAG changes (RIOT-OS#17327)
* gnrc_rpl: takes unusually long time to start routing packets (RIOT-OS#19147)
* gnrc_sock_udp: Possible Race condition on copy in application buffer (RIOT-OS#10389)
* gnrc_tcp: gnrc_tcp_recv() never generates -ECONNABORTED (RIOT-OS#17896)
* gomach: Resetting netif with cli doesn't return (RIOT-OS#10370)
* ieee802154_submac: IPv6 fragmentation broken (RIOT-OS#16998)
* LoRaWan node ISR stack overflowed (RIOT-OS#14962)
* lwip_sock_tcp / sock_async: received events before calling
sock_accept() are lost due to race condition. (RIOT-OS#16303)
* Missing drop implementations in netdev_driver_t::recv (RIOT-OS#10410)
* Neighbor Discovery not working after router reboot when using SLAAC (RIOT-OS#11038)
* netdev_ieee802154: Mismatch between radio ll address and in memory
address (RIOT-OS#10380)
* nrf52: Not able to add global or ULA address to interface (RIOT-OS#13280)
* nrfmin: communication not possible after multicast ping with no
interval (RIOT-OS#11405)
* ping6 is failing when testing with cc2538dk (RIOT-OS#13997)
* pkg/tinydtls: auxiliary data API does not work for async sockets (RIOT-OS#16054)
* Possible memory leak in RIOT/build/pkg/ndn-riot/app.c (RIOT-OS#15638)
* Riot-os freezes with lwip + enc28j60 + stm32L4 (RIOT-OS#13088)
* samr30 xpro doesn't seem to use its radio ok (RIOT-OS#12761)
* scan-build errors found during 2019.07 testing (RIOT-OS#11852)
* send data with UDP at 10HZ, the program die (RIOT-OS#11860)
* stale border router does not get replaced (RIOT-OS#12210)
* test/lwip: enabling both, IPv4 and IPv6, results in unexpected
behavior (RIOT-OS#18097)
* tests/lwip: does not compile for IPv4 on 6LoWPAN-based boards. (RIOT-OS#17162)
* two nodes livelock sending neighbor solicitations back and forth
between each other (RIOT-OS#16670)
* xbee: setting PAN ID sometimes fails (RIOT-OS#10338)
Timer related issues (9)
------------------------
* cpu/native: timer interrupt issue (RIOT-OS#6442)
* misc issues with tests/trickle (RIOT-OS#9052)
* MSP430: periph_timer clock config wrong (RIOT-OS#8251)
* periph/timer: `timer_set()` underflow safety check (tracking issue) (RIOT-OS#13072)
* periph_timer: systematic proportional error in timer_set (RIOT-OS#10545)
* saml21 system time vs rtc (RIOT-OS#10523)
* Sleep mode for Arduino (RIOT-OS#13321)
* stm32_common/periph/rtc: current implementation broken/poor accuracy (RIOT-OS#8746)
* sys/newlib: gettimeofday() returns time since boot, not current wall
time. (RIOT-OS#9187)
Drivers related issues (16)
---------------------------
* adc is not a ADC-Driver but a analog pin abstraction (RIOT-OS#14424)
* at86rf2xx: Simultaneous use of different transceiver types is not
supported (RIOT-OS#4876)
* cpu/msp430: GPIO driver doesn't work properly (RIOT-OS#9419)
* driver/hts221: Temperature and Humidity readings incorrect (RIOT-OS#12445)
* examples/dtls-wolfssl not working on pba-d-01-kw2x (RIOT-OS#13527)
* fail to send data to can bus (RIOT-OS#12371)
* floats and doubles being used all over the place. (RIOT-OS#12045)
* mdt_erase success, but vfs_format resets board (esp32-heltec-
lora32-v2) (RIOT-OS#14506)
* periph/spi: Switching between CPOL=0,1 problems on Kinetis with
software CS (RIOT-OS#6567)
* periph: GPIO drivers are not thread safe (RIOT-OS#4866)
* Potential security and safety race conditions on attached devices (RIOT-OS#13444)
* PWM: Single-phase initialization creates flicker (RIOT-OS#15121)
* STM32: SPI clock not returning to idle state and generating
additional clock cycles (RIOT-OS#11104)
* TCP client cannot send read only data (RIOT-OS#16541)
* tests/periph_flashpage: unexpected behavior on nucleo-l4r5zi (RIOT-OS#17599)
* Two bugs may lead to NULL dereference. (RIOT-OS#15006)
Native related issues (4)
-------------------------
* examples/micropython: floating point exception while testing on
native (RIOT-OS#15870)
* native getchar is blocking RIOT (RIOT-OS#16834)
* native not float safe (RIOT-OS#495)
* native: tlsf: early malloc will lead to a crash (RIOT-OS#5796)
Other platforms related issues (15)
-----------------------------------
* Failing tests on FE310 (Hifive1b) (RIOT-OS#13086)
* [TRACKING] Fixes for automatic tests of ESP32 boards. (RIOT-OS#12763)
* boards/hifive1: flashing issue (RIOT-OS#13104)
* Cannot use LLVM with Cortex-M boards (RIOT-OS#13390)
* cpu/sam0: flashpage write / read cycle produces different results
depending on code layout in flash (RIOT-OS#14929)
* cpu/stm32f1: CPU hangs after wake-up from STOP power mode (RIOT-OS#13918)
* esp32-wroom-32: tests/netstats_l2 failing sometimes (RIOT-OS#14237)
* gcoap/esp8266: Stack overflow with gcoap example (RIOT-OS#13606)
* MPU doesn't work on cortex-m0+ (RIOT-OS#14822)
* newlib-nano: Printf formatting does not work properly for some
numeric types (RIOT-OS#1891)
* periph_timer: Test coverage & broken on STM32F767ZI (RIOT-OS#15072)
* riscv: ISR stack is too small for ENABLE_DEBUG in core files (RIOT-OS#16395)
* stm32152re: hardfault when DBGMCU_CR_DBG* bits are set and branch
after __WFI() (RIOT-OS#14015)
* stm32f7: Large performance difference between stm32f746 and stm32f767 (RIOT-OS#14728)
* sys/riotboot/flashwrite: unaligned write when skipping
`RIOTBOOT_MAGIC` on stm32wb (RIOT-OS#15917)
Build system related issues (11)
--------------------------------
* `buildtest` uses wrong build directory (RIOT-OS#9742)
* `make -j flash` fails due to missing make dependencies or `make
flash-only` rebuilds the .elf (RIOT-OS#16385)
* Build dependencies - processing order issues (RIOT-OS#9913)
* build: info-build doesn't work with boards without port set (RIOT-OS#15185)
* BUILD_IN_DOCKER ignores USEMODULE (RIOT-OS#14504)
* dist/tools/cppcheck/cppchck.sh: errors when running with Cppcheck
1.89 (RIOT-OS#12771)
* doxygen: riot.css modified by 'make doc' (RIOT-OS#8122)
* macros: RIOT_FILE_RELATIVE printing wrong file name for headers (RIOT-OS#4053)
* make: ccache leads to differing binaries (RIOT-OS#14264)
* make: use of immediate value of variables before they have their
final value (RIOT-OS#8913)
* Tracking: remove harmful use of `export` in make and immediate
evaluation (RIOT-OS#10850)
Other issues (44)
-----------------
* [TRACKING] sys/shell refactoring. (RIOT-OS#12105)
* _NVIC_SystemReset stuck in infinite loop when calling pm_reboot
through shell after flashing with J-Link (RIOT-OS#13044)
* `make term` no longer works with JLinkExe v6.94 (RIOT-OS#16022)
* Basic test for periph/rtt introduced in RIOT-OS#15431 is incorrect (RIOT-OS#15940)
* boards/esp32-wroom-32: tests/mtd_raw flakey (RIOT-OS#16130)
* Bug: openocd 0.10.0-6 Ubuntu dies while debugging with -rtos auto (RIOT-OS#13285)
* Can't build relic with benchmarks or tests (RIOT-OS#12897)
* CC2538DK board docs: broken links (RIOT-OS#12889)
* cpu/stm32/periph/rtc overflow error (RIOT-OS#16574)
* cpu/stm32: some tests are failing on CM33 (l5, u5) (RIOT-OS#17439)
* doc/LOSTANDFOUND: not rendered as expected (RIOT-OS#17063)
* edbg: long lines flooded over serial become garbled (RIOT-OS#14548)
* examples / tests: LoRa tests fail on platforms that don't support
LoRa (RIOT-OS#14520)
* feather-m0: `make flash` reports "device unsupported" (RIOT-OS#17722)
* flashing issue on frdm-k64f (RIOT-OS#15903)
* frdm-k22f failing tests/periph_flashpage (RIOT-OS#17057)
* I2C not working under RIOT with U8G2 pkg (RIOT-OS#16381)
* ieee802154_security: Nonce is reused after reboot (RIOT-OS#16844)
* lwip: drivers/at86rf2xx/at86rf2xx_netdev.c invalid state during TCP
disconnect (RIOT-OS#17209)
* lwip: invalid state transition on ieee802154_submac users (RIOT-OS#17208)
* Making the newlib thread-safe (RIOT-OS#4488)
* mcuboot: flashes but no output (RIOT-OS#17524)
* nanocoap: incomplete response to /.well-known/core request (RIOT-OS#10731)
* newlib-nano: Printf formatting does not work properly with `"PRIu8"` (RIOT-OS#17083)
* Order of auto_init functions (RIOT-OS#13541)
* pkg/tinydtls: Multiple issues (RIOT-OS#16108)
* pkg_libhydrogen tests fail / update libhydrogen (RIOT-OS#18508)
* Potential race condition in compile_and_test_for_board.py (RIOT-OS#12621)
* RIOT is saw-toothing in energy consumption (even when idling) (RIOT-OS#5009)
* riotboot/nrf52840dk: flashing slot1 with JLINK fails (RIOT-OS#14576)
* riotboot: ECC faults (eg. in STM32L5 or STM32WB) not handled
gracefully (RIOT-OS#17874)
* rust-gcoap example is incompatible with littlefs2 (RIOT-OS#17817)
* SPI access in LoRa-e5 and im880b? (RIOT-OS#19025)
* stdio_ethos: infinite shell loop (RIOT-OS#17972)
* sys/riotboot: documentation issues (RIOT-OS#11243)
* sys/stdio_uart: dropped data when received at once (RIOT-OS#10639)
* tests/cpp11_*: failing on i-nucleo-lrwan1 (RIOT-OS#14578)
* tests/lwip target board for python test is hardcoded to native (RIOT-OS#6533)
* tests/periph_flashpage: failing on stm32l475ve (RIOT-OS#17280)
* tests/pkg_libhydrogen: test fails on master for the samr21-xpro with
LLVM (RIOT-OS#15066)
* tests/test_tools: test fails while testing on samr21-xpro/iotlab-m3 (RIOT-OS#15888)
* tests: broken with stdio_rtt if auto_init is disabled (RIOT-OS#13120)
* tests: some tests don't work with `newlib` lock functions. (RIOT-OS#12732)
* Use of multiple CAN bus on compatible boards (RIOT-OS#14801)
There are 151 known issues in this release
Fixed Issues since the last release (2022.10)
=============================================
- Race condition in SUIT around threads terminating (RIOT-OS#19195)
- socket_zep: fragmentation broken if destination is multicast /
ACK_REQ not set (RIOT-OS#19117)
- sam0_sdhc: SDXC cards are not detected / handled properly (RIOT-OS#18458)
- semtech_loramac_init blocking (RIOT-OS#17907)
- tests/thread_float: crashes on avr-rss2 (RIOT-OS#16908)
- esp8266 precompiled bootloaders don't support partitions past 1MB (RIOT-OS#16402)
- SIGFPE on native architecture when printing double floats on Ubuntu
21.04 (RIOT-OS#16282)
- I found stm32 DMA periph driver bugs! when I tested stm32l431rc
board. (RIOT-OS#16242)
- pyterm on stdio_cdc_acm stops working after a few seconds (RIOT-OS#16077)
- Unclear how Router Solicitations are (or should be) handled (RIOT-OS#15926)
- examples/ccn-lite: floating point exception while testing on native (RIOT-OS#15878)
- usb-serial/list-ttys.sh: Broken when a debugger offers multiple
serial ports (RIOT-OS#15814)
- tests/pkg_tensorflow-lite: tests randomly failing on nrf52dk and
esp32-wroom-32 (RIOT-OS#13133)
13 fixed issues since last release (2022.10)
Acknowledgements
================
We would like to thank all companies that provided us with hardware for porting
and testing RIOT-OS. Further thanks go to companies and institutions that
directly sponsored development time. And finally, big thanks to all of you
contributing in so many different ways to make RIOT worthwhile!
More information
================
http://www.riot-os.org
Matrix and Forum
================
* Join the RIOT Matrix room at: #riot-os:matrix.org
* Join the RIOT Forum at: forum.riot-os.org
License
=======
* The code developed by the RIOT community is licensed under the GNU Lesser
General Public License (LGPL) version 2.1 as published by the Free Software
Foundation.
* Some external sources and packages are published under a separate license.
All code files contain licensing information.
Merge RIOT-OS#19196 19196: cpu/esp32: fixes for boot issues and crashes on ESP32 [backport 2023.1] r=benpicco a=gschorcht # Backport of PR RIOT-OS#19192 ### Contribution description In `syscalls_init()` there is a call to `malloc()`, which will return `NULL` if the heap is not initialized before, causing the entire board to fail booting if module `esp_idf_heap` is used, for example if the WiFi network interface is used. API of [vTaskDelete()](https://www.freertos.org/a00126.html) says, that if NULL is passed to vTaskDelete the calling task should be deleted. This PR needs a backport to 2023.01. ### Testing procedure ``` USEMODULE=esp_idf_heap BOARD=esp32-wroom-32 make -C tests/malloc ```` should work now but hangs in startup without the PR. ### Issues/PRs references Issue was introduced with PR RIOT-OS#19146 Co-authored-by: Flole998 <Flole998@users.noreply.github.com>
Merge RIOT-OS#19173 19173: socket_zep: only report size of single datagram [backport 2023.01] r=kaspar030 a=kaspar030 # Backport of RIOT-OS#19121 Co-authored-by: Benjamin Valentin <benjamin.valentin@bht-berlin.de>
Merge RIOT-OS#19115 RIOT-OS#19116 19115: boards/hip-badge: fix doc rendering r=benpicco a=benpicco 19116: makefiles/cargo-targets.inc.mk: Fix RISC-V target r=kaspar030 a=maribu ### Contribution description Update the list of target triples to match `makefiles/arch/riscv.inc.mk`. This fixes compilation with toolchains other than the obsolete toolchain that uses the incorrect `riscv-none-embed` triple. ### Testing procedure ``` make BOARD=hifive1b -C examples/rust-gcoap ``` Fails on `master` with a recent RISC-V toolchain, but hopefully compiles with this PR. ### Issues/PRs references None Co-authored-by: Benjamin Valentin <benjamin.valentin@bht-berlin.de> Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
PreviousNext