Piotr Esden-Tempski
c49f505df4
Added spi reset convenience function.
13 years ago
Piotr Esden-Tempski
2b3f07ee08
Added reset function to i2c convenience functions.
13 years ago
Piotr Esden-Tempski
cbef43ddd8
Added set priority group convenience function.
13 years ago
Gareth McMullin
03e44e91e3
Linker scripts provide stack pointer at the top of RAM.
Thanks to Tomaz Solc.
13 years ago
Mike Smith
5310cd1b57
Flash sector erase requires the FLASH_SER bit set.
13 years ago
Piotr Esden-Tempski
1a3ad6e998
Added the entry point definiton to all stm32 linker scripts. This allows gdb to reset the target correctly on exit.
13 years ago
Uwe Hermann
9532195e65
More coding-style and cosmetic fixes.
13 years ago
Fergus Noble
3e47a46c5c
Fix numerous bugs in NVIC convenience functions, doing an |= on a clear register will clear ALL currently enabled irqs, not just the one you specified and other things of that sort. Also changed to support the full range of irq numbers supported by ARMv7M, not just the first 68 used in the STM32F1 series.
13 years ago
Fergus Noble
477c410be4
Added functions to enable and disable DMA from stm32 USART.
13 years ago
Fergus Noble
7c67322f75
Change stm32 usart baud rate generation to round rather than floor for more accurate divisor selection.
13 years ago
Fergus Noble
ac29b654a9
Fix nasty bug with GPIO alternate function setup on F2/F4 (sorry guys).
13 years ago
Fergus Noble
5dce4172a8
Fix bug with F4 clock settings, change HPRE to PPRE.
13 years ago
Fergus Noble
fae83c43c1
Discard .ARM.exidx section to make newlib 64bit (long long) printf support work. This may need to be fixed if using C++.
13 years ago
Fergus Noble
8cc888a030
Fixing small bug/typo in F2 rcc code.
13 years ago
Gareth McMullin
651917aeb4
Added USB example for stm32f4.
Moved clock enable for OTG_FS back into applications. This and gpio config
are the only differences between f107 and f2xx/f4xx.
13 years ago
Piotr Esden-Tempski
8af809a12a
Reverted the api of the usart_set_baudrate function to hide the clock rail selection again.
13 years ago
Piotr Esden-Tempski
bf4f8480a6
Added address legend to the interrupt vector. Made it easier to crosscheck for correctness.
13 years ago
Piotr Esden-Tempski
c6f30043fd
Added UART4 and UART5 gpio definitions for stm32f1. Also corrected the naming everywhere. Both peripherals are UARTS not U_S_ARTS.
13 years ago
Uwe Hermann
608ca2a811
stm32/f1/gpio.c: Add some Doxygen comments.
13 years ago
Uwe Hermann
d97c937b8e
lib: More small fixes.
13 years ago
Uwe Hermann
0d25aa3fcd
lib/stm32/f4: Coding-style fixes.
13 years ago
Uwe Hermann
50f680f3f7
lib/stm32/f2: Coding-style fixes.
13 years ago
Uwe Hermann
8725bc5171
lib/stm32/f1: Coding-style fixes.
13 years ago
Uwe Hermann
6e7403f769
lib/stm32/*.c: Coding-style fixes.
13 years ago
Gareth McMullin
7546ad9736
Fixed loading of .data in linker scripts.
This fixes a problem where the linker included some padding
bytes between the end of the .text section (_etext) and the
start of the .data section.
The C runtime copies from _etext, so all static initialised data
was corrupted. This change forces the .data section to be written
at _etext to avoid this problem.
13 years ago
Uwe Hermann
6462a646d1
stm32/spi.c: Coding style fixes and typo fixes.
13 years ago
Stephen Caudle
4c18313da6
Fix alignment issue in data section
13 years ago
Stephen Caudle
d9a76c75c2
Add timer support for STM32F2 & STM32F4
13 years ago
Stephen Caudle
62c105abeb
Fix APB1 & APB2 frequencies in STM32F4 RCC table
13 years ago
Stephen Caudle
c26abb6c25
Add pwr to STM32F4 makefile
13 years ago
Stephen Caudle
5a89d44591
Add initial support for STM32F4
13 years ago
Stephen Caudle
05bc9d10f1
Add generic STM32F2 RCC clock function
13 years ago
Stephen Caudle
68d2e0d1e3
Fix stm32f2 RCC PLL values for 120MHz
13 years ago
Stephen Caudle
eb47f0cfc0
Add SCB from stm32f1
13 years ago
Stephen Caudle
1dc4645732
Update makefiles to reflect stm32 lib folder name changes
13 years ago
Stephen Caudle
b3a710b0bc
Rename stm32 lib folders to be consistent with include
13 years ago
Fergus Noble
424b094ce8
Renaming lib code for stm32 f1 series.
13 years ago
Piotr Esden-Tempski
03a4a18ed6
Switched all makefiles to arm-none-eabi default.
13 years ago
Fergus Noble
bd33f2d256
Renaming lib code for stm32 f1 series.
13 years ago
Gareth McMullin
3ac0ae839d
Added extra interrupt vectors for STM32 connectivity line.
14 years ago
Gareth McMullin
692266bf67
Fixes CAN identifiers on send and receive.
14 years ago
Gareth McMullin
7faea389e8
Added dependency generation. Abort loops on error.
14 years ago
Piotr Esden-Tempski
1f3e431527
Usart baud rate setting function now uses the new apb1 and apb2 frequency variables. And calculates the full BRR value.
14 years ago
Piotr Esden-Tempski
3d20f37b27
RCC now has two variables to hold the current apb1 and apb2 frequency.
14 years ago
Piotr Esden-Tempski
7073637430
Added 12MHz external clock rcc setup routine.
14 years ago
Gareth McMullin
e64a9d2bf9
Minor cleanup of usb. Template driver for STM32F107 added.
14 years ago
Uwe Hermann
0a0ce22762
Add rcc_clock_setup_in_hse_8mhz_out_24mhz().
Thanks Marko Kraljevic <krasnaya.zvezda@gmail.com> for the patch!
14 years ago
Uwe Hermann
e0a488f586
gpio_toggle(): Add support for multiple GPIOs.
Thanks Marko Kraljevic <krasnaya.zvezda@gmail.com> for the patch!
14 years ago
Uwe Hermann
447c333cec
Minor cosmetics, whitespace.
14 years ago
Uwe Hermann
729a48c655
Cosmetics, whitespace, reduced indentation level.
14 years ago