<?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>DMA1 channel problem</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/31088/dma1-channel-problem</link><description> 
Hi guys, 

 
i have a problem about selection of DMA1 channels. i&amp;#39;m using an
example application. and i did some changes on it. Application uses
DMA1_Channel3. i have changed channel as DMA1_Channel1. But compiler
give this error message: 

 
..\source</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: DMA1 channel problem</title><link>https://community.arm.com/thread/106438?ContentTypeID=1</link><pubDate>Fri, 12 Oct 2012 10:10:49 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:f2e05520-340f-4b26-a669-af4892b012ab</guid><dc:creator>volkan benzer</dc:creator><description>&lt;p&gt;&lt;p&gt;
hello all,&lt;/p&gt;

&lt;p&gt;
i found the problem. i channged conf.h. some definations was
closed. i opened them after then everting is ok:)&lt;br /&gt;
thanks&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DMA1 channel problem</title><link>https://community.arm.com/thread/80608?ContentTypeID=1</link><pubDate>Sat, 06 Oct 2012 12:11:52 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:1efe97aa-9218-4719-99c8-2d5b88f2627e</guid><dc:creator>volkan benzer</dc:creator><description>&lt;p&gt;&lt;p&gt;
thanks for your comments.&lt;br /&gt;
my chip is STM32f103ZET6. you can see my a bit of map.h here&lt;/p&gt;

&lt;pre&gt;
#ifdef _DMA1_Channel1
  #define DMA1_Channel1       ((DMA_Channel_TypeDef *) DMA1_Channel1_BASE)
#endif /*_DMA1_Channel1 */

#ifdef _DMA1_Channel2
  #define DMA1_Channel2       ((DMA_Channel_TypeDef *) DMA1_Channel2_BASE)
#endif /*_DMA1_Channel2 */

#ifdef _DMA1_Channel3
  #define DMA1_Channel3       ((DMA_Channel_TypeDef *) DMA1_Channel3_BASE)
#endif /*_DMA1_Channel3 */

#ifdef _DMA1_Channel4
  #define DMA1_Channel4       ((DMA_Channel_TypeDef *) DMA1_Channel4_BASE)
#endif /*_DMA1_Channel4 */

*
*
*
&lt;/pre&gt;

&lt;p&gt;
when i use DMA1_channel3 and close the code part in map.h as you
can see below, i receive same error message for DMA1_channel3:&lt;/p&gt;

&lt;pre&gt;
/*#ifdef _DMA1_Channel3
  #define DMA1_Channel3       ((DMA_Channel_TypeDef *) DMA1_Channel3_BASE)
#endif*/
&lt;/pre&gt;

&lt;p&gt;
i think, it shows that i included it there is no problem. i&amp;#39;m
using dma for fsmc for LCD driving. i&amp;#39;m confused :(&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DMA1 channel problem</title><link>https://community.arm.com/thread/67738?ContentTypeID=1</link><pubDate>Tue, 02 Oct 2012 23:45:31 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:8b87af17-4ddc-41b0-9138-b4e3e70a193c</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
But, clearly, that definition is not visible to the compiler at
line 112 of ..\source\main.c !!&lt;/p&gt;

&lt;p&gt;
Is that header #included by your ..\source\main.c ?&lt;/p&gt;

&lt;p&gt;
Is the definition &lt;b&gt;active&lt;/b&gt;? (ie, not disabled by some
#if...)&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DMA1 channel problem</title><link>https://community.arm.com/thread/61193?ContentTypeID=1</link><pubDate>Tue, 02 Oct 2012 23:34:09 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:72207cf1-2614-4cda-80d6-d3471cab08d6</guid><dc:creator>Tamiryan Michael</dc:creator><description>&lt;p&gt;&lt;p&gt;
Maybe it is not defined for your _specific_ ARM chip...?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>