From 08c1e4aadce1c17ef524286dcb79498bdf95550e Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Wed, 14 Oct 2020 14:10:49 +0200 Subject: [PATCH] freedom-k64f: Declare k64_i2cdev_initialize function This will suppress a warning. For some reason if declared weak, it's not properly resolved at runtime, this will need more investigations, any clues ? Change-Id: I3cc3b7d145c7b32db20f5f2cbf4314ac20dba588 Forwarded: https://github.com/apache/incubator-nuttx/pulls/rzr Signed-off-by: Philippe Coval --- boards/arm/kinetis/freedom-k64f/src/freedom-k64f.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/boards/arm/kinetis/freedom-k64f/src/freedom-k64f.h b/boards/arm/kinetis/freedom-k64f/src/freedom-k64f.h index 07e1dfd04d4..37964732dd7 100644 --- a/boards/arm/kinetis/freedom-k64f/src/freedom-k64f.h +++ b/boards/arm/kinetis/freedom-k64f/src/freedom-k64f.h @@ -232,6 +232,17 @@ * Public Functions ****************************************************************************/ +/**************************************************************************** + * Name: k64_i2cdev_initialize + * + * Description: + * Called to configure I2C chip select GPIO pins for the FRDM-K64F board. + * + ****************************************************************************/ + +int k64_i2cdev_initialize(void); + + /**************************************************************************** * Name: k64_spidev_initialize *