Re: Zephyr: FDRM_K64f board from NXP


Diego Sueiro
 


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:

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