<?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>Static code analyze tools for NRF Connect SDK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94622/static-code-analyze-tools-for-nrf-connect-sdk</link><description>Hello, 
 I&amp;#39;m doing reasearch in static code analyze tools for my projects. At link below I saw that since version ncs 2.1.0 there is possible to use &amp;quot;Sparse&amp;quot; tool to static code analyze but some configs are required... I can&amp;#39;t find what kind of configs</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 Sep 2023 11:24:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94622/static-code-analyze-tools-for-nrf-connect-sdk" /><item><title>RE: Static code analyze tools for NRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/445825?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2023 11:24:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7207729e-1296-467d-8868-7138299f1df1</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The problem is that the toolchain does not include the &amp;#39;cgcc&amp;#39; executable, which is used by sparse. If you were using Debian or Ubuntu, you could simply install &amp;#39;cgcc&amp;#39; using the command: $ sudo apt install sparse. However, the executable doesn&amp;#39;t seem to be available on Windows. A possible workaround is to make a copy of the /ncs/toolchains/1f9b40e71a/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe file. Rename this copy to cgcc.exe and place it in the same directory. This workaround produces fewer warnings when I tried it here, though.&lt;/p&gt;
&lt;p&gt;I will&amp;nbsp;ask internally if it would be possible to have sparse support included in our toolchain.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Static code analyze tools for NRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/445691?ContentTypeID=1</link><pubDate>Tue, 12 Sep 2023 18:28:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2a46887-050b-4d1f-9c66-64abf9fdad32</guid><dc:creator>lCannon</dc:creator><description>&lt;p&gt;Is this a simple thing for people to get working?&amp;nbsp; On a project which builds properly for me on the command line, adding the command&lt;/p&gt;
&lt;p&gt;&amp;nbsp;-- -DZEPHYR_SCA_VARIANT=sparse&lt;/p&gt;
&lt;p&gt;Causes errors similar to what others have observed.&lt;pre class="ui-code" data-mode="text"&gt;D:\SDK\ncs\v2.4.0&amp;gt;west build --board example1_cpuapp --build-dir &amp;quot;d:/Software/Projects/Example1/build&amp;quot; &amp;quot;d:/Software/Projects/Example1&amp;quot; -- -DZEPHYR_SCA_VARIANT=sparse
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base (cached)).
-- Application: D:/Software/Projects/Example1
-- CMake version: 3.20.5
-- Found Python3: D:/SDK/ncs/toolchains/31f4403e35/opt/bin/python.exe (found suitable exact version &amp;quot;3.8.2&amp;quot;) found components: Interpreter
-- Cache files will be written to: D:/SDK/ncs/v2.4.0/zephyr/.cache
-- Zephyr version: 3.3.99 (D:/SDK/ncs/v2.4.0/zephyr)
-- Found west (found suitable version &amp;quot;1.0.0&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)
-- Board: example1_cpuapp
-- Found host-tools: zephyr 0.16.0 (D:/SDK/ncs/toolchains/31f4403e35/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.16.0 (D:/SDK/ncs/toolchains/31f4403e35/opt/zephyr-sdk)
-- Found BOARD.dts: D:/Software/Projects/Example1/boards/arm/example1/example1_cpuapp.dts
-- Found devicetree overlay: example1_cpuapp.overlay
-- Generated zephyr.dts: D:/Software/Projects/Example1/build/zephyr/zephyr.dts
-- Generated devicetree_generated.h: D:/Software/Projects/Example1/build/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: D:/Software/Projects/Example1/build/zephyr/dts.cmake

warning: Deprecated symbol BT_DEBUG_LOG is enabled.


warning: Deprecated symbol BT_DEBUG_LOG is enabled.


warning: Experimental symbol BT_ISO_PERIPHERAL is enabled.


warning: Experimental symbol BT_ISO_CENTRAL is enabled.

Parsing D:/SDK/ncs/v2.4.0/zephyr/Kconfig
Loaded configuration &amp;#39;D:/Software/Projects/Example1/build/zephyr/.config&amp;#39;
No change to configuration in &amp;#39;D:/Software/Projects/Example1/build/zephyr/.config&amp;#39;
No change to Kconfig header in &amp;#39;D:/Software/Projects/Example1/build/zephyr/include/generated/autoconf.h&amp;#39;
CMake Error at D:/SDK/ncs/v2.4.0/zephyr/cmake/sca/sparse/sca.cmake:5 (find_program):
  Could not find SPARSE_COMPILER using the following names: cgcc
Call Stack (most recent call first):
  D:/SDK/ncs/v2.4.0/zephyr/cmake/modules/FindScaTools.cmake:23 (include)
  D:/SDK/ncs/v2.4.0/zephyr/cmake/modules/kernel.cmake:26 (find_package)
  D:/SDK/ncs/v2.4.0/zephyr/cmake/modules/zephyr_default.cmake:124 (include)
  D:/SDK/ncs/v2.4.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  D:/SDK/ncs/v2.4.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate)
  CMakeLists.txt:8 (find_package)


