Gareth McMullin
e11185d47d
Fix setting alternate port functions on the STM32F4.
Thanks to Ricardo Martins.
13 years ago
Mike Smith
7da1967056
Add an interface for soft disconnection, and hook it up in the F107 driver.
13 years ago
Mike Smith
5310cd1b57
Flash sector erase requires the FLASH_SER bit set.
13 years ago
Mike Smith
cdcfaaf688
F4 examples should build for F4, pass consistent arguments to the compiler and linker to ensure that compatible libraries are linked.
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
Uwe Hermann
5f82f28d01
f2/dma.h: Whitespace and coding-style fixes.
13 years ago
Fergus Noble
9949b5dcf4
Fixed typo in F2 dma header to match the datasheet.
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
d071a9ffde
Cleaned up the jobygps examples.
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
31b0466525
DMA register definitions for F2.
13 years ago
Fergus Noble
8cc888a030
Fixing small bug/typo in F2 rcc code.
13 years ago
Gareth McMullin
0731bba610
usb: Added support for Interface Association descriptors.
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
d630d83972
Added CAN example for lisa-m V1.1.
13 years ago
Piotr Esden-Tempski
2bc1025bc5
Updated all examples to use the new/old usart_set_baudrate api.
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
679f39426f
Cleaned up header inclusion selection macros.
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
373794ab68
usb: Fix some Doxygen comments.
13 years ago
Uwe Hermann
3e9b9cb345
usb: Coding-style fixes.
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
Uwe Hermann
bb8741a79b
examples: Even more coding-style fixes.
13 years ago
Uwe Hermann
c3fea659d1
examples: Remove duplicate example linker scripts.
Only add one linker script per eval board, and have the Makefiles use that.
This avoids duplication, and various copy-paste errors and left-overs
which we already have in the tree.
Some of the linker scripts are not really correct, yet. Both, the comments
which say which board, chip, and RAM/ROM sizes are used, as well as the
actual RAM/ROM size definitions are sometimes copy-pasted from other boards
and are thus incorrect. This needs to be fixed.
13 years ago
Uwe Hermann
7f1e75c3a8
other/*: Random coding-style fixes.
13 years ago
Uwe Hermann
8a77630997
other/i2c_stts75_sensor: Cosmetics.
13 years ago
Uwe Hermann
53a0c44bfd
s/led/LED/.
13 years ago
Uwe Hermann
4cf395d3c9
obldc examples: Fix comments and coding-style.
13 years ago
Uwe Hermann
f3f1123d07
other/dogm128: Coding-style fixes.
13 years ago
Uwe Hermann
cd259c6eb3
other/adc_temperature_sensor: Cosmetics.
13 years ago
Uwe Hermann
61ff27cfbe
other/dma2mem: Fix typos and coding-style.
13 years ago
Uwe Hermann
793bd23851
mb525: Fix coding-style and comments.
13 years ago
Uwe Hermann
905badef24
lisa-m/usbhid: Use short types such as u8.
13 years ago
Uwe Hermann
bc1f581991
lisa-m/usbhid: Coding-style fixes.
13 years ago
Uwe Hermann
b1819507b7
lisa-m/usb_cdcacm: Coding-style/whitespace fixes.
13 years ago
Uwe Hermann
f23d9d07b7
lisa-m/fancyblink: Fix copy-pasted code comments.
13 years ago
Uwe Hermann
99f4ca3b22
lm3s: Cosmetics.
13 years ago
Gareth McMullin
30e188cf07
Only allow one packet in TX fifos.
This fixes a problem where packets were written too quickly.
The hardware disabled the endpoint after the fist packet is sent,
and others just waited in the queue.
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