<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: Using STM32F10x library</title>
		<link>http://forums.leaflabs.com/topic.php?id=74194</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:04:35 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=74194" rel="self" type="application/rss+xml" />

		<item>
			<title>gbulmer on "Using STM32F10x library"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74194#post-105049</link>
			<pubDate>Mon, 09 Dec 2013 16:05:54 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">105049@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;krab - &#60;em&#62;But when i'm trying to compile, IDE says &#34;... this is the location of the previous definition&#34; and it is pointing almost every function from every library i added&#60;/em&#62;&#60;/p&#62;
&#60;p&#62;Folks might be able to offer some hep if you were clearer.&#60;br /&#62;
Would you please post some actual example error messages, including the names of the functions? Ideally the code for the smallest test case that fails along with the error messages would be even more helpful?&#60;/p&#62;
&#60;p&#62;The IDE, like the Arduino, supplies its own &#60;code&#62;main()&#60;/code&#62;, so that will clash with yours (in your second post). You are going to have to put all of the contents of your &#60;code&#62;main()&#60;/code&#62; function into the Maple's &#60;code&#62;setup()&#60;/code&#62; function.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>krab on "Using STM32F10x library"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74194#post-105046</link>
			<pubDate>Mon, 09 Dec 2013 11:25:59 +0000</pubDate>
			<dc:creator>krab</dc:creator>
			<guid isPermaLink="false">105046@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Ok, i think no body will help me that way. So i have a bit problem because Maple mini is main element in my project. I wanted to ask you for some help in &#34;translating&#34; programs written with ST libs.&#60;/p&#62;
&#60;p&#62;Can you guys help me to activate and send data via UART? My goal is to connect bluetooth module to UART2:&#60;/p&#62;
&#60;p&#62;Send data:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;uint8_t SendDataToBTM222(char *str)
{
  uint32_t i = 0;
  while(TxLength != 0){};
  while((str[i] != 0x00) &#38;amp;&#38;amp; (i &#38;lt; 512))
  {
    TxBuffer[i] = str[i];
    i++;
  }
  if(i &#38;lt; 512)
  {
    TxLength = i;
    while(i &#38;lt; 512){TxBuffer[i++] = 0x00;};
    USART_ITConfig(USART2, USART_IT_TXE, ENABLE);
    return 1;
  }
  else
  {
    TxLength = 0;
    return 0;
  }
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Autor uses here USART_ITConfig which is (Ithink) from ST libs. Where can I find equivalent in IDE libs for this finction ?&#60;/p&#62;
&#60;p&#62;And also this part:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;void Configuration(void)
{
  USART_InitTypeDef USART_InitStructure;
  USART_InitStructure.USART_BaudRate = 19200;
  USART_InitStructure.USART_WordLength = USART_WordLength_8b;
  USART_InitStructure.USART_StopBits = USART_StopBits_1;
  USART_InitStructure.USART_Parity = USART_Parity_No;
  USART_InitStructure.USART_HardwareFlowControl = USART_HardwareFlowControl_None;
  USART_InitStructure.USART_Mode = USART_Mode_Rx &#124; USART_Mode_Tx;
  USART_Init(USART2, &#38;amp;USART_InitStructure);
  USART_Cmd(USART2, ENABLE);
}

int main(void)
{
  Configuration_RCC();
  Configuration_GPIO();
  Configuration();
  Configuration_Interrupts();
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Can anybody help me ?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>krab on "Using STM32F10x library"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74194#post-105043</link>
			<pubDate>Sun, 08 Dec 2013 21:48:44 +0000</pubDate>
			<dc:creator>krab</dc:creator>
			<guid isPermaLink="false">105043@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hello everyone. I'm using maple mini r2 and i'm trying to run program that uses some standard STM32 libraty (STM32F10x_StdPeriph_Lib_V3.3.0 and STM32F10x_DSP_Lib_V2.0.0) I discovered that i can import library from sketch section (what i did is - i created in libraries a new folder containing needed libs). But when i'm trying to compile, IDE says &#34;... this is the location of the previous definition&#34; and it is pointing almost every function from every library i added. My question is, how to add this libraried without any conflict with IDE libs. Thanks for help
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
