<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 2: STM32F4 template</title><link>https://sourceforge.net/p/gnuarmeclipse/beta-versions/2/</link><description>Recent changes to 2: STM32F4 template</description><atom:link href="https://sourceforge.net/p/gnuarmeclipse/beta-versions/2/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 03 Apr 2014 11:00:31 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/gnuarmeclipse/beta-versions/2/feed.rss" rel="self" type="application/rss+xml"/><item><title>#2 STM32F4 template</title><link>https://sourceforge.net/p/gnuarmeclipse/beta-versions/2/?limit=25#27db</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I just published a new beta version, with vectors fixed for all processor variants and warnings fixed.&lt;/p&gt;
&lt;p&gt;Please let me know if for your configurations it compiles properly.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Liviu Ionescu (ilg)</dc:creator><pubDate>Thu, 03 Apr 2014 11:00:31 -0000</pubDate><guid>https://sourceforge.neta74fcf9bd957f0432dfd5f76a270eca437917a20</guid></item><item><title>#2 STM32F4 template</title><link>https://sourceforge.net/p/gnuarmeclipse/beta-versions/2/?limit=25#1462/f2b5</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Alex, thank you for your help. &lt;/p&gt;
&lt;p&gt;I fixed the lines you indicated, they were obviously wrong.&lt;/p&gt;
&lt;p&gt;regarding I2C and SPI, as the new HAL library is designed, you need to enable those drivers in the conf.h file and be sure you did not exclude the sources from build. I updated the conf.h file and now all drivers are included, but normally this should be trimmed by the application, to save some compile time.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Liviu Ionescu (ilg)</dc:creator><pubDate>Thu, 03 Apr 2014 05:21:15 -0000</pubDate><guid>https://sourceforge.net3d3944d8c1b3f6f703881de128c2f0e2f39793ea</guid></item><item><title>#2 STM32F4 template</title><link>https://sourceforge.net/p/gnuarmeclipse/beta-versions/2/?limit=25#1462</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;From user AlexX (https://sourceforge.net/u/alex-x2/profile/):&lt;/p&gt;
&lt;p&gt;Hi, Liviu!&lt;br /&gt;
Thanks for the invitation to test updated software!&lt;br /&gt;
For the last few month I have been working with other projects, and I didn't have time to work with STM32 &amp;amp; Eclipse. So, I'm a little bit "outdated".&lt;br /&gt;
As I see, there is major changes with gnuarmeclipse plugin, as well as with "SPL", now known as "HAL".&lt;br /&gt;
For today, I didn't have much time to test it. Just few remarks:&lt;/p&gt;
&lt;p&gt;I. I tried to compile Blink template for STM32F429 and instantly got errors in file "vectors_stm32f4xx.c", such as undeclared "UART7_IRQHandler, UART8_IRQHandler, SPI5_IRQHandler, SPI6_IRQHandler..." This problems caused by this line:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;    &lt;span class="c"&gt;#if defined(STM32F427_437xx) || defined(STM32F427_429xx)&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;This should be something like:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt; &lt;span class="c"&gt;#if defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx) || defined(STM32F439xx)&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;because of later&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt; &lt;span class="c"&gt;#elif defined(STM32F429xx)&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;II. After the line: &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;     &lt;span class="c"&gt;#if defined(STM32F427_437xx) || defined(STM32F427_429xx)&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;you defined SPI4_IRQHandler second time:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt; &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;__attribute__&lt;/span&gt; &lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="n"&gt;weak&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;alias&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;Default_Handler&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;)))&lt;/span&gt;
 &lt;span class="n"&gt;SPI4_IRQHandler&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;void&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;It also have been defined a couple of lines earlier.&lt;/p&gt;
