aboutsummaryrefslogtreecommitdiff
path: root/example/blink.ld
AgeCommit message (Collapse)Author
2009-07-18Switch the license to GPL, version 3 or later.Uwe Hermann
2009-07-18Implement the simplest possible (working) blinking LED example application.Uwe Hermann
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-16Add first example project (framework) using libopenstm32.Uwe Hermann
This is intended as a small blink example for the Olimex STM32-H103 board. It doesn't do anything useful (yet), but it builds fine. There's a sample Makefile and a preliminary ld script (which probably needs some more work).