From e13bb7e99901da610601ab0c43211fb78173cffc Mon Sep 17 00:00:00 2001 From: Erwan Gouriou Date: Mon, 9 Mar 2020 10:51:22 +0100 Subject: [PATCH] samples/drivers: led_apa102: Clean board specific Kconfig file Various kconfig symbols where defined specifically for board nucleo_l432kc. Though, most are generic to the sample so should moved directly to sample prj.conf Some others parts of boards default configuration so could be removed as well. Last remove CONFIG_OPENOCD_SUPPORT as sample has no dependency with this symbol. Signed-off-by: Erwan Gouriou --- samples/drivers/led_apa102/boards/nucleo_l432kc.conf | 10 ---------- samples/drivers/led_apa102/prj.conf | 3 +++ 2 files changed, 3 insertions(+), 10 deletions(-) delete mode 100644 samples/drivers/led_apa102/boards/nucleo_l432kc.conf diff --git a/samples/drivers/led_apa102/boards/nucleo_l432kc.conf b/samples/drivers/led_apa102/boards/nucleo_l432kc.conf deleted file mode 100644 index 6eb2ee35c7e..00000000000 --- a/samples/drivers/led_apa102/boards/nucleo_l432kc.conf +++ /dev/null @@ -1,10 +0,0 @@ -CONFIG_POLL=y -CONFIG_SPI=y - -CONFIG_OPENOCD_SUPPORT=y -CONFIG_SPI_STM32=y -CONFIG_SPI_STM32_INTERRUPT=y -CONFIG_SPI_1=y - -CONFIG_LED_STRIP=y -CONFIG_APA102_STRIP=y diff --git a/samples/drivers/led_apa102/prj.conf b/samples/drivers/led_apa102/prj.conf index fe87e26dadd..ee66750c17f 100644 --- a/samples/drivers/led_apa102/prj.conf +++ b/samples/drivers/led_apa102/prj.conf @@ -2,3 +2,6 @@ CONFIG_LOG=y CONFIG_LED_STRIP=y +CONFIG_SPI=y +CONFIG_APA102_STRIP=y +CONFIG_POLL=y