From 05f2e9cdc1e778fbc40763238304cb909db43f38 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 21 Sep 2017 09:24:58 -0600 Subject: [PATCH] configs/stm3210e-eval: Fix an error found in build testing. --- configs/stm3210e-eval/src/stm3210e-eval.h | 4 +++- configs/stm3210e-eval/src/stm32_buttons.c | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/configs/stm3210e-eval/src/stm3210e-eval.h b/configs/stm3210e-eval/src/stm3210e-eval.h index 04dbcfe1638..16c1bd209f0 100644 --- a/configs/stm3210e-eval/src/stm3210e-eval.h +++ b/configs/stm3210e-eval/src/stm3210e-eval.h @@ -1,7 +1,7 @@ /************************************************************************************ * configs/stm3210e_eval/src/stm3210e-eval.h * - * Copyright (C) 2009, 2016 Gregory Nutt. All rights reserved. + * Copyright (C) 2009, 2016-2017 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -47,6 +47,8 @@ #include +#include "stm32_gpio.h" + /************************************************************************************ * Pre-processor Definitions ************************************************************************************/ diff --git a/configs/stm3210e-eval/src/stm32_buttons.c b/configs/stm3210e-eval/src/stm32_buttons.c index f6a8575881f..d6211cff9d5 100644 --- a/configs/stm3210e-eval/src/stm32_buttons.c +++ b/configs/stm3210e-eval/src/stm32_buttons.c @@ -46,6 +46,7 @@ #include #include +#include "stm32_gpio.h" #include "stm3210e-eval.h" #ifdef CONFIG_ARCH_BUTTONS