-- Configuring incomplete, errors occurred!
See also &amp;quot;D:/Software/Projects/Example1/build/CMakeFiles/CMakeOutput.log&amp;quot;.
See also &amp;quot;D:/Software/Projects/Example1/build/CMakeFiles/CMakeError.log&amp;quot;.
?[91mFATAL ERROR: command exited with status 1: &amp;#39;D:\SDK\ncs\toolchains\31f4403e35\opt\bin\cmake.EXE&amp;#39; &amp;#39;-DWEST_PYTHON=D:\SDK\ncs\toolchains\31f4403e35\opt\bin\python.exe&amp;#39; &amp;#39;-Bd:\Software\Projects\Example1\build&amp;#39; -GNinja -DZEPHYR_SCA_VARIANT=sparse &amp;#39;-Sd:\Software\Projects\Example1&amp;#39;
?[0m
D:\SDK\ncs\v2.4.0&amp;gt;
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The issue looks to be&lt;/p&gt;
&lt;p&gt;Could not find SPARSE_COMPILER using the following names: cgcc&lt;/p&gt;
&lt;p&gt;The command project is started using the Toolchain Manager then open command prompt option with the V2.4.0.SDK which is what we are using.&amp;nbsp; Does an alternative compiler need to be installed other then what the tool chain manger installs?&amp;nbsp; Does the command to build need to be changed?&lt;/p&gt;
&lt;p&gt;Thank you for any help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Static code analyze tools for NRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/402897?ContentTypeID=1</link><pubDate>Tue, 03 Jan 2023 08:13:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cec28475-533f-40e0-8186-c86df9d567e4</guid><dc:creator>trafficode</dc:creator><description>&lt;p&gt;Thanks for suggestion. I will back with outcome in next week &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Static code analyze tools for NRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/402895?ContentTypeID=1</link><pubDate>Tue, 03 Jan 2023 07:59:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4afb77a4-51ca-484a-bd25-7f6c50696ca2</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I suggest you replace the&amp;nbsp;nrfx_gpiote_in_init() init call with&amp;nbsp;nrfx_gpiote_input_configure() as&amp;nbsp;in&amp;nbsp;this commit:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/commit/c7e4d23c5d96421feb824ce2b9172f18b7946398"&gt;https://github.com/nrfconnect/sdk-zephyr/commit/c7e4d23c5d96421feb824ce2b9172f18b7946398&lt;/a&gt;. The error you got may be related to the changes made between&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/nrfx/index.html"&gt;nrfx&lt;/a&gt; v2.5.0 (NCS 1.8.0) and nrfx 2.10.0&lt;/p&gt;
&lt;p&gt;The biggest change going from 1.8.0 to 2.2.0 is probably the introduction of Pin Control:&amp;nbsp; &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/migration/migration_guide_1.x_to_2.x.html#pin-control-transition"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/migration/migration_guide_1.x_to_2.x.html#pin-control-transition&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Static code analyze tools for NRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/402849?ContentTypeID=1</link><pubDate>Mon, 02 Jan 2023 14:52:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26f1954b-023e-40ea-a261-2af740ca7e06</guid><dc:creator>trafficode</dc:creator><description>&lt;p&gt;Works as expected. Perfectly &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&amp;nbsp; My next task for close future is to migrate from NCS 1.8.0 to 2.2.0. I tried just do it and it isn&amp;#39;t work as I expected. I mean there was some problem with memory managements in gpio configuration, build success but function&amp;nbsp;nrfx_gpiote_in_init didn&amp;#39;t return&amp;nbsp;NRFX_SUCCESS. I didn&amp;#39;t went depper to that, I plan to do it in next week. Is that known problem or there is need much more information to tell something?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Static code analyze tools for NRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/402825?ContentTypeID=1</link><pubDate>Mon, 02 Jan 2023 13:45:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76b9746d-5bf0-4102-bf1e-379655926225</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;It is currently not possible to&amp;nbsp;change the location of the build folder in vs code, unfortunately.&lt;/p&gt;
[quote user="trafficode"]One more question... Is it possible to automatically run &amp;quot;Reset board&amp;quot; command after &amp;quot;Flash&amp;quot; operation... I can see that reset is done using reset pin, but I&amp;#39;m using reset pin as gpio.[/quote]
&lt;p&gt;Yes, you can add the --softreset option to your board file as described here: &amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/84537/enabling-pin-reset-is-still-active-even-with-config_gpio_as_pinreset-n"&gt;Enabling pin reset. Is still active even with CONFIG_GPIO_AS_PINRESET=n&lt;/a&gt;&amp;nbsp;. This will change the default reset type from pinreset to softreset.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Static code analyze tools for NRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/402805?ContentTypeID=1</link><pubDate>Mon, 02 Jan 2023 12:08:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f15e5d0-893b-44ea-a008-b83d8614e40c</guid><dc:creator>trafficode</dc:creator><description>[quote userid="4240" url="~/f/nordic-q-a/94622/static-code-analyze-tools-for-nrf-connect-sdk/402798"]Can you&amp;nbsp;explain what you want to achieve? Is it to give it a different name, or do you want it placed in another directory?[/quote]
&lt;p&gt;I&amp;#39;m using separate directory for build output. This directory is placed in RAM memory to make my ssd live longer.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;One more question... Is it possible to automatically run &amp;quot;Reset board&amp;quot; command after &amp;quot;Flash&amp;quot; operation... I can see that reset is done using reset pin, but I&amp;#39;m using reset pin as gpio.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Static code analyze tools for NRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/402798?ContentTypeID=1</link><pubDate>Mon, 02 Jan 2023 11:43:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a25e7a2f-a2fa-4efb-9043-fd998c9e42d4</guid><dc:creator>Vidar Berg</dc:creator><description>[quote user="trafficode"]Is it possible to set build directory when we build with vs code extension?[/quote]
&lt;p&gt;Can you&amp;nbsp;explain what you want to achieve? Is it to give it a different name, or do you want it placed in another directory?&amp;nbsp;&lt;/p&gt;
[quote user="trafficode"]* Is it possible to include SPARSE&amp;nbsp;&lt;span&gt;when we build with vs code extension?&lt;/span&gt;[/quote]
&lt;p&gt;Yes, you can add -DSPARSE=y to the CMake argument list in your build configuration:&amp;nbsp;&lt;a href="https://nrfconnect.github.io/vscode-nrf-connect/guides/build_config.html"&gt;https://nrfconnect.github.io/vscode-nrf-connect/guides/build_config.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Static code analyze tools for NRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/402761?ContentTypeID=1</link><pubDate>Mon, 02 Jan 2023 09:09:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ef8c7da-8658-4ae3-8da6-af3bdc32a672</guid><dc:creator>trafficode</dc:creator><description>&lt;p&gt;Uff... Works!&amp;nbsp; Vidar Berg (vibe) thanks a lot...&lt;/p&gt;
&lt;p&gt;Next few questions...&amp;nbsp;&lt;/p&gt;
&lt;p&gt;* Is it possible to set build directory when we build with vs code extension?&lt;/p&gt;
&lt;p&gt;* Is it possible to include SPARSE&amp;nbsp;&lt;span&gt;when we build with vs code extension?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Static code analyze tools for NRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/402203?ContentTypeID=1</link><pubDate>Tue, 27 Dec 2022 07:46:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c13241bb-91d1-4e4b-850a-c2826a99b589</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;As the NCS toolchain worked for me and the others in this thread, I thought it was worth a try. It can be installed via the terminal too (with&amp;nbsp;&lt;a title="nRF Util" href="https://infocenter.nordicsemi.com/topic/ug_nrfutils/UG/nrfutils/nrfutil_intro.html?cp=10_7"&gt;nRF Util&lt;/a&gt;). Anyway, if we take a step back and look at the actual error message, we can see that the build is failing because CMake&amp;nbsp;is unable to locate the&amp;nbsp;&amp;quot;cgcc&amp;quot; executable:&amp;nbsp;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;CMake Error at /home/ncs/ncs/zephyr/cmake/compiler/gcc/target.cmake:10 (find_program):&lt;br /&gt; Could not find CMAKE_C_COMPILER using the following names: cgcc &lt;br /&gt;Call Stack (most recent call first): &lt;br /&gt; /home/ncs/ncs/zephyr/cmake/modules/FindTargetTools.cmake:102 (include)&lt;/p&gt;
&lt;p&gt;Have you tried to&amp;nbsp;add &amp;quot;/home/ncs/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/&amp;quot;&amp;nbsp;to&amp;nbsp;your PATH?&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;$ export PATH=&lt;span&gt;/home/ncs/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/:&amp;quot;$PATH&amp;quot;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Static code analyze tools for NRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/402116?ContentTypeID=1</link><pubDate>Fri, 23 Dec 2022 21:58:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c0dd5f1-2097-4490-968c-8094ed383d05</guid><dc:creator>trafficode</dc:creator><description>&lt;p&gt;My goal is to integrate static code analyse with bitbucket&amp;#39;s pipline. I can&amp;#39;t imagine how to do that in different than command line way... So even it will work with nRF Connect SDK for desktop, that won&amp;#39;t be siutable solution for me... Whole process has to be scripted.&lt;/p&gt;
&lt;p&gt;If it is possible, can You try the same as I did with podman ubuntu image...? It takes 20 minutes... In diffrent way I think we can spend next three monts here... Or maybe should I try some other way of technical support...? Can You give me some other options?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div id="gtx-trans" style="left:202px;position:absolute;top:91px;"&gt;
&lt;div class="gtx-trans-icon"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Static code analyze tools for NRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/401680?ContentTypeID=1</link><pubDate>Wed, 21 Dec 2022 11:23:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb3dc1ad-eb8f-4ff8-ad3a-f5fd5dac086c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;It looks like&amp;nbsp;we are doing the same, so I&amp;#39;m not sure why we end up with different results. Would you mind testing the same with the NCS toolchain (installed via the app mentioned here: &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_assistant.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_assistant.html&lt;/a&gt;)?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Just remember to open the terminal via the toolchain manager app:&lt;/p&gt;
[quote user="vibe"]The easiest way to use this toolchain is to open the terminal via the toolchain manager app. This will update your env. variable with the paths defined in&amp;nbsp;/ncs/toolchains/v2.2.0/environment.json[/quote]&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Static code analyze tools for NRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/401521?ContentTypeID=1</link><pubDate>Tue, 20 Dec 2022 13:13:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91ca185a-969e-477a-8467-7cf5e55c424b</guid><dc:creator>trafficode</dc:creator><description>&lt;p&gt;There is no difference.. There is complete set of commands that I&amp;#39;ve run on completely clear ubuntu 22.04 image using Podman...&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;podman run -dit --name ncs ubuntu
podman attach ncs

apt-get update
apt-get install sudo
adduser ncs
usermod -aG sudo ncs
login ncs
sudo apt install --no-install-recommends git cmake ninja-build gperf ccache dfu-util device-tree-compiler wget python3-dev python3-pip python3-setuptools python3-tk python3-wheel xz-utils file make gcc gcc-multilib g++-multilib libsdl2-dev libmagic1
mkdir ${HOME}/gn &amp;amp;&amp;amp; cd ${HOME}/gn
wget -O gn.zip https://chrome-infra-packages.appspot.com/dl/gn/gn/linux-amd64/+/latest
sudo apt-get install unzip
unzip gn.zip
rm gn.zip
echo &amp;#39;export PATH=${HOME}/gn:&amp;quot;$PATH&amp;quot;&amp;#39; &amp;gt;&amp;gt; ${HOME}/.bashrc
cd ~
source ${HOME}/.bashrc
pip3 install --user west
echo &amp;#39;export PATH=~/.local/bin:&amp;quot;$PATH&amp;quot;&amp;#39; &amp;gt;&amp;gt; ~/.bashrc
source ~/.bashrc
mkdir ncs
cd ncs/
west init -m https://github.com/nrfconnect/sdk-nrf --mr v2.2.0
west update
west zephyr-export
pip3 install --user -r zephyr/scripts/requirements.txt
pip3 install --user -r nrf/scripts/requirements.txt
pip3 install --user -r bootloader/mcuboot/scripts/requirements.txt
cd ~
wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.15.1/zephyr-sdk-0.15.1_linux-x86_64.tar.gz
wget -O - https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.15.1/sha256.sum | shasum --check --ignore-missing
tar xvf zephyr-sdk-0.15.1_linux-x86_64.tar.gz
cd zephyr-sdk-0.15.1
./setup.sh
cd ../ncs/
source zephyr/zephyr-env.sh
ln -s /home/ncs/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc /home/ncs/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/cgcc
ls -la /home/ncs/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/cgcc
export ZEPHYR_TOOLCHAIN_VARIANT=zephyr
export REAL_CC=&amp;quot;/home/ncs/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc&amp;quot;
cd zephyr/samples/basic/blinky 
west build -p always -b nrf52dk_nrf52832  -- -DSPARSE=y


&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;ncs@7b954ae51633:~/ncs/zephyr/samples/basic/blinky$ ls -la /home/ncs/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/cgcc                                
lrwxrwxrwx 1 ncs ncs 67 Dec 20 13:59 /home/ncs/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/cgcc -&amp;gt; /home/ncs/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc                                                                                                                              
ncs@7b954ae51633:~/ncs/zephyr/samples/basic/blinky$&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;ncs@7b954ae51633:~/ncs/zephyr/samples/basic/blinky$ echo $REAL_CC
/home/ncs/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
ncs@7b954ae51633:~/ncs/zephyr/samples/basic/blinky$&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;ncs@7b954ae51633:~/ncs/zephyr/samples/basic/blinky$ west build -p always -b nrf52dk_nrf52832  -- -DSPARSE=y
-- west build: making build dir /home/ncs/ncs/zephyr/samples/basic/blinky/build pristine
-- west build: generating a build system                                                                                                       
Loading Zephyr default modules (Zephyr base).                                                                                                  
-- Application: /home/ncs/ncs/zephyr/samples/basic/blinky
-- Found Python3: /usr/bin/python3.10 (found suitable exact version &amp;quot;3.10.6&amp;quot;) found components: Interpreter 
-- Cache files will be written to: /home/ncs/.cache/zephyr
-- Zephyr version: 3.2.99 (/home/ncs/ncs/zephyr)
-- Found west (found suitable version &amp;quot;0.14.0&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)
-- Board: nrf52dk_nrf52832
-- Found host-tools: zephyr 0.15.1 (/home/ncs/zephyr-sdk-0.15.1)
-- Found toolchain: zephyr 0.15.1 (/home/ncs/zephyr-sdk-0.15.1)
-- Found Dtc: /home/ncs/zephyr-sdk-0.15.1/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version &amp;quot;1.6.0&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;) 
-- Found BOARD.dts: /home/ncs/ncs/zephyr/boards/arm/nrf52dk_nrf52832/nrf52dk_nrf52832.dts
-- Generated zephyr.dts: /home/ncs/ncs/zephyr/samples/basic/blinky/build/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /home/ncs/ncs/zephyr/samples/basic/blinky/build/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /home/ncs/ncs/zephyr/samples/basic/blinky/build/zephyr/dts.cmake
Parsing /home/ncs/ncs/zephyr/Kconfig
Loaded configuration &amp;#39;/home/ncs/ncs/zephyr/boards/arm/nrf52dk_nrf52832/nrf52dk_nrf52832_defconfig&amp;#39;
Merged configuration &amp;#39;/home/ncs/ncs/zephyr/samples/basic/blinky/prj.conf&amp;#39;
Configuration saved to &amp;#39;/home/ncs/ncs/zephyr/samples/basic/blinky/build/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;/home/ncs/ncs/zephyr/samples/basic/blinky/build/zephyr/include/generated/autoconf.h&amp;#39;
CMake Error at /home/ncs/ncs/zephyr/cmake/compiler/gcc/target.cmake:10 (find_program):
  Could not find CMAKE_C_COMPILER using the following names: cgcc                                                                              
Call Stack (most recent call first):                                                                                                           
  /home/ncs/ncs/zephyr/cmake/modules/FindTargetTools.cmake:102 (include)                                                                       
  /home/ncs/ncs/zephyr/cmake/modules/kernel.cmake:25 (find_package)                                                                            
  /home/ncs/ncs/zephyr/cmake/modules/zephyr_default.cmake:117 (include)                                                                        
  /home/ncs/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)                                                              
  /home/ncs/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)                                                  
  CMakeLists.txt:4 (find_package)                                                                                                              
                                                                                                                                               
                                                                                                                                               
