Re: FRDM-K64F GPIO


Kevin Stöckl <k_stoeckl@...>
 


Okay Thank you,
but when I tried following Code

#include <zephyr.h>
#include <misc/printk.h>
#include <device.h>
#include <gpio.h>

#define GPIO_DRV_NAME     "GPIO_MCUX_PORTB_NAME"
....
gipo_dev = device_get_binding(GPIO_DRV_NAME);
if(!gpio_dev){
     printk("Cannot find %s!\n", GPIO_DRV_NAME);
     return;
}

I got the message "Cannot find GPIO_MCUX_PORTB_NAME!"


Von: Maureen Helm <maureen.helm@...>
Gesendet: Freitag, 07. Juli 2017 15:57
An: Kevin Stöckl; zephyr-devel@...
Betreff: RE: FRDM-K64F GPIO
 

The gpio driver names are defined in drivers/gpio/Kconfig.mcux

 

From: zephyr-devel-bounces@... [mailto:zephyr-devel-bounces@...] On Behalf Of Kevin Stöckl
Sent: Friday, July 07, 2017 8:41 AM
To: zephyr-devel@...
Subject: [Zephyr-devel] FRDM-K64F GPIO

 

Hello,

where did i get the GPIO_DRV_NAME for the FRDM-K64F Board?

 

Virenfrei. www.avast.com

 

Join devel@lists.zephyrproject.org to automatically receive all group messages.