<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: MK22FN512VLH12 Zephyr build error in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK22FN512VLH12-Zephyr-build-error/m-p/1735987#M65616</link>
    <description>&lt;P class="lia-align-justify"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/144581"&gt;@laszlomonda&lt;/a&gt;,&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;For questions related to Zephyr we have a specific forum, where experts on the subject could help you. Could you please direct the related questions in the following communities?&lt;/P&gt;
&lt;UL&gt;
&lt;LI class="lia-align-justify"&gt;&lt;A href="https://community.nxp.com/t5/Zephyr-Project/bd-p/Zephyr-Project" target="_self"&gt;Zephyr Project&lt;/A&gt;, and&lt;/LI&gt;
&lt;LI class="lia-align-justify"&gt;&lt;A href="https://docs.zephyrproject.org/latest/develop/getting_started/index.html#asking-for-help" target="_blank"&gt;Getting Started Guide — Zephyr Project Documentation&lt;/A&gt;.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="lia-align-justify"&gt;Kind regards, Raul.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Oct 2023 18:52:54 GMT</pubDate>
    <dc:creator>RaRo</dc:creator>
    <dc:date>2023-10-09T18:52:54Z</dc:date>
    <item>
      <title>MK22FN512VLH12 Zephyr build error</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK22FN512VLH12-Zephyr-build-error/m-p/1735189#M65612</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;We need to port &lt;A href="https://github.com/UltimateHackingKeyboard/firmware/tree/master/right/src" target="_self"&gt;our bare-metal, KSDK-based firmware&lt;/A&gt; to Zephyr, but I can't even build the Hello World Zephyr sample application on the&amp;nbsp;FRDM-K22F dev board:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Building hello_world
/bin/sh -c west build --build-dir /home/laci/download/hello_world/build /home/laci/download/hello_world --pristine --board frdm_k22f --no-sysbuild -- -DNCS_TOOLCHAIN_VERSION:STRING="NONE" -DBOARD_ROOT:STRING="/home/laci/projects/firmware-uhk" -DCONF_FILE:STRING="/home/laci/download/hello_world/prj.conf"

-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: /home/laci/download/hello_world
-- CMake version: 3.25.1
-- Found Python3: /usr/bin/python3.10 (found suitable exact version "3.10.12") found components: Interpreter 
-- Cache files will be written to: /home/laci/.cache/zephyr
-- Zephyr version: 3.3.99 (/home/laci/apps/ncs/zephyr)
-- Found west (found suitable version "1.1.0", minimum required is "0.7.1")
-- Board: frdm_k22f
-- Found host-tools: zephyr 0.16.1 (/home/laci/apps/zephyr-sdk-0.16.1)
-- Found toolchain: zephyr 0.16.1 (/home/laci/apps/zephyr-sdk-0.16.1)
-- Found Dtc: /home/laci/apps/zephyr-sdk-0.16.1/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6") 
-- Found BOARD.dts: /home/laci/apps/ncs/zephyr/boards/arm/frdm_k22f/frdm_k22f.dts
In file included from /home/laci/apps/ncs/zephyr/boards/arm/frdm_k22f/frdm_k22f.dts:11,
                 from &amp;lt;command-line&amp;gt;:
/home/laci/apps/ncs/zephyr/boards/arm/frdm_k22f/frdm_k22f-pinctrl.dtsi:10:10: fatal error: nxp/kinetis/MK22FN512VLH12-pinctrl.h: No such file or directory
   10 | #include &amp;lt;nxp/kinetis/MK22FN512VLH12-pinctrl.h&amp;gt;
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
CMake Error at /home/laci/apps/ncs/zephyr/cmake/modules/extensions.cmake:3714 (message):
  failed to preprocess devicetree files (error code 1):
  /home/laci/apps/ncs/zephyr/boards/arm/frdm_k22f/frdm_k22f.dts
Call Stack (most recent call first):
  /home/laci/apps/ncs/zephyr/cmake/modules/dts.cmake:223 (zephyr_dt_preprocess)
  /home/laci/apps/ncs/zephyr/cmake/modules/zephyr_default.cmake:115 (include)
  /home/laci/apps/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  /home/laci/apps/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:5 (find_package)