-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: /usr/bin/cmake -DWEST_PYTHON=/usr/bin/python3 -B/home/ncs/ncs/zephyr/samples/basic/blinky/build -GNinja -DBOARD=nrf52dk_nrf52832 -DSPARSE=y -S/home/ncs/ncs/zephyr/samples/basic/blinky&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Static code analyze tools for NRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/400922?ContentTypeID=1</link><pubDate>Thu, 15 Dec 2022 16:31:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f1f8285-462b-41b5-8de0-4bb8ee86a53c</guid><dc:creator>Aleksa</dc:creator><description>&lt;p&gt;Did not know that env variables were defined there. Awesome, thanks a lot!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Static code analyze tools for NRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/400893?ContentTypeID=1</link><pubDate>Thu, 15 Dec 2022 14:51:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:713a39a1-e157-41e9-8ead-557eecde0dd9</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Please specify the full path when you set REAL_CC&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Static code analyze tools for NRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/400869?ContentTypeID=1</link><pubDate>Thu, 15 Dec 2022 14:11:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd11ce1f-d1f1-4fa6-a8d9-c3b1a314ed21</guid><dc:creator>trafficode</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;root@ca30ef32b4ea:~/ncs/nrf# cat VERSION 
2.2.0
root@ca30ef32b4ea:~/ncs/nrf#&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;root@ca30ef32b4ea:~/ncs# echo $REAL_CC
~/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
root@ca30ef32b4ea:~/ncs# 
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Static code analyze tools for NRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/400836?ContentTypeID=1</link><pubDate>Thu, 15 Dec 2022 12:58:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1986d385-9940-4e82-ac02-dff2d6248493</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/trafficode"&gt;trafficode&lt;/a&gt;&amp;nbsp;,&lt;span style="text-decoration:line-through;"&gt; did you make the symlink as I suggested?&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/aleksa"&gt;Aleksa&lt;/a&gt;&amp;nbsp;, our SDK toolchain includes the zephyr SDK in addition to other dependencies such as python, git and west. The easiest way to use this toolchain is to open the terminal via the toolchain manager app. This will update your env. variable with the paths defined in&amp;nbsp;/ncs/toolchains/v2.2.0/environment.json&lt;/p&gt;
&lt;p&gt;Edit: I see now that you created the symlink. Can you echo REAL_CC to confirm it&amp;#39;s set correctly?&lt;/p&gt;
&lt;p&gt;Edit 2: Please use the 2.2.0 release.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Static code analyze tools for NRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/400811?ContentTypeID=1</link><pubDate>Thu, 15 Dec 2022 11:55:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:936aec83-e4dd-4e62-b1b2-bfbc3b64a20e</guid><dc:creator>trafficode</dc:creator><description>&lt;p&gt;I think that there is still some problem. I&amp;#39;ve installed clear ubuntu 22.04 installation using podman.&lt;/p&gt;
&lt;p&gt;And below are all actions that I&amp;#39;ve proceeded. Result is still the same... Files that are modified in commit that You mention are with proper content... as I compared...&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;apt-get update
apt install --no-install-recommends git cmake ninja-build gperf ccache dfu-util device-tree-compiler wget python3-dev python3-pip python3-setuptools python3-tk python3-wheel xz-utils file make gcc gcc-multilib g++-multilib libsdl2-dev libmagic1
mkdir ${HOME}/gn &amp;amp;&amp;amp; cd ${HOME}/gn
wget -O gn.zip https://chrome-infra-packages.appspot.com/dl/gn/gn/linux-amd64/+/latest
apt-get install unzip
unzip gn.zip
rm gn.zip
echo &amp;#39;export PATH=${HOME}/gn:&amp;quot;$PATH&amp;quot;&amp;#39; &amp;gt;&amp;gt; ${HOME}/.bashrc
source ${HOME}/.bashrc
pip3 install --user west
echo &amp;#39;export PATH=~/.local/bin:&amp;quot;$PATH&amp;quot;&amp;#39; &amp;gt;&amp;gt; ~/.bashrc
source ~/.bashrc
mkdir ncs
cd ncs/
west init -m https://github.com/nrfconnect/sdk-nrf --mr main
west update
west zephyr-export
pip3 install --user -r zephyr/scripts/requirements.txt
pip3 install --user -r nrf/scripts/requirements.txt
pip3 install --user -r bootloader/mcuboot/scripts/requirements.txt
cd ~
wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.15.1/zephyr-sdk-0.15.1_linux-x86_64.tar.gz
wget -O - https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.15.1/sha256.sum | shasum --check --ignore-missing
tar xvf zephyr-sdk-0.15.1_linux-x86_64.tar.gz
cd zephyr-sdk-0.15.1
./setup.sh
cd ../ncs/
source zephyr/zephyr-env.sh
ln -s ~/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc ~/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/cgcc
ls -la ~/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/cgcc
export REAL_CC=~/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
cd zephyr/
cd samples/basic/blinky
west build -b nrf52dk_nrf52832 -p -- -DSPARSE=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;root@ca30ef32b4ea:~/ncs/zephyr/samples/basic/blinky# ls -la ~/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/cgcc
lrwxrwxrwx 1 root root 63 Dec 15 12:29 /root/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/cgcc -&amp;gt; /root/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
root@ca30ef32b4ea:~/ncs/zephyr/samples/basic/blinky# &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;There is output of build request&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;root@ca30ef32b4ea:~/ncs/zephyr/samples/basic/blinky# west build -b nrf52dk_nrf52832 -p -- -DSPARSE=y
-- west build: making build dir /root/ncs/zephyr/samples/basic/blinky/build pristine
-- west build: generating a build system                                                                                                                                 
Loading Zephyr default modules (Zephyr base).                                                                                                                            
-- Application: /root/ncs/zephyr/samples/basic/blinky
-- Found Python3: /usr/bin/python3.10 (found suitable exact version &amp;quot;3.10.6&amp;quot;) found components: Interpreter 
-- Cache files will be written to: /root/.cache/zephyr
-- Zephyr version: 3.2.99 (/root/ncs/zephyr)
-- Found west (found suitable version &amp;quot;0.14.0&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)
-- Board: nrf52dk_nrf52832
-- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
-- Found host-tools: zephyr 0.15.1 (/root/zephyr-sdk-0.15.1)
-- Found toolchain: zephyr 0.15.1 (/root/zephyr-sdk-0.15.1)
-- Found Dtc: /root/zephyr-sdk-0.15.1/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version &amp;quot;1.6.0&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;) 
-- Found BOARD.dts: /root/ncs/zephyr/boards/arm/nrf52dk_nrf52832/nrf52dk_nrf52832.dts
-- Generated zephyr.dts: /root/ncs/zephyr/samples/basic/blinky/build/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /root/ncs/zephyr/samples/basic/blinky/build/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /root/ncs/zephyr/samples/basic/blinky/build/zephyr/dts.cmake
Parsing /root/ncs/zephyr/Kconfig
Loaded configuration &amp;#39;/root/ncs/zephyr/boards/arm/nrf52dk_nrf52832/nrf52dk_nrf52832_defconfig&amp;#39;
Merged configuration &amp;#39;/root/ncs/zephyr/samples/basic/blinky/prj.conf&amp;#39;
Configuration saved to &amp;#39;/root/ncs/zephyr/samples/basic/blinky/build/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;/root/ncs/zephyr/samples/basic/blinky/build/zephyr/include/generated/autoconf.h&amp;#39;
CMake Error at /root/ncs/zephyr/cmake/compiler/gcc/target.cmake:10 (find_program):
  Could not find CMAKE_C_COMPILER using the following names: cgcc                                                                                                        
