From 0443335a110ba6084cef587d61e294eda47b41a8 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 6 Mar 2011 00:19:59 +0000 Subject: [PATCH] Correct STM32 SPI3 bug reported by Uros git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3343 42af7a65-404d-4744-a932-0658087f49c3 --- ChangeLog | 4 ++-- Documentation/NuttX.html | 26 +++++++++++++++++++++++++- arch/arm/src/stm32/stm32_spi.c | 2 +- 3 files changed, 28 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index fcfc8ff698..6b4fd3bc55 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1524,5 +1524,5 @@ arch/x86/include/qemu, arch/x86/src/i486, and arch/x86/src/qemu. * configs/qemu-i486 - "Board" support configurations for verifying the QEME i486 port. - - + * arch/arm/src/stm32/stm32_spi.c -- Correct base address of SPI3 (reported by + Uros Platise). diff --git a/Documentation/NuttX.html b/Documentation/NuttX.html index 4cdadd2761..b895341ee9 100644 --- a/Documentation/NuttX.html +++ b/Documentation/NuttX.html @@ -1378,7 +1378,7 @@ - 8052 Microcontroller + Intel 8052 Microcontroller @@ -1401,6 +1401,28 @@ + + + + Intel 80486 (i486) Microprocessor + + + +
+ +

+ QEMU i486. + This port uses the QEMU i486 and the native + Linux, Cywgin, MinGW the GCC toolchain under Linux or Cygwin. +

+ + + @@ -2126,6 +2148,8 @@ nuttx-5.19 2011-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> arch/x86/include/qemu, arch/x86/src/i486, and arch/x86/src/qemu. * configs/qemu-i486 - "Board" support configurations for verifying the QEME i486 port. + * arch/arm/src/stm32/stm32_spi.c -- Correct base address of SPI3 (reported by + Uros Platise). pascal-2.1 2011-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> diff --git a/arch/arm/src/stm32/stm32_spi.c b/arch/arm/src/stm32/stm32_spi.c index 5e28ee8792..d04b1aef09 100755 --- a/arch/arm/src/stm32/stm32_spi.c +++ b/arch/arm/src/stm32/stm32_spi.c @@ -303,7 +303,7 @@ static const struct spi_ops_s g_sp3iops = static struct stm32_spidev_s g_spi3dev = { .spidev = { &g_sp3iops }, - .spibase = STM32_SPI2_BASE, + .spibase = STM32_SPI3_BASE, .spiclock = STM32_PCLK1_FREQUENCY, #ifdef CONFIG_STM32_SPI_INTERRUPTS .spiirq = STM32_IRQ_SPI3,