&lt;p&gt;After that compilation went ok and the led blinked.&lt;/p&gt;
&lt;p&gt;Then I tried to compile with this new library &amp;amp; template my previous project, which requires 150 K of RAM. But i didn't succeed, so I couldn't test it for you at the moment.&lt;br /&gt;
After all I tried to compile some simple example projects from STM32Cube for STM32F407 and STM32F429 chips. That was also unsuccessful, I got tons of errors like&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt; &lt;span class="nx"&gt;unknown&lt;/span&gt; &lt;span class="nx"&gt;type&lt;/span&gt; &lt;span class="nx"&gt;name&lt;/span&gt; &lt;span class="s1"&gt;'SPI_HandleTypeDef'&lt;/span&gt;
 &lt;span class="nx"&gt;unknown&lt;/span&gt; &lt;span class="nx"&gt;type&lt;/span&gt; &lt;span class="nx"&gt;name&lt;/span&gt; &lt;span class="s1"&gt;'I2C_HandleTypeDef'&lt;/span&gt;
 &lt;span class="s1"&gt;'HAL_SPI_STATE_RESET'&lt;/span&gt; &lt;span class="nx"&gt;undeclared&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;first&lt;/span&gt; &lt;span class="nx"&gt;use&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="k"&gt;this&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
 &lt;span class="nx"&gt;request&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="nx"&gt;member&lt;/span&gt; &lt;span class="s1"&gt;'Instance'&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="nx"&gt;something&lt;/span&gt; &lt;span class="nx"&gt;not&lt;/span&gt; &lt;span class="nx"&gt;a&lt;/span&gt; &lt;span class="nx"&gt;structure&lt;/span&gt; &lt;span class="nx"&gt;or&lt;/span&gt; &lt;span class="nx"&gt;union&lt;/span&gt;
 &lt;span class="s1"&gt;'SPI_BAUDRATEPRESCALER_16'&lt;/span&gt; &lt;span class="nx"&gt;undeclared&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;first&lt;/span&gt; &lt;span class="nx"&gt;use&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="k"&gt;this&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
 &lt;span class="p"&gt;...&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;and so on. They were connected, as I understand, with I2C and SPI modules.&lt;br /&gt;
