14 Commits

Author SHA1 Message Date
Piotr Esden-Tempski
59293a9640 Added break and dead time convenience functions. Adapted 6step example to reflect that. 2011-01-28 16:04:36 -08:00
Piotr Esden-Tempski
a1bd228c87 Replaced OC mode selection with an enum, makes it simpler to use. 2011-01-28 15:11:52 -08:00
Piotr Esden-Tempski
5975750e5e Added output compare channel convenience functions and adapted the pwm_6step example accordingly. 2011-01-27 22:18:34 -08:00
Piotr Esden-Tempski
d608049563 Started a pwm 6step output example. Enabled timer convenience functions and some minor fixes that showed themselves while writing the bare bone example. 2011-01-27 17:03:13 -08:00
Uwe Hermann
1cabc38c3a EXTI bugfix in exti_select_source().
AFIO_EXTICR[1 to 4] registers were not beeing set correctly. You have to
force a 0 on the bits that are 0 for the mutex to work.

Thanks Linus Casassa <linus@lin.cl> for the patch!
2011-01-07 17:07:25 +01:00
Uwe Hermann
8f251e8a9d Some more file/path restructuring.
All #includes now explicitly use the "<libopencm3/stm32/rcc.h>" format.
If you want to get rid of the "libopencm3" prefix in your local project you
can add a respective -I entry in your Makefile (not recommended though).

All .ld files and .a libs are installed in $(TOOLCHAIN_DIR)/lib
directly (as before), but are now renamed to avoid potential
conflicts now or in the future. Examples:

  libopencm3_lpc13xx.a
  libopencm3_lpc13xx.ld
  libopencm3_stm32.a
  libopencm3_stm32.ld
2010-12-31 18:18:39 +01:00
Uwe Hermann
a97dd10a95 More libopenstm32 renames. 2010-12-30 13:22:56 +01:00
Uwe Hermann
18790a2454 More renames for libopenstm32 -> libopencm3. 2010-12-30 13:19:25 +01:00
Uwe Hermann
0995f73f72 Finish libopenstm32.ld to stm32.ld rename. 2010-12-30 13:14:36 +01:00
Uwe Hermann
48b514d3ef s/libopenstm32/libopencm3/ is some Makefiles. 2010-12-30 03:45:00 +01:00
Uwe Hermann
8e5acecc6e More path and name changes. 2010-12-30 02:57:44 +01:00
Uwe Hermann
7c53b252a3 Add missing files. 2010-12-30 02:24:40 +01:00
Uwe Hermann
be2ac142d9 Rename include/libopenstm32 to include/stm32. 2010-12-30 02:23:51 +01:00
Uwe Hermann
8e084b1517 Move STM32-specific source to lib/stm32 subdir. 2010-12-30 02:12:31 +01:00