Skip to content

Commit

Permalink
Kconfig: Link to deprecation instructions
Browse files Browse the repository at this point in the history
Let's link from the deprecated instructions.
To increase visibility and hopefully avoid developers forgetting to
do so.

Signed-off-by: Alberto Escolar Piedras <[email protected]>
  • Loading branch information
aescolar committed Aug 15, 2024
1 parent e60ad59 commit 50145bb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Kconfig.zephyr
Original file line number Diff line number Diff line change
Expand Up @@ -949,6 +949,8 @@ config DEPRECATED
help
Symbol that must be selected by a feature or module if it is
considered to be deprecated.
When adding this to an option, remember to follow the instructions in
https://docs.zephyrproject.org/latest/develop/api/api_lifecycle.html#deprecated

config WARN_DEPRECATED
bool
Expand Down
2 changes: 2 additions & 0 deletions boards/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ config BOARD_DEPRECATED_RELEASE
the Zephyr release that the board configuration will be removed.
When set, any build for that board will generate a clearly visible
deprecation warning.
When adding this to a BOARD, remember to follow the instructions in
https://docs.zephyrproject.org/latest/develop/api/api_lifecycle.html#deprecated

config QEMU_TARGET
bool
Expand Down
2 changes: 2 additions & 0 deletions soc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ config SOC_DEPRECATED_RELEASE
the Zephyr release that the SoC configuration will be removed.
When set, any build for that SoC will generate a clearly visible
deprecation warning.
When adding this to a SOC, remember to follow the instructions in
https://docs.zephyrproject.org/latest/develop/api/api_lifecycle.html#deprecated

config SOC_HAS_TIMING_FUNCTIONS
bool
Expand Down

0 comments on commit 50145bb

Please sign in to comment.