<?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>Zephyr ProjectのトピックRe: MCUXPRESSO Zephyr Custom Device Driver</title>
    <link>https://community.nxp.com/t5/Zephyr-Project/MCUXPRESSO-Zephyr-Custom-Device-Driver/m-p/2068067#M288</link>
    <description>Hello Brett, &lt;BR /&gt;Which part number are you using?&lt;BR /&gt;&lt;BR /&gt;Best regards</description>
    <pubDate>Tue, 25 Mar 2025 20:21:57 GMT</pubDate>
    <dc:creator>Alondra</dc:creator>
    <dc:date>2025-03-25T20:21:57Z</dc:date>
    <item>
      <title>MCUXPRESSO Zephyr Custom Device Driver</title>
      <link>https://community.nxp.com/t5/Zephyr-Project/MCUXPRESSO-Zephyr-Custom-Device-Driver/m-p/2067976#M287</link>
      <description>&lt;P&gt;I'm trying to add support for a custom board and custom device drivers (I have an FRAM chip that is not supported).&amp;nbsp; I have been able to get the custom board to build, but I cannot get my custom driver to build (or to get Kconfig invoked).&amp;nbsp; I have the following tree:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bretts_0-1742924049911.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/329679i66A4F872813C55CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bretts_0-1742924049911.png" alt="bretts_0-1742924049911.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Or alternate view:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bretts_1-1742924122569.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/329680i0D20D0043ED7736F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bretts_1-1742924122569.png" alt="bretts_1-1742924122569.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just need a template to get started with the custom drivers.&amp;nbsp; I have found an example that is using west directly, but not the mcuxpresso build system.&amp;nbsp; Does anyone have any experience with this?&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Brett Swimley&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 17:37:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Zephyr-Project/MCUXPRESSO-Zephyr-Custom-Device-Driver/m-p/2067976#M287</guid>
      <dc:creator>bretts</dc:creator>
      <dc:date>2025-03-25T17:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXPRESSO Zephyr Custom Device Driver</title>
      <link>https://community.nxp.com/t5/Zephyr-Project/MCUXPRESSO-Zephyr-Custom-Device-Driver/m-p/2068067#M288</link>
      <description>Hello Brett, &lt;BR /&gt;Which part number are you using?&lt;BR /&gt;&lt;BR /&gt;Best regards</description>
      <pubDate>Tue, 25 Mar 2025 20:21:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Zephyr-Project/MCUXPRESSO-Zephyr-Custom-Device-Driver/m-p/2068067#M288</guid>
      <dc:creator>Alondra</dc:creator>
      <dc:date>2025-03-25T20:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXPRESSO Zephyr Custom Device Driver</title>
      <link>https://community.nxp.com/t5/Zephyr-Project/MCUXPRESSO-Zephyr-Custom-Device-Driver/m-p/2068077#M289</link>
      <description>&lt;P&gt;I am basing my custom board off the MIMXRT1024 (we have successfully used this in a previous project with MCUXpresso SDK and FreeRTOS).&amp;nbsp; As a test, because I know we will eventually need it, I want to build a custom board, and I am trying to interface it to an SPI FRAM part (again, we have used this part previously).&amp;nbsp; I cannot figure out how to get the project to recognize my custom driver directory.&amp;nbsp; I looked at the example-application as part of the Zephyr project, but that uses west as the build system, and the application has a Kconfig file.&amp;nbsp; Everytime I add a Kconfig file to my application root directory, I run into build errors.&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 20:38:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Zephyr-Project/MCUXPRESSO-Zephyr-Custom-Device-Driver/m-p/2068077#M289</guid>
      <dc:creator>bretts</dc:creator>
      <dc:date>2025-03-25T20:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXPRESSO Zephyr Custom Device Driver</title>
      <link>https://community.nxp.com/t5/Zephyr-Project/MCUXPRESSO-Zephyr-Custom-Device-Driver/m-p/2068080#M290</link>
      <description>&lt;P&gt;I am tempted to just move to the "out of the box" zephyr development, rather than trying to use the visual studio code mcuxpresso extension.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 20:39:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Zephyr-Project/MCUXPRESSO-Zephyr-Custom-Device-Driver/m-p/2068080#M290</guid>
      <dc:creator>bretts</dc:creator>
      <dc:date>2025-03-25T20:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXPRESSO Zephyr Custom Device Driver</title>
      <link>https://community.nxp.com/t5/Zephyr-Project/MCUXPRESSO-Zephyr-Custom-Device-Driver/m-p/2080269#M298</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/204312"&gt;@bretts&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My apologies for the delayed response.&lt;/P&gt;
