forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples/subsys/mgmt/osdp: Fix build issues
The samples/subsys/mgmt/osdp utilize GPIO so having it set in the prj.conf is needed since not all platforms enable GPIO by default. To address the 'No SOURCES given to Zephyr library: drivers__gpio' add a 'depends on gpio' to the sample.yaml to only build this on platforms that have GPIO driver support. Fixes zephyrproject-rtos#39180 Signed-off-by: Kumar Gala <[email protected]>
- Loading branch information
1 parent
672e9cf
commit d288fee
Showing
4 changed files
with
4 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
|
||
CONFIG_PRINTK=y | ||
CONFIG_LOG=y | ||
CONFIG_GPIO=y | ||
|
||
# OSDP config | ||
CONFIG_OSDP=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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
|
||
CONFIG_PRINTK=y | ||
CONFIG_LOG=y | ||
CONFIG_GPIO=y | ||
|
||
# OSDP config | ||
CONFIG_OSDP=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