16 Commits

Author SHA1 Message Date
Karl Palsson
25acaa5878 Add usart support for L1.
Only tested with basic tx blocking, ie, the same example code as on
F2/F4, but the description of the block is almost identical.
2012-11-07 21:50:27 +00:00
Ken Sarkies
c4b7e2a76a Additional stm32/usart.c functions to enable/disable Rx/Tx
interrupts, return a status flag and check for interrupt source.
2012-10-16 14:07:34 -07:00
Ken Sarkies
6ee8e44bd7 Initial documentation for stm32/usart.c, usart.h
Some minor documentation corrections to timer.h
2012-10-16 14:07:27 -07:00
Piotr Esden-Tempski
43561de329 License change of the library to LGPL, version 3 or later.
Agreed to by all the significant contributors to the library.
2012-03-02 14:44:49 -08:00
Uwe Hermann
9532195e65 More coding-style and cosmetic fixes. 2012-02-06 23:39:06 +01:00
Fergus Noble
477c410be4 Added functions to enable and disable DMA from stm32 USART. 2012-02-06 23:08:07 +01:00
Fergus Noble
7c67322f75 Change stm32 usart baud rate generation to round rather than floor for more accurate divisor selection. 2012-02-06 23:08:07 +01:00
Piotr Esden-Tempski
8af809a12a Reverted the api of the usart_set_baudrate function to hide the clock rail selection again. 2011-11-16 18:41:48 -08:00
Uwe Hermann
6e7403f769 lib/stm32/*.c: Coding-style fixes. 2011-11-17 00:09:26 +01:00
Stephen Caudle
b3a710b0bc Rename stm32 lib folders to be consistent with include 2011-10-30 17:42:49 -04:00
Fergus Noble
424b094ce8 Renaming lib code for stm32 f1 series. 2011-10-12 22:13:01 -04:00
Piotr Esden-Tempski
1f3e431527 Usart baud rate setting function now uses the new apb1 and apb2 frequency variables. And calculates the full BRR value. 2011-03-11 19:51:48 -08: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
18790a2454 More renames for libopenstm32 -> libopencm3. 2010-12-30 13:19:25 +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