-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: /usr/bin/cmake -DWEST_PYTHON=/usr/bin/python3 -B/home/laci/download/hello_world/build -GNinja -DBOARD=frdm_k22f -DNCS_TOOLCHAIN_VERSION:STRING=NONE -DBOARD_ROOT:STRING=/home/laci/projects/firmware-uhk -DCONF_FILE:STRING=/home/laci/download/hello_world/prj.conf -S/home/laci/download/hello_world&lt;/LI-CODE&gt;&lt;P&gt;As it turns out, the missing MK22FN512VLH12-pinctrl.h file is not part of the Zephyr repository, but it's part of the&amp;nbsp;&lt;A href="https://github.com/zephyrproject-rtos/hal_nxp/tree/master/dts/nxp/kinetis" target="_blank"&gt;https://github.com/zephyrproject-rtos/hal_nxp&lt;/A&gt;&amp;nbsp;Zephyr module.&lt;/P&gt;&lt;P&gt;Strangely, the &lt;A href="https://github.com/zephyrproject-rtos/zephyr/tree/main/modules/hal_nxp" target="_blank"&gt;https://github.com/zephyrproject-rtos/zephyr/tree/main/modules/hal_nxp&lt;/A&gt;&amp;nbsp;Zephyr module is already part of the main Zephyr repo, but it's almost empty compared to the above module.&lt;/P&gt;&lt;P&gt;The above makes me quite confused, and I need some help making Zephyr build on the&amp;nbsp;MK22FN512VLH12.&lt;/P&gt;&lt;P&gt;I should also mention that I use Zephyr provided by the nRF Connect SDK and the nRF Connect for VS Code extension pack because we're also using nRF528* processors. I want to use the same environment to develop for both processors. According to my knowledge, this issue is not related to the Nordic tools.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Sat, 07 Oct 2023 21:13:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK22FN512VLH12-Zephyr-build-error/m-p/1735189#M65612</guid>
      <dc:creator>laszlomonda</dc:creator>
      <dc:date>2023-10-07T21:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: MK22FN512VLH12 Zephyr build error</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK22FN512VLH12-Zephyr-build-error/m-p/1735987#M65616</link>
      <description>&lt;P class="lia-align-justify"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/144581"&gt;@laszlomonda&lt;/a&gt;,&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;For questions related to Zephyr we have a specific forum, where experts on the subject could help you. Could you please direct the related questions in the following communities?&lt;/P&gt;
&lt;UL&gt;
&lt;LI class="lia-align-justify"&gt;&lt;A href="https://community.nxp.com/t5/Zephyr-Project/bd-p/Zephyr-Project" target="_self"&gt;Zephyr Project&lt;/A&gt;, and&lt;/LI&gt;
&lt;LI class="lia-align-justify"&gt;&lt;A href="https://docs.zephyrproject.org/latest/develop/getting_started/index.html#asking-for-help" target="_blank"&gt;Getting Started Guide — Zephyr Project Documentation&lt;/A&gt;.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="lia-align-justify"&gt;Kind regards, Raul.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 18:52:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK22FN512VLH12-Zephyr-build-error/m-p/1735987#M65616</guid>
      <dc:creator>RaRo</dc:creator>
      <dc:date>2023-10-09T18:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: MK22FN512VLH12 Zephyr build error</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK22FN512VLH12-Zephyr-build-error/m-p/1736021#M65617</link>
      <description>&lt;P&gt;Thanks for the idea! Just opened the&amp;nbsp;&lt;A href="https://github.com/zephyrproject-rtos/zephyr/discussions/63716" target="_blank"&gt;https://github.com/zephyrproject-rtos/zephyr/discussions/63716&lt;/A&gt;&amp;nbsp;discussion on GitHub.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 20:15:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK22FN512VLH12-Zephyr-build-error/m-p/1736021#M65617</guid>
      <dc:creator>laszlomonda</dc:creator>
      <dc:date>2023-10-09T20:15:46Z</dc:date>
    </item>
  </channel>
</rss>

