From ee5c8ac7fb794f6040c8a8766d38118a7c09cd0a Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Thu, 1 Nov 2018 07:04:11 -0500 Subject: [PATCH] samples: blinky: cleanup to use just DT and remove board.h Now that we set LED info in the device tree for all boards we don't need to special case handle in the name/led pin (it comes from DT). We can also remove include board.h. Signed-off-by: Kumar Gala --- samples/basic/blinky/src/main.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/samples/basic/blinky/src/main.c b/samples/basic/blinky/src/main.c index cf2a54502e7..2ca87c23197 100644 --- a/samples/basic/blinky/src/main.c +++ b/samples/basic/blinky/src/main.c @@ -5,18 +5,10 @@ */ #include -#include #include #include -/* Change this if you have an LED connected to a custom port */ -#ifndef LED0_GPIO_CONTROLLER -#define LED0_GPIO_CONTROLLER LED0_GPIO_PORT -#endif - #define LED_PORT LED0_GPIO_CONTROLLER - -/* Change this if you have an LED connected to a custom pin */ #define LED LED0_GPIO_PIN /* 1000 msec = 1 sec */