STM32: Moved SPI code into the common area.

Updated the documentation so that it appears in all families
Also added it to the L1 area, but is untested. An addition to the memorymap
allows commonality and a #ifdef added to the spi_common_all code to
exclude the case of SPI3 for L1 and F0 as SPI3 doesn't exist in those.
An rcc dispatch header was added to remove same code from the spi header.
This commit is contained in:
Ken Sarkies
2012-12-05 15:36:44 +10:30
parent 4d234c7e27
commit 7ec382c7d5
27 changed files with 790 additions and 498 deletions

View File

@@ -1,13 +1,13 @@
# HTML Documentation for STM32F1 code level
# HTML Documentation for STM32L1 code level
# 14 September 2012
# 15 December 2012
# (C) Ken Sarkies <ksarkies@internode.on.net>
#---------------------------------------------------------------------------
# Common Include File
#---------------------------------------------------------------------------
@INCLUDE = ../Doxyfile_common
@INCLUDE = ../Doxyfile_common
#---------------------------------------------------------------------------
# Local settings
@@ -16,18 +16,21 @@
WARN_LOGFILE = doxygen_stm32l1.log
INPUT = ../../include/libopencm3/license.dox \
../../include/libopencm3/stm32/l1 \
../../include/libopencm3/stm32/common \
../../lib/stm32/l1 \
../../lib/stm32/common
../../include/libopencm3/stm32/l1 \
../../include/libopencm3/stm32/common
EXCLUDE =
INPUT += ../../lib/stm32/l1 \
../../lib/stm32/common
EXCLUDE_PATTERNS = *_common_f24.h
EXCLUDE = ../../include/libopencm3/stm32/common/gpio_common_f24.h
LAYOUT_FILE = DoxygenLayout_stm32l1.xml
EXCLUDE += ../../lib/stm32/common/gpio_common_f24.c
TAGFILES = ../cm3/cm3.tag=../../cm3/html \
EXCLUDE_PATTERNS =
LAYOUT_FILE = DoxygenLayout_stm32l1.xml
TAGFILES = ../cm3/cm3.tag=../../cm3/html
GENERATE_TAGFILE = stm32l1.tag

View File

@@ -18,13 +18,17 @@ WARN_LOGFILE = doxygen_stm32l1_latex.log
INPUT = ../../include/libopencm3/docmain.dox \
../../include/libopencm3/license.dox \
../../include/libopencm3/stm32/l1 \
../../include/libopencm3/stm32/common \
../../lib/stm32/l1 \
../../lib/stm32/common
../../include/libopencm3/stm32/common
EXCLUDE = ../../include/libopencm3/stm32/l1/doc-stm32l1.h
INPUT += ../../lib/stm32/l1 \
../../lib/stm32/common
EXCLUDE_PATTERNS = *_common_f24.h
EXCLUDE = ../../include/libopencm3/stm32/l1/doc-stm32l1.h \
../../include/libopencm3/stm32/common/gpio_common_f24.h
EXCLUDE += ../../lib/stm32/common/gpio_common_f24.c
EXCLUDE_PATTERNS =
LAYOUT_FILE = DoxygenLayout_stm32l1.xml