Call Stack (most recent call first):                                                                                                                                     
  /root/ncs/zephyr/cmake/modules/FindTargetTools.cmake:102 (include)                                                                                                     
  /root/ncs/zephyr/cmake/modules/kernel.cmake:25 (find_package)                                                                                                          
  /root/ncs/zephyr/cmake/modules/zephyr_default.cmake:117 (include)                                                                                                      
  /root/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)                                                                                            
  /root/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)                                                                                
  CMakeLists.txt:4 (find_package)                                                                                                                                        
                                                                                                                                                                         
                                                                                                                                                                         
-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: /usr/bin/cmake -DWEST_PYTHON=/usr/bin/python3 -B/root/ncs/zephyr/samples/basic/blinky/build -GNinja -DBOARD=nrf52dk_nrf52832 -DSPARSE=y -S/root/ncs/zephyr/samples/basic/blinky                                                                                                                        
root@ca30ef32b4ea:~/ncs/zephyr/samples/basic/blinky#&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any suggestions?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Static code analyze tools for NRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/400691?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2022 16:18:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c3899a8-ccf0-4725-9f95-91c329ae0070</guid><dc:creator>Aleksa</dc:creator><description>&lt;p&gt;This was the only command that I&amp;#39;ve had to run (no symlink):&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;export REAL_CC=/home/aleksa/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A bit off-topic:&lt;br /&gt;I use manual installation instructions for the NCS since the toolchain manager didn&amp;#39;t use to work for Linux. However, I was unable to set&amp;nbsp;build&amp;nbsp;up manually for v2.2.0, without getting the tools from the toolchain manager. &lt;br /&gt;&lt;br /&gt;Now I&amp;#39;m a bit confused with all the tools since I have both the zephyr v0.15.1 toolchain and the&amp;nbsp;NCS toolchain. Not sure how all of it works together.&lt;br /&gt;&lt;br /&gt;This is my output when I run the same build command as yours:&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;aleksa@aleksa:~/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr/samples/hello_world$ west build -b nrf52dk_nrf52832 -p -- -DSPARSE=y

