578 Commits

Author SHA1 Message Date
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
Uwe Hermann
e4dc82879e stm32/fsmc.h: s/FSMC_PMEM_MEMHOLDX/FSMC_PMEM_MEMWAITX/.
This was a copy-paste error.
2011-11-11 21:46:41 +01:00
Uwe Hermann
b874da24f2 stm32/f4/pwr.h: Document reserved bits. 2011-11-11 21:44:11 +01:00
Uwe Hermann
b05eff8dbf stm32/f2/pwr.h: Document reserved bits. 2011-11-11 21:43:41 +01:00
Uwe Hermann
db3c0870bb stm32/crc.h: Document reserved bits. 2011-11-11 21:43:35 +01:00
Uwe Hermann
257fc810cb STM32F4: Fix typos, s/F2/F4/. 2011-11-11 21:40:57 +01:00
Uwe Hermann
47a116ef4f HACKING: Document the examples/ directory layout. 2011-11-11 21:37:41 +01:00
Uwe Hermann
6c278b19b4 Makefile: Add 'doxy' target for doxygen docs.
A top-level 'make clean' will remove the whole doxygen/ output directory.
2011-11-11 21:27:29 +01:00
Uwe Hermann
23a6f154cd common.h: Add Doxygen main page text. 2011-11-11 21:23:30 +01:00
Uwe Hermann
ef908e0725 Doxyfile: Configure for libopencm3 needs. 2011-11-11 21:23:26 +01:00
Uwe Hermann
9a2dacd3b4 Add auto-generated Doxygen config file. 2011-11-11 21:04:20 +01:00
Uwe Hermann
6462a646d1 stm32/spi.c: Coding style fixes and typo fixes. 2011-11-10 22:45:56 +01:00
Uwe Hermann
74fcd70f93 stm32/spi.h: Fix typos, add comments. 2011-11-10 22:30:31 +01:00
Uwe Hermann
46f90a54ae STM32F2/F4: SPI fixes.
- Rename SPI_CR2_FRF_TI to SPI_CR2_FRF_TI_MODE to match datasheet.

 - Rename SPI_CR2_FRF_MOTOROLA to SPI_CR2_FRF_MOTOROLA_MODE (see above).

 - Fix SPI_CR2_FRF_MOTOROLA_MODE bit definition, must be (0 << 4).

 - Change SPI_SR_RXNE to SPI_SR_TIFRFE; this was probably a copy-paste
   error. Also, the bit definition is (1 << 8).
2011-11-10 22:15:45 +01:00
Uwe Hermann
e797fd978b Cosmetic fixes in license headers. 2011-11-10 21:40:29 +01:00
Stephen Caudle
4c18313da6 Fix alignment issue in data section 2011-11-07 23:23:16 -05:00
Uwe Hermann
42e531c7c4 Makefile: Fix 'install' target.
Thanks to CheBuzz on IRC for pointing this out.
2011-11-03 20:45:04 +01:00
Stephen Caudle
3c9ba2ac2d Add usart example for STM32F4 discovery board 2011-11-02 22:50:49 -04:00
Stephen Caudle
30b5c89726 Add USART6 definitions to STM32F3 & STM32F4 2011-11-02 22:37:47 -04:00
Uwe Hermann
44bf853e6e stm32-h103 examples: Cosmetic and coding style fixes. 2011-11-03 00:57:46 +01:00
Uwe Hermann
a3ce2924df stm32f1/f2: Update to recent OpenOCD syntax.
Newer versions of OpenOCD expect

  stm32f1x mass_erase 0
or
  stm32f2x mass_erase 0

instead of

  stm32x mass_erase 0

So far, there doesn't seem to be an explicit F4 command, so leave that
untouched for now.
2011-11-02 22:30:41 +01:00
Uwe Hermann
bc320f5453 stm32/f1/lisa-m/usb_hid: Fix compiler warning.
BUILD   examples/stm32/f1/lisa-m/usb_hid
usbhid.c: In function 'main':
usbhid.c:316:10: warning: unused variable 'x'
2011-11-02 22:16:57 +01:00
Uwe Hermann
cc3565a544 Various cosmetic and whitespace fixes. 2011-11-02 22:13:01 +01:00
Stephen Caudle
dc19a4ecfb Rename STM32 discovery folders to be more specific 2011-11-02 14:56:37 -04:00
Stephen Caudle
d9a76c75c2 Add timer support for STM32F2 & STM32F4 2011-11-02 14:26:36 -04:00
Stephen Caudle
505a05ccf4 Add STM32F4 fancyblink example 2011-11-02 14:26:35 -04:00
Stephen Caudle
d17e548c6f Add STM32F4 button example 2011-11-02 14:26:34 -04:00
Stephen Caudle
62c105abeb Fix APB1 & APB2 frequencies in STM32F4 RCC table 2011-11-02 14:26:33 -04:00
Stephen Caudle
c26abb6c25 Add pwr to STM32F4 makefile 2011-11-02 14:26:31 -04:00
Uwe Hermann
9f821a5dd4 Minor whitespace fixes. 2011-11-02 02:19:51 +01:00
Uwe Hermann
25e30fab8e README: Update wiki and mailing list URLs. 2011-11-01 20:09:12 +01:00
Uwe Hermann
01314bbe50 README: Fix obsolete names. 2011-11-01 20:04:59 +01:00
Uwe Hermann
8cbe4030e1 README: Mention STM32F2 and STM32F4 series. 2011-11-01 19:55:43 +01:00