<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/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/"><channel><title>STM32F10x_StdPeriph_Lib from stm.com</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/27169/stm32f10x_stdperiph_lib-from-stm-com</link><description> 
Hi 

 
I&amp;#39;m trying to use the STM32F10x_StdPeriph_Lib that I have
downloaded from stm.com, my problem is how do I tell uVision that it
shall not use the default file located a C:\Keil\ARM\INC\ST\. Or to
put it in another words, how do I remove the compiler</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: STM32F10x_StdPeriph_Lib from stm.com</title><link>https://community.arm.com/thread/90382?ContentTypeID=1</link><pubDate>Thu, 03 Jun 2010 10:11:08 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:8a5830ea-f440-4cdb-9110-c9589e57704a</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
You mean, comment-out the line?&lt;/p&gt;

&lt;p&gt;
That will almost certainly prevent the project from building!&lt;/p&gt;

&lt;p&gt;
stm32f10x_type.h contains the &amp;quot;portable&amp;quot; type definitions like u8,
s32, etc, which are used throughout the library - if you comment-out
this header, they will all be undefined!&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: STM32F10x_StdPeriph_Lib from stm.com</title><link>https://community.arm.com/thread/58124?ContentTypeID=1</link><pubDate>Thu, 03 Jun 2010 09:34:48 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a7fc56e7-5084-4ce2-b653-c7ef73ab9030</guid><dc:creator>Robocolor Robocolor</dc:creator><description>&lt;p&gt;&lt;p&gt;
find one the following line&lt;/p&gt;

&lt;p&gt;
#include &amp;quot;stm32f10x_type.h&amp;quot;&lt;/p&gt;

&lt;p&gt;
in the file of stm32f10x_conf.h.&lt;/p&gt;

&lt;p&gt;
use &amp;quot;//&amp;quot;before this line and then rebuild the project.&lt;/p&gt;

&lt;p&gt;
Good luck!&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: STM32F10x_StdPeriph_Lib from stm.com</title><link>https://community.arm.com/thread/78286?ContentTypeID=1</link><pubDate>Tue, 18 May 2010 11:04:18 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b6a47485-6b14-465f-be0f-5d41c34de0d4</guid><dc:creator>S&amp;#248;ren Panduro</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hi&lt;/p&gt;

&lt;p&gt;
Thansk, I think I will try i out, for now i have just deleted the
default inc. and src. folders.&lt;/p&gt;

&lt;p&gt;
Best regards&lt;br /&gt;
S. panduro&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: STM32F10x_StdPeriph_Lib from stm.com</title><link>https://community.arm.com/thread/58118?ContentTypeID=1</link><pubDate>Fri, 14 May 2010 05:32:48 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b3b42c5b-681e-4c84-bfab-626ac0e7af71</guid><dc:creator>Marco Accame</dc:creator><description>&lt;p&gt;&lt;p&gt;
I am using a recompiled STM32 library and I also had your
problem.&lt;/p&gt;

&lt;p&gt;
One workaround is the following:&lt;br /&gt;
1. place your library into &amp;lt;path&amp;gt;/lib/STM32.lib,&lt;br /&gt;
2. place all the .h files into &amp;lt;path&amp;gt;/inc,&lt;br /&gt;
3. link the STM32.lib,&lt;br /&gt;
4. add &amp;lt;path&amp;gt;/inc via menu in Options-C/C++/-Include Paths.&lt;/p&gt;

&lt;p&gt;
That will solve your problem because the new include path will
override the default one.&lt;/p&gt;

&lt;p&gt;
Another way to solve it is by operating on the device database
(menu: File-Device Database) and changing the include path in
REGFILE.&lt;/p&gt;

&lt;p&gt;
The default line is:&lt;br /&gt;
REGFILE=stm32f10x_lib.h(&amp;quot;ST\STM32F10x&amp;quot;)&lt;/p&gt;

&lt;p&gt;
If can change it into:&lt;br /&gt;
REGFILE=stm32f10x_lib.h(&amp;quot;ST\STM32F10x-v3.2.0&amp;quot;)&lt;/p&gt;

&lt;p&gt;
However, you must do it for every device you wnat to change and
recreate a new project. Also ... the new include path can be only
below C:\Keil\ARM\INC ...&lt;/p&gt;

&lt;p&gt;
Hi, Marco.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: STM32F10x_StdPeriph_Lib from stm.com</title><link>https://community.arm.com/thread/78287?ContentTypeID=1</link><pubDate>Thu, 13 May 2010 14:51:12 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:964e2dce-08ff-4a29-8567-acf4bc42c938</guid><dc:creator>Benjamin Sasseen</dc:creator><description>&lt;p&gt;&lt;p&gt;
I&amp;#39;m having the same problem. I already searched the manual, and I
wasn&amp;#39;t able to find the solution. Any help?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: STM32F10x_StdPeriph_Lib from stm.com</title><link>https://community.arm.com/thread/65586?ContentTypeID=1</link><pubDate>Fri, 30 Apr 2010 14:37:49 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b45dee13-108b-49b7-b81c-cc2188015215</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
Look-up &amp;quot;Include paths&amp;quot; and &amp;quot;Library paths&amp;quot; in the
&lt;b&gt;manuals&lt;/b&gt;...&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>