<?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>Adding ubxlib to VSC project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/103067/adding-ubxlib-to-vsc-project</link><description>Getting this error below when trying to add ubxlib to project. 
 
 CMake Warning at C:/ncs/v2.4.0/zephyr/cmake/modules/extensions.cmake:2808 (message): 
 ********************************************************************** * * WARNING * * CMake variable</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Aug 2023 13:19:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/103067/adding-ubxlib-to-vsc-project" /><item><title>RE: Adding ubxlib to VSC project</title><link>https://devzone.nordicsemi.com/thread/442790?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2023 13:19:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07009c1d-6bf7-4b05-9eb0-4008e63b0235</guid><dc:creator>sleeper</dc:creator><description>&lt;p&gt;kheap__system_heap is using 128KB&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So ubxlib must be enabling the mempool, and the default&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_HEAP_MEM_POOL_SIZE is larger that the nrf52833 total memory.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding ubxlib to VSC project</title><link>https://devzone.nordicsemi.com/thread/442785?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2023 12:57:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33100492-64cb-4d4c-9c30-d0061b7fee98</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="sleeper"]&lt;p&gt;did you build for nrf52833 ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;c:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: region `RAM&amp;#39; overflowed by 12928 bytes&lt;br /&gt;collect2.exe: error: ld returned 1 exit status&lt;br /&gt;ninja: build stopped: subcommand failed.&lt;br /&gt;FATAL ERROR: command exited with status 1: &amp;#39;C:\ncs\toolchains\31f4403e35\opt\bin\cmake.EXE&amp;#39; --build &amp;#39;c:\Users\IMS_DEV\Documents\vscode\hello_world\build&amp;#39;&lt;/p&gt;[/quote]
&lt;p&gt;I built for the nRF52840, so that is why mine worked.&lt;/p&gt;
&lt;p&gt;It seems that ubxlib takes a lot of ram, huh.&lt;br /&gt;Have a look at &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/test_and_optimize/optimizing/memory.html"&gt;Memory footprint optimization&lt;/a&gt; to try to reduce RAM usage. &lt;br /&gt;Maybe ubxlib also has some settings to reduce RAM?&lt;/p&gt;
[quote user="sleeper"]CMake Warning at C:/ncs/v2.4.0/zephyr/CMakeLists.txt:1864 (message):&lt;br /&gt; __ASSERT() statements are globally ENABLED[/quote]
&lt;p&gt;This means that ASSERS are enabled. This can be turned off with &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_ASSERT"&gt;CONFIG_ASSERT&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding ubxlib to VSC project</title><link>https://devzone.nordicsemi.com/thread/442756?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2023 11:22:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b4033f9-92bf-4075-a1a8-4ff036821e06</guid><dc:creator>sleeper</dc:creator><description>&lt;p&gt;the it says on mine that it is out of RAM&amp;nbsp;&lt;/p&gt;
&lt;p&gt;did you build for nrf52833 ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;c:/ncs/toolchains/31f4403e35/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: region `RAM&amp;#39; overflowed by 12928 bytes&lt;br /&gt;collect2.exe: error: ld returned 1 exit status&lt;br /&gt;ninja: build stopped: subcommand failed.&lt;br /&gt;FATAL ERROR: command exited with status 1: &amp;#39;C:\ncs\toolchains\31f4403e35\opt\bin\cmake.EXE&amp;#39; --build &amp;#39;c:\Users\IMS_DEV\Documents\vscode\hello_world\build&amp;#39;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;also i get this warning&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;CMake Warning at C:/ncs/v2.4.0/zephyr/CMakeLists.txt:1864 (message):&lt;br /&gt; __ASSERT() statements are globally ENABLED&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding ubxlib to VSC project</title><link>https://devzone.nordicsemi.com/thread/442753?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2023 11:17:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcb2e825-a9eb-40db-86f9-6df83bc94b8c</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;I build your project on my computer and it looks like it builds and runs without error.&lt;/p&gt;
&lt;p&gt;What is the issue?&lt;/p&gt;
&lt;p&gt;What would you expect to happen if it works?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding ubxlib to VSC project</title><link>https://devzone.nordicsemi.com/thread/442742?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2023 10:50:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5184c05d-ea0a-413c-9343-ccc78f636c60</guid><dc:creator>sleeper</dc:creator><description>&lt;p&gt;here is hello world sample, with ubxlib as a folder. The Cmakelist.txt has two lines added to build the ubxlib......&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7140.hello_5F00_world.zip"&gt;devzone.nordicsemi.com/.../7140.hello_5F00_world.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding ubxlib to VSC project</title><link>https://devzone.nordicsemi.com/thread/442730?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2023 10:19:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62361478-22aa-4510-84c9-8c943dd44709</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Is it possible for you to upload a zip of your project, so I can try to build it also?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding ubxlib to VSC project</title><link>https://devzone.nordicsemi.com/thread/442720?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2023 09:35:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4676b1a0-4de8-45c2-9384-f9882bf52dd7</guid><dc:creator>sleeper</dc:creator><description>&lt;p&gt;ubxlib a source code lib that allows easy integration of ublox devices like GNSS and Cellular modems&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;see here&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.u-blox.com/en/product/ubxlib"&gt;www.u-blox.com/.../ubxlib&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding ubxlib to VSC project</title><link>https://devzone.nordicsemi.com/thread/442716?ContentTypeID=1</link><pubDate>Wed, 23 Aug 2023 09:06:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f552a4b-ae12-4d77-a218-eb9db9f32ea5</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you shortly explain what ubxlib is and why you need to use it?&lt;/p&gt;
&lt;p&gt;Are you adding it to VS Code, or to nRF Connect SDK?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>