<?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>Issues to build GNSS sample while using SUPL server for A-GNSS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113630/issues-to-build-gnss-sample-while-using-supl-server-for-a-gnss</link><description>Hi DevZone community, I have an error while building GNSS sample while using SUPL server A-GNSS, please see below the error I get and help me if you know where the issue may come from -- Configuring incomplete, errors occurred! See also &amp;quot;C:/ncs/v2.6.1</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Aug 2024 12:38:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113630/issues-to-build-gnss-sample-while-using-supl-server-for-a-gnss" /><item><title>RE: Issues to build GNSS sample while using SUPL server for A-GNSS</title><link>https://devzone.nordicsemi.com/thread/497817?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2024 12:38:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0677018a-c097-4b22-a3c8-90fb10227d37</guid><dc:creator>Saad</dc:creator><description>&lt;p&gt;&lt;strong&gt;Hi Charlie,&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Thank you so much for your support, you have been so helpful with your replies.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;I managed to have the SUPL server A-GNSS work, apparently I was making two errors:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Error1: &lt;/strong&gt;Not adding the Extra Kconfig overlay-supl.conf&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Error2: &lt;/strong&gt;Extracting the SUPL client library in the wrong file&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Best regards&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Saad&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues to build GNSS sample while using SUPL server for A-GNSS</title><link>https://devzone.nordicsemi.com/thread/497637?ContentTypeID=1</link><pubDate>Fri, 09 Aug 2024 13:15:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a22d668-b8d1-42ad-9c55-4e645e3bc4d8</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Saad,&lt;/p&gt;
&lt;p&gt;I did a try then successfully build the GNSS sample with SUPL. Here are the steps.&lt;/p&gt;
&lt;p&gt;1) Referring to&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.7.0/page/nrf/samples/cellular/gnss/README.html#building_and_running"&gt;docs.nordicsemi.com/.../README.html&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Downloading and installing&lt;/h3&gt;
&lt;p&gt;You can download the SUPL client library from the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Kits/nRF9160-DK/Download#supl-c"&gt;nRF9160 DK product page&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Download the nRF9160 SiP SUPL client library zip file and extract it into the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span&gt;nrf/ext/lib/bin/&lt;/span&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;folder. Make sure to maintain the folder structure that is used in the zip file.&lt;/p&gt;
&lt;p&gt;2) Set building configuration, adding overlay-supl.conf. I also added &amp;quot;&lt;span&gt;CONFIG_GNSS_SAMPLE_SUPL_HOSTNAME&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;&amp;quot;supl.google.com&amp;quot;&amp;quot; as you did.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:480px;max-width:400px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/800x960/__key/communityserver-discussions-components-files/4/pastedimage1723209067347v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Here is the building log:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt; *  Executing task: nRF Connect: Build [pristine]: gnss/build (active) 

Building gnss
C:\WINDOWS\system32\cmd.exe /d /s /c &amp;quot;west build --build-dir c:/NCS/v2.6.1/nrf/samples/cellular/gnss/build c:/NCS/v2.6.1/nrf/samples/cellular/gnss --pristine --board nrf9160dk_nrf9160_ns -- -DNCS_TOOLCHAIN_VERSION=NONE -DEXTRA_CONF_FILE=overlay-supl.conf  