&lt;P&gt;To add custom driver, the simplest way is to edit the Cmakelist associated to your project.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1744676560042.png" style="width: 661px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/332994i6EF3A41DC9E1683C/image-dimensions/661x271?v=v2" width="661" height="271" role="button" title="diego_charles_0-1744676560042.png" alt="diego_charles_0-1744676560042.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This way, I created the most simple driver on the drivers folder.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_1-1744676721871.png" style="width: 623px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/332995i04C36DF21A50B62F/image-dimensions/623x254?v=v2" width="623" height="254" role="button" title="diego_charles_1-1744676721871.png" alt="diego_charles_1-1744676721871.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then I called the driver function on main and it worked. This is related to this.&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;&lt;A id="menurqh" class="fui-Link ___1q1shib f2hkw1w f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1s184ao f1mk8lai fnbmjn9 f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1lqvz6u f10aw75t fsle3fq f17ae5zn" title="https://cmake.org/cmake/help/latest/command/target_sources.html" href="https://cmake.org/cmake/help/latest/command/target_sources.html" target="_blank" rel="noreferrer noopener" aria-label="Link https://cmake.org/cmake/help/latest/command/target_sources.html"&gt;https://cmake.org/cmake/help/latest/command/target_sources.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;I think it is okay for a single file, but for a complete directory not. So I think this could do better the job&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;&lt;A id="menurqd" class="fui-Link ___1q1shib f2hkw1w f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1s184ao f1mk8lai fnbmjn9 f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1lqvz6u f10aw75t fsle3fq f17ae5zn" title="https://cmake.org/cmake/help/latest/command/include_directories.html" href="https://cmake.org/cmake/help/latest/command/include_directories.html" target="_blank" rel="noreferrer noopener" aria-label="Link https://cmake.org/cmake/help/latest/command/include_directories.html"&gt;https://cmake.org/cmake/help/latest/command/include_directories.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;If you want to include an nxp sdk&amp;nbsp; driver , you could check out this post from Derek&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;&lt;A href="https://community.nxp.com/t5/Zephyr-Project-Knowledge-Base/Using-MCUXpresso-SDK-drivers-in-a-Zephyr-application/ta-p/2077778" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/Zephyr-Project-Knowledge-Base/Using-MCUXpresso-SDK-drivers-in-a-Zephyr-application/ta-p/2077778&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;I hope this could help you!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;Diego&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 16:53:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Zephyr-Project/MCUXPRESSO-Zephyr-Custom-Device-Driver/m-p/2080269#M298</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2025-04-15T16:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXPRESSO Zephyr Custom Device Driver</title>
      <link>https://community.nxp.com/t5/Zephyr-Project/MCUXPRESSO-Zephyr-Custom-Device-Driver/m-p/2115376#M349</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is this even supported in MCUXpresso for VSCODE? I followed some tutorial and it seems that the driver compiles correctly, but it doesn't link to the main app, returning&amp;nbsp;&amp;nbsp;undefined reference to '__device_dts_ord_xx'.&lt;/P&gt;&lt;P&gt;Any new information about how to build Custom drivers?&lt;/P&gt;&lt;P&gt;Ales&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 11:27:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Zephyr-Project/MCUXPRESSO-Zephyr-Custom-Device-Driver/m-p/2115376#M349</guid>
      <dc:creator>ARosman</dc:creator>
      <dc:date>2025-06-12T11:27:21Z</dc:date>
    </item>
  </channel>
</rss>

