<?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>embuild.exe optimization configuration</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59221/embuild-exe-optimization-configuration</link><description>Hi Nordic, 
 i have a question regarding the emBuild.exe tool and the optimization level it will use during building a hex file. I&amp;#39;am using the following command combination for my built: 
 emBuild.exe -config &amp;quot;Release&amp;quot; xxx.emProject -echo -verbose -rebuild</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 Mar 2020 11:50:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59221/embuild-exe-optimization-configuration" /><item><title>RE: embuild.exe optimization configuration</title><link>https://devzone.nordicsemi.com/thread/240412?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2020 11:50:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26e6383c-bcb6-4933-8077-7a5eb242ea58</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;You&amp;#39;re right. With the echo command, you can also look at the &amp;quot;-O&amp;quot; parameter passed to the compiler:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;3&amp;gt;Compiling &amp;#39;system_nrf52.c&amp;#39;
3&amp;gt;/opt/segger/segger_embedded_studio_for_arm_4.50/gcc/arm-none-eabi/bin/cc1 -fmessage-length=0 -fno-diagnostics-show-caret -mcpu=cortex-m4 -mlittle-endian -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb -mtp=soft -munaligned-access -nostdinc -isystem/opt/segger/segger_embedded_studio_for_arm_4.50/include -I../../../config -I../../../../../../components -I../../../../../../components/boards -I../../../../../../components/drivers_nrf/nrf_soc_nosd -I../../../../../../components/libraries/atomic -I../../../../../../components/libraries/balloc -I../../../../../../components/libraries/bsp -I../../../../../../components/libraries/delay -I../../../../../../components/libraries/experimental_section_vars -I../../../../../../components/libraries/log -I../../../../../../components/libraries/log/src -I../../../../../../components/libraries/memobj -I../../../../../../components/libraries/ringbuf -I../../../../../../components/libraries/strerror -I../../../../../../components/libraries/util -I../../../../../../components/toolchain/cmsis/include -I../../.. -I../../../../../../external/fprintf -I../../../../../../integration/nrfx -I../../../../../../modules/nrfx -I../../../../../../modules/nrfx/hal -I../../../../../../modules/nrfx/mdk -I../config -D__SIZEOF_WCHAR_T=4 -D__ARM_ARCH_7EM__ -D__SES_ARM -D__ARM_ARCH_FPV4_SP_D16__ -D__HEAP_SIZE__=8192 -D__SES_VERSION=45000 -D__GNU_LINKER -DNDEBUG -DBOARD_PCA10040 -DBSP_DEFINES_ONLY -DCONFIG_GPIO_AS_PINRESET -DFLOAT_ABI_HARD -DINITIALIZE_USER_SECTIONS -DNO_VTOR_CONFIG -DNRF52 -DNRF52832_XXAA -DNRF52_PAN_74 -MD /opt/nrf5_sdk16/examples/peripheral/blinky/pca10040/blank/ses/Output/blinky_pca10040 Release/Obj/system_nrf52.d -MQ Output/blinky_pca10040 Release/Obj/system_nrf52.o -quiet -std=gnu99 -g3 -gpubnames -fdebug-types-section -Os -fomit-frame-pointer -fno-dwarf2-cfi-asm -fno-builtin -ffunction-sections -fdata-sections -fshort-enums -fno-common /opt/nrf5_sdk16/modules/nrfx/mdk/system_nrf52.c -o /opt/nrf5_sdk16/examples/peripheral/blinky/pca10040/blank/ses/Output/blinky_pca10040 Release/Obj/system_nrf52.asm
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Really long line, but in my case it&amp;#39;s &amp;quot;Os&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: embuild.exe optimization configuration</title><link>https://devzone.nordicsemi.com/thread/240356?ContentTypeID=1</link><pubDate>Wed, 18 Mar 2020 08:44:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71a5c1a3-9d28-4b6d-8c82-e4a3a4fb5c2a</guid><dc:creator>SJahnke</dc:creator><description>&lt;p&gt;Okay...i think i&amp;#39;ve found the answer! It&amp;#39;s of course the optimization level of the SES project, previously adjusted in the SES IDE. Am i right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>