From 6d5d783a4994a9a1c323d77d4bf2a62a1bf57d28 Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Thu, 6 May 2021 10:54:37 -0500 Subject: [PATCH] samples: mgmt: osdp: Fix compile issue With the change to use GPIO_DT_SPEC_GET_OR a number of platforms failed to build these samples. This was due to the GPIO drivers not being enabled by default. Add CONFIG_GPIO=y to the prj.conf to fix the issue. Signed-off-by: Kumar Gala --- samples/subsys/mgmt/osdp/control_panel/prj.conf | 1 + samples/subsys/mgmt/osdp/peripheral_device/prj.conf | 1 + 2 files changed, 2 insertions(+) diff --git a/samples/subsys/mgmt/osdp/control_panel/prj.conf b/samples/subsys/mgmt/osdp/control_panel/prj.conf index 3b9bcf60926..36c1f21c67d 100644 --- a/samples/subsys/mgmt/osdp/control_panel/prj.conf +++ b/samples/subsys/mgmt/osdp/control_panel/prj.conf @@ -6,6 +6,7 @@ CONFIG_PRINTK=y CONFIG_LOG=y +CONFIG_GPIO=y # OSDP config CONFIG_OSDP=y diff --git a/samples/subsys/mgmt/osdp/peripheral_device/prj.conf b/samples/subsys/mgmt/osdp/peripheral_device/prj.conf index 3fb93dd51c5..b3c90488ec5 100644 --- a/samples/subsys/mgmt/osdp/peripheral_device/prj.conf +++ b/samples/subsys/mgmt/osdp/peripheral_device/prj.conf @@ -6,6 +6,7 @@ CONFIG_PRINTK=y CONFIG_LOG=y +CONFIG_GPIO=y # OSDP config CONFIG_OSDP=y