610 Commits

Author SHA1 Message Date
Uwe Hermann
5f82f28d01 f2/dma.h: Whitespace and coding-style fixes. 2012-02-06 23:27:00 +01:00
Fergus Noble
9949b5dcf4 Fixed typo in F2 dma header to match the datasheet. 2012-02-06 23:08:07 +01:00
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. 2012-02-06 23:08:07 +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
Fergus Noble
d071a9ffde Cleaned up the jobygps examples. 2012-02-06 23:08:07 +01:00
Fergus Noble
ac29b654a9 Fix nasty bug with GPIO alternate function setup on F2/F4 (sorry guys). 2012-02-06 23:08:06 +01:00
Fergus Noble
5dce4172a8 Fix bug with F4 clock settings, change HPRE to PPRE. 2012-02-06 23:08:06 +01:00
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++. 2012-02-06 23:08:06 +01:00
Fergus Noble
31b0466525 DMA register definitions for F2. 2012-02-06 23:08:06 +01:00
Fergus Noble
8cc888a030 Fixing small bug/typo in F2 rcc code. 2012-02-06 23:08:06 +01:00
Gareth McMullin
0731bba610 usb: Added support for Interface Association descriptors. 2011-12-28 21:05:41 +13:00
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.
2011-12-17 14:11:39 +13:00
Piotr Esden-Tempski
d630d83972 Added CAN example for lisa-m V1.1. 2011-11-16 20:57:50 -08:00
Piotr Esden-Tempski
2bc1025bc5 Updated all examples to use the new/old usart_set_baudrate api. 2011-11-16 18:41:48 -08: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
Piotr Esden-Tempski
679f39426f Cleaned up header inclusion selection macros. 2011-11-16 18:41:48 -08:00
Piotr Esden-Tempski
bf4f8480a6 Added address legend to the interrupt vector. Made it easier to crosscheck for correctness. 2011-11-16 18:41:48 -08:00
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. 2011-11-16 18:17:56 -08:00
Uwe Hermann
608ca2a811 stm32/f1/gpio.c: Add some Doxygen comments. 2011-11-17 00:12:47 +01:00
Uwe Hermann
373794ab68 usb: Fix some Doxygen comments. 2011-11-17 00:12:47 +01:00
Uwe Hermann
3e9b9cb345 usb: Coding-style fixes. 2011-11-17 00:12:43 +01:00
Uwe Hermann
d97c937b8e lib: More small fixes. 2011-11-17 00:09:29 +01:00
Uwe Hermann
0d25aa3fcd lib/stm32/f4: Coding-style fixes. 2011-11-17 00:09:28 +01:00
Uwe Hermann
50f680f3f7 lib/stm32/f2: Coding-style fixes. 2011-11-17 00:09:27 +01:00
Uwe Hermann
8725bc5171 lib/stm32/f1: Coding-style fixes. 2011-11-17 00:09:27 +01:00
Uwe Hermann
6e7403f769 lib/stm32/*.c: Coding-style fixes. 2011-11-17 00:09:26 +01:00
Uwe Hermann
bb8741a79b examples: Even more coding-style fixes. 2011-11-13 23:21:58 +01:00
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.
2011-11-13 23:21:26 +01:00
Uwe Hermann
7f1e75c3a8 other/*: Random coding-style fixes. 2011-11-13 23:16:13 +01:00
Uwe Hermann
8a77630997 other/i2c_stts75_sensor: Cosmetics. 2011-11-13 23:16:12 +01:00
Uwe Hermann
53a0c44bfd s/led/LED/. 2011-11-12 17:53:07 +01:00
Uwe Hermann
4cf395d3c9 obldc examples: Fix comments and coding-style. 2011-11-12 17:53:06 +01:00
Uwe Hermann
f3f1123d07 other/dogm128: Coding-style fixes. 2011-11-12 17:53:05 +01:00
Uwe Hermann
cd259c6eb3 other/adc_temperature_sensor: Cosmetics. 2011-11-12 17:53:05 +01:00
Uwe Hermann
61ff27cfbe other/dma2mem: Fix typos and coding-style. 2011-11-12 17:53:04 +01:00
Uwe Hermann
793bd23851 mb525: Fix coding-style and comments. 2011-11-12 17:53:04 +01:00
Uwe Hermann
905badef24 lisa-m/usbhid: Use short types such as u8. 2011-11-12 17:53:03 +01:00
Uwe Hermann
bc1f581991 lisa-m/usbhid: Coding-style fixes. 2011-11-12 17:53:02 +01:00
Uwe Hermann
b1819507b7 lisa-m/usb_cdcacm: Coding-style/whitespace fixes. 2011-11-12 17:53:02 +01:00
Uwe Hermann
f23d9d07b7 lisa-m/fancyblink: Fix copy-pasted code comments. 2011-11-12 17:53:01 +01:00
Uwe Hermann
99f4ca3b22 lm3s: Cosmetics. 2011-11-12 17:53:01 +01:00
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.
2011-11-12 21:44:37 +13:00
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.
2011-11-12 21:29:41 +13:00
Uwe Hermann
6ce8d61097 stm32f4-discovery/miniblink: Fix board name typo. 2011-11-11 21:54:43 +01:00
Uwe Hermann
e626a72561 stm32/dbgmcu.h: Document reserved bits, cosmetic fixes. 2011-11-11 21:51:01 +01:00
Uwe Hermann
6967a02576 stm32/iwdg.h: Document reserved bits. 2011-11-11 21:50:18 +01:00
Uwe Hermann
581084dd39 stm32/pwr.h: Document reserved bits. 2011-11-11 21:49:10 +01:00
Uwe Hermann
1d592c1627 stm32/wwdg.h: Document reserved bits, add WWDG_CFG_W. 2011-11-11 21:48:35 +01:00
Uwe Hermann
45581dc220 stm32/fsmc.h: Document reserved bits. 2011-11-11 21:48:06 +01:00