-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: C:/NCS/v2.6.1/nrf/samples/cellular/gnss
-- CMake version: 3.21.0
-- Found Python3: C:/NCS/toolchains/cf2149caf2/opt/bin/python.exe (found suitable version &amp;quot;3.9.13&amp;quot;, minimum required is &amp;quot;3.8&amp;quot;) found components: Interpreter 
-- Cache files will be written to: C:/NCS/v2.6.1/zephyr/.cache
-- Zephyr version: 3.5.99 (C:/NCS/v2.6.1/zephyr)
-- Found west (found suitable version &amp;quot;1.2.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: nrf9160dk_nrf9160_ns, Revision: 0.14.0
-- Found host-tools: zephyr 0.16.5 (C:/NCS/toolchains/cf2149caf2/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.16.5 (C:/NCS/toolchains/cf2149caf2/opt/zephyr-sdk)
-- Found Dtc: C:/NCS/toolchains/cf2149caf2/opt/bin/dtc.exe (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;) 
-- Found BOARD.dts: C:/NCS/v2.6.1/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns.dts
-- Found devicetree overlay: C:/NCS/v2.6.1/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns_0_14_0.overlay
-- Generated zephyr.dts: C:/NCS/v2.6.1/nrf/samples/cellular/gnss/build/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/NCS/v2.6.1/nrf/samples/cellular/gnss/build/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: C:/NCS/v2.6.1/nrf/samples/cellular/gnss/build/zephyr/dts.cmake

warning: The choice symbol PICOLIBC_IO_FLOAT (defined at lib/libc\picolibc/Kconfig:42) was selected
(set =y), but no symbol ended up as the choice selection. See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_PICOLIBC_IO_FLOAT and/or look up
PICOLIBC_IO_FLOAT in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.

Parsing C:/NCS/v2.6.1/nrf/samples/cellular/gnss/Kconfig
Loaded configuration &amp;#39;C:/NCS/v2.6.1/zephyr/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_ns_defconfig&amp;#39;
Merged configuration &amp;#39;C:/NCS/v2.6.1/nrf/samples/cellular/gnss/prj.conf&amp;#39;
Merged configuration &amp;#39;C:/NCS/v2.6.1/nrf/samples/cellular/gnss/overlay-supl.conf&amp;#39;
Configuration saved to &amp;#39;C:/NCS/v2.6.1/nrf/samples/cellular/gnss/build/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;C:/NCS/v2.6.1/nrf/samples/cellular/gnss/build/zephyr/include/generated/autoconf.h&amp;#39;
-- Found GnuLd: c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe (found version &amp;quot;2.38&amp;quot;) 
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/NCS/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
Dropping partition &amp;#39;nrf_modem_lib_trace&amp;#39; since its size is 0.
Dropping partition &amp;#39;nonsecure_storage&amp;#39; since it is empty.
-- Configuring done
-- Generating done
-- Build files have been written to: C:/NCS/v2.6.1/nrf/samples/cellular/gnss/build
-- west build: building application
[2/270] Generating include/generated/version.h
-- Zephyr version: 3.5.99 (C:/NCS/v2.6.1/zephyr), build: v3.5.99-ncs1-1-4-ga681edb8d456
[7/270] Generating ../../tfm/CMakeCache.txt
CMake Warning at cmake/version.cmake:22 (message):
  Actual TF-M version is not available from Git repository.  Settled to
  v2.0.0
Call Stack (most recent call first):
  CMakeLists.txt:22 (include)


-- Found Git: C:/NCS/toolchains/cf2149caf2/mingw64/bin/git.exe (found version &amp;quot;2.37.3.windows.1&amp;quot;) 
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/NCS/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
-- Found Python3: C:/NCS/toolchains/cf2149caf2/opt/bin/python.exe (found version &amp;quot;3.9.13&amp;quot;) found components: Interpreter 
CMake Deprecation Warning at C:/NCS/v2.6.1/zephyr/cmake/modules/FindDeprecated.cmake:121 (message):
  &amp;#39;PYTHON_PREFER&amp;#39; variable is deprecated.  Please use Python3_EXECUTABLE
  instead.
Call Stack (most recent call first):
  C:/NCS/v2.6.1/zephyr/cmake/modules/python.cmake:16 (find_package)
  C:/NCS/v2.6.1/zephyr/cmake/modules/user_cache.cmake:30 (include)
  C:/NCS/v2.6.1/zephyr/cmake/modules/extensions.cmake:5 (include)
  C:/NCS/v2.6.1/nrf/subsys/nrf_security/tfm/CMakeLists.txt:38 (include)


-- Found Python3: C:/NCS/toolchains/cf2149caf2/opt/bin/python.exe (found suitable version &amp;quot;3.9.13&amp;quot;, minimum required is &amp;quot;3.8&amp;quot;) found components: Interpreter 
-- Cache files will be written to: C:/NCS/v2.6.1/zephyr/.cache
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CRYPTO_RNG_MODULE_ENABLED
    MBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE
    PYTHON_PREFER


-- Build files have been written to: C:/NCS/v2.6.1/nrf/samples/cellular/gnss/build/tfm
[167/171] Linking C executable bin\tfm_s.axf
Memory region         Used Size  Region Size  %age Used
           FLASH:       32104 B        32 KB     97.97%
             RAM:       14392 B        32 KB     43.92%
[15/270] Performing install step for &amp;#39;tfm&amp;#39;
-- Install configuration: &amp;quot;MinSizeRel&amp;quot;
----- Installing platform NS -----
[268/270] Linking C executable zephyr\zephyr.elf
Memory region         Used Size  Region Size  %age Used
           FLASH:      201632 B       992 KB     19.85%
             RAM:       46576 B     211608 B     22.01%
        IDT_LIST:          0 GB        32 KB      0.00%
[270/270] Generating zephyr/merged.hex
 *  Terminal will be reused by tasks, press any key to close it. &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues to build GNSS sample while using SUPL server for A-GNSS</title><link>https://devzone.nordicsemi.com/thread/497143?ContentTypeID=1</link><pubDate>Tue, 06 Aug 2024 11:50:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e3463ee-c557-40a3-be0d-b8e2cd4335dd</guid><dc:creator>Saad</dc:creator><description>&lt;p&gt;&lt;strong&gt;Hi Charlie,&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Thanks for your reply,&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;the only change I did is to configure assitance data to SUPL server as shown:&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;img style="max-height:535px;max-width:602px;" alt=" " height="535" src="https://devzone.nordicsemi.com/resized-image/__size/1204x1070/__key/communityserver-discussions-components-files/4/pastedimage1722944525901v2.png" width="602" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;In matter of building I don&amp;#39;t have to run any command visual studio do it for me:&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;&lt;img style="max-height:110px;max-width:434px;" height="110" src="https://devzone.nordicsemi.com/resized-image/__size/868x220/__key/communityserver-discussions-components-files/4/pastedimage1722944671878v3.png" width="434" alt=" " /&gt;&lt;br /&gt;&lt;strong&gt;Thanks,&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Best regards,&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Saad&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues to build GNSS sample while using SUPL server for A-GNSS</title><link>https://devzone.nordicsemi.com/thread/497004?ContentTypeID=1</link><pubDate>Mon, 05 Aug 2024 14:21:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8192d3f1-6277-4aa7-80a7-b019e5c4b15d</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Saad,&lt;/p&gt;
&lt;p&gt;Could you describe the&amp;nbsp;changes you made to the gnss sample and share the whole building log including the building commands used?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>