-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
treewide: Update deprecated CONFIG_LIB_CPLUSPLUS usages
This commit updates all deprecated `CONFIG_LIB_CPLUSPLUS` usages to: * check if the Zephyr minimal C++ library is enabled using `CONFIG_MINIMAL_LIBCPP` instead of relying on the `CONFIG_LIB_CPLUSPLUS`-based inference. * select `CONFIG_REQUIRES_FULL_LIBCPP` when there exists a component- level C++ standard library dependency. This allows a component to declare C++ standard library dependency without designating a specific libray implementation. * select the correct type of C++ standard library implementation to use through one of the `CONFIG_LIBCPP_IMPLEMENTATION` choices. Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
- Loading branch information
1 parent
669a0f5
commit cf211aa
Showing
12 changed files
with
10 additions
and
16 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,4 @@ CONFIG_CHRE_LOG_LEVEL_DBG=y | |
|
||
CONFIG_CPP=y | ||
CONFIG_STD_CPP17=y | ||
CONFIG_LIB_CPLUSPLUS=y | ||
CONFIG_CPP_MAIN=y |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
CONFIG_CPP=y | ||
CONFIG_LIB_CPLUSPLUS=y | ||
CONFIG_STD_CPP17=y | ||
CONFIG_ZTEST=y | ||
CONFIG_ZTEST_STACK_SIZE=5120 | ||
|
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,3 @@ CONFIG_ZTEST=y | |
CONFIG_ZTEST_NEW_API=y | ||
|
||
CONFIG_CPP=y | ||
CONFIG_LIB_CPLUSPLUS=y |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,3 @@ CONFIG_ZTEST=y | |
CONFIG_ZTEST_NEW_API=y | ||
|
||
CONFIG_CPP=y | ||
CONFIG_LIB_CPLUSPLUS=y |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ CONFIG_ZTEST=y | |
CONFIG_ZTEST_NEW_API=y | ||
|
||
CONFIG_CPP=y | ||
CONFIG_LIB_CPLUSPLUS=y | ||
CONFIG_EXTERNAL_LIBCPP=y |
This file contains 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