Re: Zephyr: FDRM_K64f board from NXP


Florian Fouillet <Florian.Fouillet@...>
 

Thanks everyone, I will have a look at the DTS.

 

Cheers,

 

From: Diego Sueiro [mailto:diego.sueiro@...]
Sent: Friday, November 9, 2018 10:32 AM
To: Andrei <andrei.emeltchenko.news@...>
Cc: Florian Fouillet <Florian.Fouillet@...>; devel@...
Subject: Re: [Zephyr-devel] Zephyr: FDRM_K64f board from NXP

 

[External email: Use caution with links and attachments]


 

 

On Fri, 9 Nov 2018, 3:22 pm Andrei <andrei.emeltchenko.news@... wrote:

Hi,

On Fri, Nov 09, 2018 at 01:05:42PM +0000, Florian Fouillet wrote:
>    Hi,
>
>     
>
>    I am currently working on the Zephyr OS with a FDRM_K64f board from NXP. I
>    am just going through the documentation and the code example for now.
>
>    I have trouble to understand where is the implementation of the macro for
>    the Freedom board. For eample in the blinky project example
>    (zephyr/samples/basic/blinky/src/main.c) we have a #define LED
>    LED0_GPIO_PIN. we should have somewhere the definition of this
>    LED0_GPIO_PIN to match with the board I am using. however I don't know
>    where is this implementation. In addition of that, do you know where I can
>    find a list of every define like this LED0_GPIO_PIN. For example for PWM
>    or SPI or UART?

It is done somehow through DTS, you need to search i.e.
./zephyr/include/generated/generated_dts_board.h

 

Take a look at the documentation to understand how this process works:

 


______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
______________________________________________________________________

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