<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Visual code: boards.h not found</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65977/visual-code-boards-h-not-found</link><description>I&amp;#39;m using visual code for my development. I&amp;#39;ve tested a basic hello world app, this works fine so c/cpp is correctly installed. 
 I&amp;#39;m now testing a basic app, but I&amp;#39;m getting the error, boards.h: No such file or directory . When I &amp;quot;F12&amp;quot; on the functions</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Oct 2020 20:12:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65977/visual-code-boards-h-not-found" /><item><title>RE: Visual code: boards.h not found</title><link>https://devzone.nordicsemi.com/thread/273322?ContentTypeID=1</link><pubDate>Tue, 06 Oct 2020 20:12:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7468d079-f3a4-47db-9246-69ae7a31745b</guid><dc:creator>JamesD</dc:creator><description>&lt;p&gt;To extend this answer:&lt;br /&gt;&lt;br /&gt;Install GNU Make from the reference above (&lt;a href="http://gnuarmeclipse.github.io/windows-build-tools/"&gt;http://gnuarmeclipse.github.io/windows-build-tools/&lt;/a&gt;). Go to the path that you installed this in and copy this path (recommended to follow the instructions for installation on the site)&lt;br /&gt;For me this was &amp;#39;C:\Users\james\AppData\Roaming\GNU MCU Eclipse\xpack-windows-build-tools-2.12.2\bin&amp;#39;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;br /&gt;ref. the docs:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;The Windows versions of&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;GNU MCU Eclipse Windows Build Tools&lt;/strong&gt;&amp;nbsp;are packed as ZIP files. Go to&amp;nbsp;the&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://github.com/gnu-mcu-eclipse/windows-build-tools/releases"&gt;GitHub Releases&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;page&amp;nbsp;and download the latest version named like:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code class="highlighter-rouge"&gt;gnu-mcu-eclipse-build-tools-2.10-20180103-1919-win64.zip&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code class="highlighter-rouge"&gt;gnu-mcu-eclipse-build-tools-2.10-20180103-1919-win32.zip&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p style="padding-left:30px;"&gt;Select the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code class="highlighter-rouge"&gt;-win64&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;file for Windows x64 machines and the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code class="highlighter-rouge"&gt;-win32&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;file for&amp;nbsp;Windows x32&amp;nbsp;machines.&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;Unpack the archive and copy it into the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code class="highlighter-rouge"&gt;%userprofile%\AppData\Roaming\GNU MCU Eclipse&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;(for example&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code class="highlighter-rouge"&gt;C:\Users\ilg\AppData\Roaming\GNU MCU Eclipse&lt;/code&gt;) folder.&lt;/p&gt;
&lt;p&gt;Then add the path variable to you enviroment variables. Ref.&amp;nbsp;&lt;a href="https://youtu.be/Ubfgi4NoTPk?t=407"&gt;https://youtu.be/Ubfgi4NoTPk?t=407&lt;/a&gt;&lt;br /&gt;In this video MinGW is also installed so if you can&amp;#39;t compile C++ you can follow that same video to get a compiler for C++.&lt;br /&gt;&lt;br /&gt;After doing this step restart visual code, you can check if it worked by typing&amp;nbsp;&lt;br /&gt;make -v&lt;br /&gt;&lt;br /&gt;----------&lt;br /&gt;&lt;br /&gt;In visual code, don&amp;#39;t forget to update &amp;quot;/components/toolchain/gcc/Makefile.windows&amp;quot;&lt;br /&gt;you need to reference your GNU folder, I had to update both path and version:&lt;br /&gt;&lt;br /&gt;GNU_INSTALL_ROOT := C:/Program Files (x86)/&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;GNU Arm Embedded Toolchain/9 2020-q2-update&lt;/strong&gt;/&lt;/span&gt;bin/&lt;br /&gt;GNU_VERSION := &lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;9.3.1&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;GNU_PREFIX := arm-none-eabi&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Visual code: boards.h not found</title><link>https://devzone.nordicsemi.com/thread/270253?ContentTypeID=1</link><pubDate>Fri, 18 Sep 2020 08:16:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2262b29-d9dc-41f4-b59a-3337a03232dd</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What example and what SDK are you using? How do you start the build from the terminal?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You should use GNU Make, you can download it from &lt;a href="http://gnuarmeclipse.github.io/windows-build-tools/"&gt;here&lt;/a&gt;. You can find a guide &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/development-with-gcc-and-eclipse"&gt;here &lt;/a&gt;which shows you how to setup the&amp;nbsp;environment correct for developing with our SDK and GCC.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Visual code: boards.h not found</title><link>https://devzone.nordicsemi.com/thread/269812?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2020 10:06:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9854febf-3dd2-4222-8de1-31d8aa7d5be8</guid><dc:creator>JamesD</dc:creator><description>&lt;p&gt;additional info:&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve now done following additonal steps:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In VC I&amp;#39;ve added&amp;nbsp;&lt;span&gt;Cortex-Debug&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;I&amp;#39;ve installed GNU Arm Embedded Toolchain
&lt;ul&gt;
&lt;li&gt;Add a system environment variable ARMGCC_DIR with the reference to the GNU Tools folder&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;I&amp;#39;ve installed the latest CMake (ref.&amp;nbsp;&lt;a href="https://cmake.org/download/"&gt;https://cmake.org/download/&lt;/a&gt;&amp;nbsp;)&lt;/li&gt;
&lt;li&gt;I&amp;#39;ve installed the lastest version of J-Link (ref.&amp;nbsp;&lt;a href="https://www.segger.com/downloads/jlink#J-LinkSoftwareAndDocumentationPack"&gt;https://www.segger.com/downloads/jlink#J-LinkSoftwareAndDocumentationPack&lt;/a&gt;&amp;nbsp;)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This as per post in&amp;nbsp;&lt;a href="https://developer.toradex.com/software/freertos/developing-m4-applications-using-visual-studio-code#Installing_GNU_Arm_Embedded_Toolchain"&gt;https://developer.toradex.com/software/freertos/developing-m4-applications-using-visual-studio-code#Installing_GNU_Arm_Embedded_Toolchain&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s still not working&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>