treewide: remove various deprecated macros and functions#21985
Merged
leandrolanzieri merged 10 commits intoRIOT-OS:masterfrom Jan 15, 2026
Merged
treewide: remove various deprecated macros and functions#21985leandrolanzieri merged 10 commits intoRIOT-OS:masterfrom
leandrolanzieri merged 10 commits intoRIOT-OS:masterfrom
Conversation
leandrolanzieri
commented
Jan 14, 2026
eb4ab7e to
e17bbe7
Compare
Contributor
Author
|
Removing the saul function seems to break rust-riot-wrappers, which use it. I'm not familiar enough with the flow to update all this, so I think I'll just drop that change... |
e17bbe7 to
0bc4184
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contribution description
🧹🧹🧹🧹
As a sort of release cleanup, this removes multiple macros and functions that have been marked as deprecated and scheduled for removal (some of them for a while...). If this proves problematic, we can leave it for the next release.
Removed items:
ADC_ATTENUATION_11_DBin esp32, deprecated in cpu/esp32: Migration to ESP-IDF v5.4 #21261 (ef89dcc).GNRC_NETTYPE_LORAWANandgnrc_nettype_lorawanmodule, deprecated in gnrc_netif: remove deprecated CONFIG_GNRC_NETIF_LORAWAN_NETIF_HDR #20515 (549f215).netdev_ieee802154_dst_filterin netdev, deprecated in ieee802154: migratenetdev_ieee802154_dst_filterto a common ieee802154 #16576 (dfeb57b).pcf857x_error_codes_tin pcf857 driver, deprecated in tests/periph/selftest_shield: Improve error output #20101 (e7c9451).RIOT_FILE_*macros, deprecated in doc: deprecate RIOT_FILE_* macros #21345 (3c12ee0).RIOT_MCUmacro, deprecated in build system: documentriotbuild.hand deprecatedRIOT_MCU#20566 (29e963b).UNIT_G,UNIT_GR, andUNIT_GSenums in phydat, deprecated in sys/phydat: Fix unit confusion #19292 (3c287c0).saul_class_to_strin saul, deprecated in sys/flash_utils: helpers to store data in flash #18148 (cdcec5b).xtimer_nanosleepin xtimer, deprecated in sys/include/xtimer.h: deprecate nanosleep #17296 (92a003f).Testing procedure
Issues/PRs references
#21261, #20515, #16576, #20101, #21345, #20566, #19292, #18148, #17296