-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: /home/aleksa/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr/samples/hello_world
-- Using NCS Toolchain 2.2.0 for building. (/home/aleksa/ncs/toolchains/v2.2.0/cmake)
-- Found Python3: /home/aleksa/ncs/toolchains/v2.2.0/usr/local/bin/python3 (found suitable exact version &amp;quot;3.8.10&amp;quot;) found components: Interpreter 
-- Cache files will be written to: /home/aleksa/.cache/zephyr
-- Zephyr version: 3.2.99 (/home/aleksa/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr)
-- Found west (found suitable version &amp;quot;0.14.0&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)
-- Board: nrf52dk_nrf52832
-- Found host-tools: zephyr 0.15.1 (/home/aleksa/zephyr-sdk-0.15.1)
-- Found toolchain: zephyr 0.15.1 (/home/aleksa/zephyr-sdk-0.15.1)
-- Found Dtc: /home/aleksa/ncs/toolchains/v2.2.0/usr/local/bin/dtc (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;) 
-- Found BOARD.dts: /home/aleksa/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr/boards/arm/nrf52dk_nrf52832/nrf52dk_nrf52832.dts
-- Generated zephyr.dts: /home/aleksa/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr/samples/hello_world/build/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /home/aleksa/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr/samples/hello_world/build/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /home/aleksa/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr/samples/hello_world/build/zephyr/dts.cmake
Parsing /home/aleksa/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr/Kconfig
Loaded configuration &amp;#39;/home/aleksa/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr/boards/arm/nrf52dk_nrf52832/nrf52dk_nrf52832_defconfig&amp;#39;
Merged configuration &amp;#39;/home/aleksa/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr/samples/hello_world/prj.conf&amp;#39;
Configuration saved to &amp;#39;/home/aleksa/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr/samples/hello_world/build/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;/home/aleksa/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr/samples/hello_world/build/zephyr/include/generated/autoconf.h&amp;#39;
-- Found sparse: /usr/bin/cgcc
-- The C compiler identification is GNU 12.1.0
-- The CXX compiler identification is GNU 12.1.0
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cgcc
-- Configuring done
-- Generating done
-- Build files have been written to: /home/aleksa/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr/samples/hello_world/build
-- west build: building application
[1/166] Preparing syscall dependency handling

[2/166] Generating include/generated/version.h
-- Zephyr version: 3.2.99 (/home/aleksa/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr), build: v3.2.99-ncs1
[8/166] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
/home/aleksa/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr/lib/libc/minimal/include/stdint.h:78:9: warning: &amp;#39;__INT_FAST8_TYPE__&amp;#39; has implicit type
/home/aleksa/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr/lib/libc/minimal/include/stdint.h:78:33: error: Expected ; at end of declaration
/home/aleksa/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr/lib/libc/minimal/include/stdint.h:78:33: error: got int_fast8_t
/home/aleksa/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr/lib/libc/minimal/include/stdint.h:79:33: error: Expected ; at end of declaration
/home/aleksa/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr/lib/libc/minimal/include/stdint.h:79:33: error: got int_fast16_t
/home/aleksa/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr/lib/libc/minimal/include/stdint.h:83:33: error: Expected ; at end of declaration
/home/aleksa/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr/lib/libc/minimal/include/stdint.h:83:33: error: got int_least8_t
/home/aleksa/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr/lib/libc/minimal/include/stdint.h:84:33: error: Expected ; at end of declaration
/home/aleksa/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr/lib/libc/minimal/include/stdint.h:84:33: error: got int_least16_t
/home/aleksa/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr/lib/libc/minimal/include/stdint.h:94:33: error: Expected ; at end of declaration
/home/aleksa/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr/lib/libc/minimal/include/stdint.h:94:33: error: got uint_fast8_t
/home/aleksa/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr/lib/libc/minimal/include/stdint.h:95:33: error: Expected ; at end of declaration
/home/aleksa/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr/lib/libc/minimal/include/stdint.h:95:33: error: got uint_fast16_t
/home/aleksa/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr/lib/libc/minimal/include/stdint.h:99:33: error: Expected ; at end of declaration
/home/aleksa/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr/lib/libc/minimal/include/stdint.h:99:33: error: got uint_least8_t
/home/aleksa/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr/lib/libc/minimal/include/stdint.h:100:33: error: Expected ; at end of declaration
/home/aleksa/Desktop/01_POSAO/02_PENNY/04_NCS_V211/mg105-nrf9160-root/lib/nordic/ncs/zephyr/lib/libc/minimal/include/stdint.h:100:33: error: got uint_least16_t

