Uwe Hermann 915d5bff90 Implement the simplest possible (working) blinking LED example application.
This is the first working example code which is tested on hardware.
The LED on the Olimex STM-H103 eval board is happily blinking.

We use a dummy "delay" function (basically a busy-waiting for-loop), which
will only work if you use -O0 in CFLAGS (-O2, -O3, or -Os will not work as
the compiler optimizes the loop away).

We use some arbitrary value for stack size (2 KB) and use main()
directly as the reset vector function. This will change later.

Also, we do the GPIO and clock init as well as the GPIO toggling for the
LED blinking fully "manually" for now, but there may be more higher-level
functions for doing that at some later date.
2009-07-18 06:09:08 +02:00
2009-07-16 15:54:41 +02:00
2009-07-15 22:27:39 +02:00
2009-07-16 18:33:32 +02:00

------------------------------------------------------------------------------
README
------------------------------------------------------------------------------

The libopenstm32 project aims to create an open-source firmware library for
STM32 microcontrollers.


Building
--------

 $ make

You may want to override the toolchain (e.g., arm-elf or arm-none-eabi):

 $ PREFIX=arm-none-eabi make

For a more verbose build you can use

 $ make V=1


Installation
------------

 $ make install

This will install the library in /usr/local. If you want to install it
elsewhere, use the following syntax:

 $ DESTDIR=/opt make install


Coding style
------------

The whole library is programmed using the Linux kernel coding style, see
http://lxr.linux.no/linux/Documentation/CodingStyle for details.

Please use the same style for any code contributions, thanks!


License
-------

The libopenstm32 code is released under the terms of the GNU General
Public License (GPL), version 2 or later.

See COPYING for details.


Mailing lists
-------------

 * Developer mailing list (for patches and discussions):
   https://lists.sourceforge.net/lists/listinfo/libopenstm32-devel

 * Commits mailing list (receives one mail per 'git push'):
   https://lists.sourceforge.net/lists/listinfo/libopenstm32-commits


Website
-------

The official website is:

 http://sourceforge.net/projects/libopenstm32/

Description
Rework of Jeff black magic probe
Readme 13 MiB
Languages
C 95.5%
Python 3%
Makefile 1.3%
Assembly 0.2%