<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://miosix.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Stm32f100rb_stm32vldiscovery</id>
	<title>Stm32f100rb stm32vldiscovery - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://miosix.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Stm32f100rb_stm32vldiscovery"/>
	<link rel="alternate" type="text/html" href="https://miosix.org/wiki/index.php?title=Stm32f100rb_stm32vldiscovery&amp;action=history"/>
	<updated>2026-05-17T10:56:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://miosix.org/wiki/index.php?title=Stm32f100rb_stm32vldiscovery&amp;diff=197&amp;oldid=prev</id>
		<title>Fede.tft: Created page with &quot;This board is equipped with an STM32F100RB microcontroller, a Cortex-M3 running at 24MHz with 128KB of FLASH and 8KB of RAM. The advantage of this board is that it is very low...&quot;</title>
		<link rel="alternate" type="text/html" href="https://miosix.org/wiki/index.php?title=Stm32f100rb_stm32vldiscovery&amp;diff=197&amp;oldid=prev"/>
		<updated>2015-08-24T21:43:37Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This board is equipped with an STM32F100RB microcontroller, a Cortex-M3 running at 24MHz with 128KB of FLASH and 8KB of RAM. The advantage of this board is that it is very low...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This board is equipped with an STM32F100RB microcontroller, a Cortex-M3 running at 24MHz with 128KB of FLASH and 8KB of RAM. The advantage of this board is that it is very low-cost. The disadvantage is that it has too little RAM to use Miosix comfortably. In particular, any project using more than a couple of threads will probably not fit on this board.&lt;br /&gt;
&lt;br /&gt;
[[File:Stm32discovery small.jpeg|frameless]]&lt;br /&gt;
&lt;br /&gt;
== Configuring the kernel ==&lt;br /&gt;
The minimum configuration required is to edit the [[Makefile.inc|miosix/config/Makefile.inc]] file to uncomment the &amp;#039;&amp;#039;OPT_BOARD := stm32f100rb_stm32vldiscovery&amp;#039;&amp;#039; line. If you had compiled the kernel before, it is recommended to do a &amp;#039;&amp;#039;make clean&amp;#039;&amp;#039; (or in the Netbeans IDE, to click on the &amp;quot;Clean project&amp;quot; button) to avoid leaving object files around. After, do a &amp;#039;&amp;#039;make&amp;#039;&amp;#039; to compile.&lt;br /&gt;
&lt;br /&gt;
As this board has very little RAM it is recomended to follow the [[Miosix_code_size_optimization]] guide to reduce the amount of memory used by the kernel.&lt;br /&gt;
&lt;br /&gt;
== Loading code ==&lt;br /&gt;
&lt;br /&gt;
The recommended way to upload code to this board is to use [http://sourceforge.net/projects/stm32flash stm32flash] with an external USB to serial adapter. Connect the serial port to the PA9 and PA10, use a jumper wire to connect the BOOT0 pint to 3V3. Hit the RESET key and upload the firmware using stm32flash. Once it has finished, remove the jumper and hit RESET again to start the program.&lt;br /&gt;
&lt;br /&gt;
TODO: how to use the on-board USB to SWD programmer.&lt;br /&gt;
&lt;br /&gt;
== Reading printf output ==&lt;br /&gt;
&lt;br /&gt;
The board support package of this board simply redirects printf to the serial port USART1 (GPIO PA9 and PA10). You need to use an USB to serial adapter. The serial port baudrate is set to 19200baud, 8N1.&lt;br /&gt;
&lt;br /&gt;
On Linux you can use screen. Open a terminal and type &amp;#039;&amp;#039;screen /dev/ttyUSB0 115200&amp;#039;&amp;#039; (Note that to quit from screen you need to type &amp;quot;Ctrl-C, \&amp;quot;). You&amp;#039;ll need to change /dev/ttyUSB0 with your serial port device name.&lt;br /&gt;
&lt;br /&gt;
On windows you can use HyperTerminal, you need to configure it to use the required baud rate, no flow control, and select the correct COM port device name.&lt;br /&gt;
&lt;br /&gt;
== In circuit debugging ==&lt;br /&gt;
&lt;br /&gt;
TODO: it has been done, document it.&lt;br /&gt;
&lt;br /&gt;
== (Optional) Configuring the Netbeans IDE ==&lt;br /&gt;
&lt;br /&gt;
To have a fully working code completion that can also resolve the board-specific symbols, right click on the project, go to Set Configuration and select the right board.&lt;br /&gt;
&lt;br /&gt;
[[File:Netbeans-config.png]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Boards]]&lt;/div&gt;</summary>
		<author><name>Fede.tft</name></author>
	</entry>
</feed>