.....&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Static code analyze tools for NRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/400688?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2022 15:58:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6aa3d0b-95f6-477d-9787-616da998f458</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks for confirming that it worked. But when you say it worked out of the box, do you mean that you did not have to make a symlink for cgcc either?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Static code analyze tools for NRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/400682?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2022 15:30:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ad58309-e89e-4230-9b20-d031e3f5c185</guid><dc:creator>Aleksa</dc:creator><description>&lt;p&gt;It works now on my end,&amp;nbsp;my system had some unrelated issues.&lt;br /&gt;&lt;br /&gt;Sparse works with ncs v2.2.0 out of the box, no need to cherry-pick the specified commit.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Static code analyze tools for NRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/400628?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2022 13:13:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c429ebec-1efa-4ed4-b3be-94548449b4d9</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/trafficode"&gt;trafficode&lt;/a&gt;&amp;nbsp;, please &amp;quot;cherry-pick&amp;quot; the commit linked to below as it was not included in SDK 2.1.0. This should fix the &amp;quot;toolchain not found&amp;quot; error you encountered.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://github.com/nrfconnect/sdk-zephyr/commit/3ebb18b882634be29955a52ea70cd59f634492c1"&gt;https://github.com/nrfconnect/sdk-zephyr/commit/3ebb18b882634be29955a52ea70cd59f634492c1&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/aleksa"&gt;Aleksa&lt;/a&gt;&amp;nbsp;, I was not able to reproduce this here. Below is from my terminal when I tried to build the blinky sample with sparse.&amp;nbsp;Could you try to repeat these steps on your end to see if you get the&amp;nbsp;same result? Notice I had to make a symlink for cgcc as cgcc is not included in the ARM toolchain.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;user@user-OptiPlex-7070:~/ncs/v2.2.0/zephyr/samples/basic/blinky$ ln -s /home/user/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc /home/user/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/cgcc
user@user-OptiPlex-7070:~/ncs/v2.2.0/zephyr/samples/basic/blinky$ ls -la /home/user/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/cgcc
lrwxrwxrwx 1 user user 90 des.  14 14:02 /home/user/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/cgcc -&amp;gt; /home/user/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
user@user-OptiPlex-7070:~/ncs/v2.2.0/zephyr/samples/basic/blinky$ export $REAL_CC=/home/user/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
bash: export: `=/home/user/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc&amp;#39;: not a valid identifier
user@user-OptiPlex-7070:~/ncs/v2.2.0/zephyr/samples/basic/blinky$ export REAL_CC=/home/user/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
user@user-OptiPlex-7070:~/ncs/v2.2.0/zephyr/samples/basic/blinky$ west build -b nrf52dk_nrf52832 -p -- -DSPARSE=y
-- west build: making build dir /home/user/ncs/v2.2.0/zephyr/samples/basic/blinky/build pristine
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: /home/user/ncs/v2.2.0/zephyr/samples/basic/blinky
-- Using NCS Toolchain 2.2.0 for building. (/home/user/ncs/toolchains/v2.2.0/cmake)
-- Found Python3: /home/user/ncs/toolchains/v2.2.0/usr/local/bin/python3 (found suitable exact version &amp;quot;3.8.2&amp;quot;) found components: Interpreter 
-- Cache files will be written to: /home/user/.cache/zephyr
-- Zephyr version: 3.2.99 (/home/user/ncs/v2.2.0/zephyr)
-- Found west (found suitable version &amp;quot;0.14.0&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)
-- Board: nrf52dk_nrf52832
-- Found host-tools: zephyr 0.15.1 (/home/user/ncs/toolchains/v2.2.0/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.15.1 (/home/user/ncs/toolchains/v2.2.0/opt/zephyr-sdk)
-- Found Dtc: /home/user/ncs/toolchains/v2.2.0/usr/local/bin/dtc (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;) 
-- Found BOARD.dts: /home/user/ncs/v2.2.0/zephyr/boards/arm/nrf52dk_nrf52832/nrf52dk_nrf52832.dts
-- Generated zephyr.dts: /home/user/ncs/v2.2.0/zephyr/samples/basic/blinky/build/zephyr/zephyr.dts
-- Generated devicetree_generated.h: /home/user/ncs/v2.2.0/zephyr/samples/basic/blinky/build/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: /home/user/ncs/v2.2.0/zephyr/samples/basic/blinky/build/zephyr/dts.cmake
Parsing /home/user/ncs/v2.2.0/zephyr/Kconfig
Loaded configuration &amp;#39;/home/user/ncs/v2.2.0/zephyr/boards/arm/nrf52dk_nrf52832/nrf52dk_nrf52832_defconfig&amp;#39;
Merged configuration &amp;#39;/home/user/ncs/v2.2.0/zephyr/samples/basic/blinky/prj.conf&amp;#39;
Configuration saved to &amp;#39;/home/user/ncs/v2.2.0/zephyr/samples/basic/blinky/build/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;/home/user/ncs/v2.2.0/zephyr/samples/basic/blinky/build/zephyr/include/generated/autoconf.h&amp;#39;
-- Found sparse: /home/user/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/cgcc
-- The C compiler identification is GNU 12.1.0
-- The CXX compiler identification is GNU 12.1.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/user/ncs/toolchains/v2.2.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/cgcc
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/ncs/v2.2.0/zephyr/samples/basic/blinky/build
-- west build: building application
[1/166] Preparing syscall dependency handling

[2/166] Generating include/generated/version.h
-- Zephyr version: 3.2.99 (/home/user/ncs/v2.2.0/zephyr), build: v3.2.99-ncs1
[21/166] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
/home/user/ncs/v2.2.0/zephyr/lib/os/printk.c: In function &amp;#39;vsnprintk&amp;#39;:
/home/user/ncs/v2.2.0/zephyr/lib/os/printk.c:255:19: warning: passing argument 1 of &amp;#39;cbvprintf&amp;#39; from incompatible pointer type [-Wincompatible-pointer-types]
  255 |         cbvprintf(str_out, &amp;amp;ctx, fmt, ap);
      |                   ^~~~~~~
      |                   |
      |                   int (*)(int,  struct str_context *)
In file included from ../../../../include/zephyr/logging/log_msg.h:11,
                 from ../../../../include/zephyr/logging/log_core.h:9,
                 from ../../../../include/zephyr/logging/log.h:11,
                 from /home/user/ncs/v2.2.0/zephyr/lib/os/printk.c:21:
../../../../include/zephyr/sys/cbprintf.h:715:27: note: expected &amp;#39;cbprintf_cb&amp;#39; {aka &amp;#39;int (*)(int,  void *)&amp;#39;} but argument is of type &amp;#39;int (*)(int,  struct str_context *)&amp;#39;
  715 | int cbvprintf(cbprintf_cb out, void *ctx, const char *format, va_list ap)
      |               ~~~~~~~~~~~~^~~
[99/166] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/sprintf.c.obj
/home/user/ncs/v2.2.0/zephyr/lib/libc/minimal/source/stdout/sprintf.c: In function &amp;#39;snprintf&amp;#39;:
/home/user/ncs/v2.2.0/zephyr/lib/libc/minimal/source/stdout/sprintf.c:45:23: warning: passing argument 1 of &amp;#39;cbvprintf&amp;#39; from incompatible pointer type [-Wincompatible-pointer-types]
   45 |         r = cbvprintf(sprintf_out, (void *) (&amp;amp;p), format, vargs);
      |                       ^~~~~~~~~~~
      |                       |
      |                       int (*)(int,  struct emitter *)
In file included from /home/user/ncs/v2.2.0/zephyr/lib/libc/minimal/source/stdout/sprintf.c:11:
../../../../include/zephyr/sys/cbprintf.h:715:27: note: expected &amp;#39;cbprintf_cb&amp;#39; {aka &amp;#39;int (*)(int,  void *)&amp;#39;} but argument is of type &amp;#39;int (*)(int,  struct emitter *)&amp;#39;
  715 | int cbvprintf(cbprintf_cb out, void *ctx, const char *format, va_list ap)
      |               ~~~~~~~~~~~~^~~
/home/user/ncs/v2.2.0/zephyr/lib/libc/minimal/source/stdout/sprintf.c: In function &amp;#39;sprintf&amp;#39;:
/home/user/ncs/v2.2.0/zephyr/lib/libc/minimal/source/stdout/sprintf.c:63:23: warning: passing argument 1 of &amp;#39;cbvprintf&amp;#39; from incompatible pointer type [-Wincompatible-pointer-types]
   63 |         r = cbvprintf(sprintf_out, (void *) (&amp;amp;p), format, vargs);
      |                       ^~~~~~~~~~~
      |                       |
      |                       int (*)(int,  struct emitter *)
../../../../include/zephyr/sys/cbprintf.h:715:27: note: expected &amp;#39;cbprintf_cb&amp;#39; {aka &amp;#39;int (*)(int,  void *)&amp;#39;} but argument is of type &amp;#39;int (*)(int,  struct emitter *)&amp;#39;
  715 | int cbvprintf(cbprintf_cb out, void *ctx, const char *format, va_list ap)
      |               ~~~~~~~~~~~~^~~
/home/user/ncs/v2.2.0/zephyr/lib/libc/minimal/source/stdout/sprintf.c: In function &amp;#39;vsnprintf&amp;#39;:
/home/user/ncs/v2.2.0/zephyr/lib/libc/minimal/source/stdout/sprintf.c:84:23: warning: passing argument 1 of &amp;#39;cbvprintf&amp;#39; from incompatible pointer type [-Wincompatible-pointer-types]
   84 |         r = cbvprintf(sprintf_out, (void *) (&amp;amp;p), format, vargs);
      |                       ^~~~~~~~~~~
      |                       |
      |                       int (*)(int,  struct emitter *)
../../../../include/zephyr/sys/cbprintf.h:715:27: note: expected &amp;#39;cbprintf_cb&amp;#39; {aka &amp;#39;int (*)(int,  void *)&amp;#39;} but argument is of type &amp;#39;int (*)(int,  struct emitter *)&amp;#39;
  715 | int cbvprintf(cbprintf_cb out, void *ctx, const char *format, va_list ap)
      |               ~~~~~~~~~~~~^~~
/home/user/ncs/v2.2.0/zephyr/lib/libc/minimal/source/stdout/sprintf.c: In function &amp;#39;vsprintf&amp;#39;:
/home/user/ncs/v2.2.0/zephyr/lib/libc/minimal/source/stdout/sprintf.c:99:23: warning: passing argument 1 of &amp;#39;cbvprintf&amp;#39; from incompatible pointer type [-Wincompatible-pointer-types]
   99 |         r = cbvprintf(sprintf_out, (void *) (&amp;amp;p), format, vargs);
      |                       ^~~~~~~~~~~
      |                       |
      |                       int (*)(int,  struct emitter *)
../../../../include/zephyr/sys/cbprintf.h:715:27: note: expected &amp;#39;cbprintf_cb&amp;#39; {aka &amp;#39;int (*)(int,  void *)&amp;#39;} but argument is of type &amp;#39;int (*)(int,  struct emitter *)&amp;#39;
  715 | int cbvprintf(cbprintf_cb out, void *ctx, const char *format, va_list ap)
      |               ~~~~~~~~~~~~^~~
[101/166] Building C object zephyr/lib/libc/minimal/CMakeFiles/lib__libc__minimal.dir/source/stdout/fprintf.c.obj
/home/user/ncs/v2.2.0/zephyr/lib/libc/minimal/source/stdout/fprintf.c: In function &amp;#39;fprintf&amp;#39;:
/home/user/ncs/v2.2.0/zephyr/lib/libc/minimal/source/stdout/fprintf.c:21:23: warning: passing argument 1 of &amp;#39;cbvprintf&amp;#39; from incompatible pointer type [-Wincompatible-pointer-types]
   21 |         r = cbvprintf(fputc, DESC(stream), format, vargs);
      |                       ^~~~~
      |                       |
      |                       int (*)(int,  FILE *) {aka int (*)(int,  int *)}
In file included from /home/user/ncs/v2.2.0/zephyr/lib/libc/minimal/source/stdout/fprintf.c:11:
../../../../include/zephyr/sys/cbprintf.h:715:27: note: expected &amp;#39;cbprintf_cb&amp;#39; {aka &amp;#39;int (*)(int,  void *)&amp;#39;} but argument is of type &amp;#39;int (*)(int,  FILE *)&amp;#39; {aka &amp;#39;int (*)(int,  int *)&amp;#39;}
  715 | int cbvprintf(cbprintf_cb out, void *ctx, const char *format, va_list ap)
      |               ~~~~~~~~~~~~^~~
/home/user/ncs/v2.2.0/zephyr/lib/libc/minimal/source/stdout/fprintf.c: In function &amp;#39;vfprintf&amp;#39;:
/home/user/ncs/v2.2.0/zephyr/lib/libc/minimal/source/stdout/fprintf.c:32:23: warning: passing argument 1 of &amp;#39;cbvprintf&amp;#39; from incompatible pointer type [-Wincompatible-pointer-types]
   32 |         r = cbvprintf(fputc, DESC(stream), format, vargs);
      |                       ^~~~~
      |                       |
      |                       int (*)(int,  FILE *) {aka int (*)(int,  int *)}
../../../../include/zephyr/sys/cbprintf.h:715:27: note: expected &amp;#39;cbprintf_cb&amp;#39; {aka &amp;#39;int (*)(int,  void *)&amp;#39;} but argument is of type &amp;#39;int (*)(int,  FILE *)&amp;#39; {aka &amp;#39;int (*)(int,  int *)&amp;#39;}
  715 | int cbvprintf(cbprintf_cb out, void *ctx, const char *format, va_list ap)
      |               ~~~~~~~~~~~~^~~
/home/user/ncs/v2.2.0/zephyr/lib/libc/minimal/source/stdout/fprintf.c: In function &amp;#39;printf&amp;#39;:
/home/user/ncs/v2.2.0/zephyr/lib/libc/minimal/source/stdout/fprintf.c:43:23: warning: passing argument 1 of &amp;#39;cbvprintf&amp;#39; from incompatible pointer type [-Wincompatible-pointer-types]
   43 |         r = cbvprintf(fputc, DESC(stdout), format, vargs);
      |                       ^~~~~
      |                       |
      |                       int (*)(int,  FILE *) {aka int (*)(int,  int *)}
../../../../include/zephyr/sys/cbprintf.h:715:27: note: expected &amp;#39;cbprintf_cb&amp;#39; {aka &amp;#39;int (*)(int,  void *)&amp;#39;} but argument is of type &amp;#39;int (*)(int,  FILE *)&amp;#39; {aka &amp;#39;int (*)(int,  int *)&amp;#39;}
  715 | int cbvprintf(cbprintf_cb out, void *ctx, const char *format, va_list ap)
      |               ~~~~~~~~~~~~^~~
/home/user/ncs/v2.2.0/zephyr/lib/libc/minimal/source/stdout/fprintf.c: In function &amp;#39;vprintf&amp;#39;:
/home/user/ncs/v2.2.0/zephyr/lib/libc/minimal/source/stdout/fprintf.c:53:23: warning: passing argument 1 of &amp;#39;cbvprintf&amp;#39; from incompatible pointer type [-Wincompatible-pointer-types]
   53 |         r = cbvprintf(fputc, DESC(stdout), format, vargs);
      |                       ^~~~~
      |                       |
      |                       int (*)(int,  FILE *) {aka int (*)(int,  int *)}
../../../../include/zephyr/sys/cbprintf.h:715:27: note: expected &amp;#39;cbprintf_cb&amp;#39; {aka &amp;#39;int (*)(int,  void *)&amp;#39;} but argument is of type &amp;#39;int (*)(int,  FILE *)&amp;#39; {aka &amp;#39;int (*)(int,  int *)&amp;#39;}
  715 | int cbvprintf(cbprintf_cb out, void *ctx, const char *format, va_list ap)
      |               ~~~~~~~~~~~~^~~
[156/166] Linking C executable zephyr/zephyr_pre0.elf

[160/166] Linking C executable zephyr/zephyr_pre1.elf

[166/166] Linking C executable zephyr/zephyr.elf
Memory region         Used Size  Region Size  %age Used
           FLASH:       19390 B       512 KB      3.70%
             RAM:        5504 B        64 KB      8.40%
        IDT_LIST:          0 GB         2 KB      0.00%&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Static code analyze tools for NRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/400515?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2022 07:13:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b426d360-e037-4d8e-b1e7-44babaeeff2f</guid><dc:creator>trafficode</dc:creator><description>&lt;p&gt;The case is quite urgent, can I ask about some answer...?&lt;/p&gt;
&lt;div id="gtx-trans" style="left:246px;position:absolute;top:-20px;"&gt;
&lt;div class="gtx-trans-icon"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Static code analyze tools for NRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/400223?ContentTypeID=1</link><pubDate>Mon, 12 Dec 2022 16:35:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0c1445f-07c5-42c1-b603-9489ef862af6</guid><dc:creator>Aleksa</dc:creator><description>&lt;p&gt;I have issues with static analysis too. Currently&amp;nbsp;using ncs v2.2.0. I get this error:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;The only way to override its &amp;#39;cc&amp;#39; default when cross-compiling with sparse
is unfortunately an environment variable. So you _must_ set REAL_CC at
both configuration time and build time to:
${HOME}/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve tried setting REAL_CC in bash to the specified value, but the error&amp;nbsp;stays the same.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Static code analyze tools for NRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/399837?ContentTypeID=1</link><pubDate>Fri, 09 Dec 2022 08:26:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:539db278-ceca-493f-9f33-cbffee861b2b</guid><dc:creator>trafficode</dc:creator><description>&lt;p&gt;I tried to reinstall all on other user and situation is exactly the same...&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;krakku@es2-hpprobook450g1:~/ncs/zephyr$ west build -p always -b nrf52dk_nrf52832 samples/basic/blinky -- -DSPARSE=y
-- west build: making build dir /home/krakku/ncs/zephyr/build pristine
-- west build: generating a build system                                                                                                                                 
Loading Zephyr default modules (Zephyr base).                                                                                                                            
-- Application: /home/krakku/ncs/zephyr/samples/basic/blinky
-- Found Python3: /usr/bin/python3.10 (found suitable exact version &amp;quot;3.10.6&amp;quot;) found components: Interpreter 
-- Cache files will be written to: /home/krakku/.cache//zephyr
-- Zephyr version: 3.1.99 (/home/krakku/ncs/zephyr)
-- Found west (found suitable version &amp;quot;0.14.0&amp;quot;, minimum required is &amp;quot;0.7.1&amp;quot;)
-- Board: nrf52dk_nrf52832
-- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
-- Found host-tools: zephyr 0.14.1 (/home/krakku/ncs/toolchain/zephyr-sdk-0.14.1)
-- Found dtc: /home/krakku/ncs/toolchain/zephyr-sdk-0.14.1/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version &amp;quot;1.6.0&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)
-- Found toolchain: zephyr 0.14.1 (/home/krakku/ncs/toolchain/zephyr-sdk-0.14.1)
-- Found BOARD.dts: /home/krakku/ncs/zephyr/boards/arm/nrf52dk_nrf52832/nrf52dk_nrf52832.dts
-- Generated zephyr.dts: /home/krakku/ncs/zephyr/build/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /home/krakku/ncs/zephyr/build/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /home/krakku/ncs/zephyr/build/zephyr/include/generated/device_extern.h
-- Including generated dts.cmake file: /home/krakku/ncs/zephyr/build/zephyr/dts.cmake
Parsing /home/krakku/ncs/zephyr/Kconfig
Loaded configuration &amp;#39;/home/krakku/ncs/zephyr/boards/arm/nrf52dk_nrf52832/nrf52dk_nrf52832_defconfig&amp;#39;
Merged configuration &amp;#39;/home/krakku/ncs/zephyr/samples/basic/blinky/prj.conf&amp;#39;
Configuration saved to &amp;#39;/home/krakku/ncs/zephyr/build/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;/home/krakku/ncs/zephyr/build/zephyr/include/generated/autoconf.h&amp;#39;
CMake Error at /home/krakku/ncs/zephyr/cmake/compiler/gcc/target.cmake:17 (message):
  C compiler                                                                                                                                                             
  /home/krakku/ncs/toolchain/zephyr-sdk-0.14.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc                                                                                   
  not found - Please check your toolchain installation                                                                                                                   
Call Stack (most recent call first):                                                                                                                                     
  /home/krakku/ncs/zephyr/cmake/modules/target_toolchain.cmake:63 (include)                                                                                              
  /home/krakku/ncs/zephyr/cmake/modules/zephyr_default.cmake:121 (include)                                                                                               
  /home/krakku/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)                                                                                     
  /home/krakku/ncs/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)                                                                         
  CMakeLists.txt:4 (find_package)                                                                                                                                        
                                                                                                                                                                         
                                                                                                                                                                         
-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: /usr/bin/cmake -DWEST_PYTHON=/usr/bin/python3 -B/home/krakku/ncs/zephyr/build -GNinja -DBOARD=nrf52dk_nrf52832 -DSPARSE=y -S/home/krakku/ncs/zephyr/samples/basic/blinky&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Below contents of the folder of interest&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;krakku@es2-hpprobook450g1:~/ncs/zephyr$ cd /home/krakku/ncs/toolchain/zephyr-sdk-0.14.1/arm-zephyr-eabi/bin/                                                             
krakku@es2-hpprobook450g1:~/ncs/toolchain/zephyr-sdk-0.14.1/arm-zephyr-eabi/bin$ ls -l
total 67688
-rwxr-xr-x 1 krakku krakku  1023184 kwi 11  2022 arm-zephyr-eabi-addr2line
-rwxr-xr-x 2 krakku krakku  1051608 kwi 11  2022 arm-zephyr-eabi-ar
-rwxr-xr-x 2 krakku krakku  2035264 kwi 11  2022 arm-zephyr-eabi-as
-rwxr-xr-x 2 krakku krakku  1297216 kwi 11  2022 arm-zephyr-eabi-c++
lrwxrwxrwx 1 krakku krakku       19 kwi 11  2022 arm-zephyr-eabi-cc -&amp;gt; arm-zephyr-eabi-gcc
-rwxr-xr-x 1 krakku krakku  1018576 kwi 11  2022 arm-zephyr-eabi-c++filt
-rwxr-xr-x 1 krakku krakku  1293120 kwi 11  2022 arm-zephyr-eabi-cpp
-rwxr-xr-x 1 krakku krakku     5439 kwi 11  2022 arm-zephyr-eabi-ct-ng.config
-rwxr-xr-x 1 krakku krakku    35288 kwi 11  2022 arm-zephyr-eabi-elfedit
-rwxr-xr-x 2 krakku krakku  1297216 kwi 11  2022 arm-zephyr-eabi-g++
-rwxr-xr-x 2 krakku krakku  1293120 kwi 11  2022 arm-zephyr-eabi-gcc
-rwxr-xr-x 2 krakku krakku  1293120 kwi 11  2022 arm-zephyr-eabi-gcc-10.3.0
-rwxr-xr-x 1 krakku krakku    31208 kwi 11  2022 arm-zephyr-eabi-gcc-ar
-rwxr-xr-x 1 krakku krakku    31208 kwi 11  2022 arm-zephyr-eabi-gcc-nm
-rwxr-xr-x 1 krakku krakku    31208 kwi 11  2022 arm-zephyr-eabi-gcc-ranlib
-rwxr-xr-x 1 krakku krakku   741408 kwi 11  2022 arm-zephyr-eabi-gcov
-rwxr-xr-x 1 krakku krakku   536504 kwi 11  2022 arm-zephyr-eabi-gcov-dump
-rwxr-xr-x 1 krakku krakku   557048 kwi 11  2022 arm-zephyr-eabi-gcov-tool
-rwxr-xr-x 1 krakku krakku  8203952 kwi 11  2022 arm-zephyr-eabi-gdb
-rwxr-xr-x 1 krakku krakku     4045 kwi 11  2022 arm-zephyr-eabi-gdb-add-index
-rwxr-xr-x 1 krakku krakku     4045 kwi 11  2022 arm-zephyr-eabi-gdb-add-index-no-py
-rwxr-xr-x 1 krakku krakku  7781040 kwi 11  2022 arm-zephyr-eabi-gdb-no-py
-rwxr-xr-x 1 krakku krakku  1076608 kwi 11  2022 arm-zephyr-eabi-gprof
-rwxr-xr-x 1 krakku krakku  1076608 kwi 11  2022 arm-zephyr-eabi-gprof-no-py
-rwxr-xr-x 4 krakku krakku  1605408 kwi 11  2022 arm-zephyr-eabi-ld
-rwxr-xr-x 4 krakku krakku  1605408 kwi 11  2022 arm-zephyr-eabi-ld.bfd
-rwxr-xr-x 1 krakku krakku 25375440 kwi 11  2022 arm-zephyr-eabi-lto-dump
-rwxr-xr-x 2 krakku krakku  1036144 kwi 11  2022 arm-zephyr-eabi-nm
-rwxr-xr-x 2 krakku krakku  1162160 kwi 11  2022 arm-zephyr-eabi-objcopy
-rwxr-xr-x 2 krakku krakku  1721648 kwi 11  2022 arm-zephyr-eabi-objdump
-rwxr-xr-x 2 krakku krakku  1051640 kwi 11  2022 arm-zephyr-eabi-ranlib
-rwxr-xr-x 2 krakku krakku   789336 kwi 11  2022 arm-zephyr-eabi-readelf
-rwxr-xr-x 1 krakku krakku  1022960 kwi 11  2022 arm-zephyr-eabi-size
-rwxr-xr-x 1 krakku krakku  1023056 kwi 11  2022 arm-zephyr-eabi-strings
-rwxr-xr-x 2 krakku krakku  1162160 kwi 11  2022 arm-zephyr-eabi-strip&lt;/pre&gt;&lt;/p&gt;
&lt;div id="gtx-trans" style="left:-31px;position:absolute;top:-20px;"&gt;
&lt;div class="gtx-trans-icon"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>