I should remark, that was new examples specially written for work with "HAL" library.&lt;br /&gt;
I don't know, what the problem is, but I couldn't figure it out quickly, may be it was my fault, but they were identical both for STM32F407 and STM32F429.&lt;br /&gt;
After all of these, I'm a little bit sad with this new experience.&lt;br /&gt;
I also have some remarks to new template structure, but I will write it to you later, I should investigate them more carefully.&lt;br /&gt;
By the way, thanks for such huge amount of work!&lt;br /&gt;
Best regards.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Liviu Ionescu (ilg)</dc:creator><pubDate>Thu, 03 Apr 2014 05:13:03 -0000</pubDate><guid>https://sourceforge.netdea8610679677ddbb625ed15d2ba7b74baf18bbc</guid></item><item><title>#2 STM32F4 template</title><link>https://sourceforge.net/p/gnuarmeclipse/beta-versions/2/?limit=25#403b</link><description>&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;I did unplug re plug usb cable so it is not the debug bit?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;ah, ok, now I saw you have USE_SEMIHOSTING...&lt;/p&gt;
&lt;p&gt;as I said first, I applied the patch to check the debugger only to the trace_write_semihosting_*() routines&lt;/p&gt;
&lt;p&gt;for semihosting there are too many calls to patch, so I decided to use the handler patch.&lt;/p&gt;
&lt;p&gt;your Hard Fault handler is good starting point, but I need some more time to study the details, so I decided to do it in the next release.&lt;/p&gt;
&lt;p&gt;anyway, semihosting configurations are intended for unit tests, that get the test parameters from the host, write a progress file back to the host and return the pass/fail status also to the host, so it makes not much sense to run such tests without the debugger.&lt;/p&gt;
&lt;p&gt;for the next release I plan to add a fourth configuration (Google Tests) to generate unit tests projects (using a separate library project, with the Google Mock code). the testing infrastructure is almost ready in µOS++, but I'm waiting for SEGGER to implement some details related to passing the exit code back to the host).&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Ideally std periph could be an external lib&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;yes, it is planned to be a more advanced wizard to select the required components (based on some metadata added to the source files describing the dependencies and configuration options), and pack them as a separate library (eCos style, which packs everything, startup, drivers, scheduler, network, filesystem, etc. as a separate managed library, i.e. can be reconfigured at any time using the wizard).&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Liviu Ionescu (ilg)</dc:creator><pubDate>Sun, 30 Mar 2014 08:38:07 -0000</pubDate><guid>https://sourceforge.netd435c9d2919a7868b87ce320f683957f583e4335</guid></item><item><title>#2 STM32F4 template</title><link>https://sourceforge.net/p/gnuarmeclipse/beta-versions/2/?limit=25#89d3</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I did unplug re plug usb cable so it is not the debug bit?&lt;/p&gt;
&lt;p&gt;for M0 Just add an  Hard Fault handler like I provided to bypass all swi &lt;br /&gt;
maybe review it to check it is an swi instruction and also do not compare if pc &amp;lt; main. &lt;br /&gt;
I can help for that &lt;br /&gt;
It might just be slower with lot of exception generated but should work for all cpu.&lt;/p&gt;
&lt;p&gt;Ideally std periph could be an external lib  (two project linked or not ) but it's more complex to put in place. It is more convenient as we can have different build setting and also do not need to rebuild it whenever on option change in main project. &lt;/p&gt;
&lt;p&gt;your new option is already a good alternative to avoid compiling tons of unused file.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">diabolo38</dc:creator><pubDate>Sun, 30 Mar 2014 07:46:13 -0000</pubDate><guid>https://sourceforge.netdfe6a129c54e021cb9fd0350d51c9ac891223133</guid></item><item><title>#2 STM32F4 template</title><link>https://sourceforge.net/p/gnuarmeclipse/beta-versions/2/?limit=25#cb31</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I just added two more features:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;an option to select if the stdPeriph unused drivers remain present in the project but are excluded from build (similar options will be added to all templates)&lt;/li&gt;
&lt;li&gt;the TRACE definition is not issued at all if no trace device is selected (this applies to all existing templates F&lt;span&gt;[014]&lt;/span&gt;)&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Liviu Ionescu (ilg)</dc:creator><pubDate>Sat, 29 Mar 2014 22:11:26 -0000</pubDate><guid>https://sourceforge.net13986fb0f8ff9ed43ff764f81721cd2cbff5a903</guid></item><item><title>#2 STM32F4 template</title><link>https://sourceforge.net/p/gnuarmeclipse/beta-versions/2/?limit=25#39ee</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;although it does not apply to F4, another detail to remember is that the CoreDebug register used to skip the semihosting call, is not available on armv6 architectures, so Cortex-M0/M0+ cannot use this method to make applications compiled with trace run without the debugger, and more elaborate methods must be used (exception handler tricks).&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Liviu Ionescu (ilg)</dc:creator><pubDate>Sat, 29 Mar 2014 12:05:28 -0000</pubDate><guid>https://sourceforge.net65d2186a420aed3c25199630d2c880c3c1eced00</guid></item><item><title>#2 STM32F4 template</title><link>https://sourceforge.net/p/gnuarmeclipse/beta-versions/2/?limit=25#b1e6</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; accepted&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Liviu Ionescu (ilg)</dc:creator><pubDate>Sat, 29 Mar 2014 12:01:51 -0000</pubDate><guid>https://sourceforge.netc211a062a947647d3b685e974c1e0721bf84541b</guid></item><item><title>#2 STM32F4 template</title><link>https://sourceforge.net/p/gnuarmeclipse/beta-versions/2/?limit=25#206e</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Eclipse Kepler sr2 (win 7 64)&lt;br /&gt;
GNU ARM C/C++ STM32Fx Project Templates 2.1.1.201403281421&lt;br /&gt;
openocd 0.7.0 (win 64)&lt;/p&gt;
&lt;p&gt;stm32f4xxx c project semi hosting blink with debugger but is not blinking if not debugged?&lt;br /&gt;
I must be missing something but what ?&lt;br /&gt;
&lt;img alt="symbol config" src="http://s16.postimg.org/pwv5ru02d/test_cfg.png" rel="nofollow" /&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">diabolo38</dc:creator><pubDate>Sat, 29 Mar 2014 11:53:42 -0000</pubDate><guid>https://sourceforge.net9b8c02da084f1e89fa9e37743d884c6bf6437e81</guid></item><item><title>#2 STM32F4 template</title><link>https://sourceforge.net/p/gnuarmeclipse/beta-versions/2/?limit=25#fc01</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;please be aware that on this version, only the F4 and the generic Cortex-M templates are functional, the F1, F3 are work in progress.&lt;/p&gt;
&lt;p&gt;so do not install it on a production Eclipse, better use a separate Eclipse.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Liviu Ionescu (ilg)</dc:creator><pubDate>Tue, 25 Mar 2014 20:55:48 -0000</pubDate><guid>https://sourceforge.net610a5f188e8f4712c9bdf21494512a3f26b23c5f</guid></item></channel></rss>