<?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>Calling a Python script from Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43402/calling-a-python-script-from-segger-embedded-studio</link><description>Hi 
 I have made a small Python script that generates a C-file with the build date/time and some other values. 
 Is it possible to make Segger Embedded Studio execute the python script before a rebuild so the generated file is always up to date? Or do</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Feb 2019 09:48:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43402/calling-a-python-script-from-segger-embedded-studio" /><item><title>RE: Calling a Python script from Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/170560?ContentTypeID=1</link><pubDate>Tue, 12 Feb 2019 09:48:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a93adb6b-b0dd-4dac-86d4-46300979c47d</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;This would be a general SES thing - not specific to Nordic - so you&amp;#39;d be better asking Segger for detailed help&lt;br /&gt;&lt;br /&gt;&lt;a href="https://forum.segger.com/index.php/Board/9-SEGGER-Embedded-Studio-related/?s=69560ffed11a5b85c15ef499f0fd19bb3cd74649" rel="noopener noreferrer" target="_blank"&gt;Segger Embedded Studio Forum&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calling a Python script from Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/170555?ContentTypeID=1</link><pubDate>Tue, 12 Feb 2019 09:44:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:700d1190-88d6-4b61-a8bc-05ce0ae2f666</guid><dc:creator>mosgaard2000</dc:creator><description>&lt;p&gt;Thanks. I couldn&amp;#39;t get it to work with pre-build command, but I was able to call a .bat file with the Pre-compile command instead.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calling a Python script from Segger Embedded Studio</title><link>https://devzone.nordicsemi.com/thread/169941?ContentTypeID=1</link><pubDate>Thu, 07 Feb 2019 13:52:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8856da1-981a-4c17-84f3-ab1e50367757</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes it should be possible. You can add custom build steps in your project configuration as shown below (guess it the pre-Build command you want to use):&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-c313f8e62a65452483ee1457a10c367c/pastedimage1549547532842v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>