From a87259ebc699b7db57867e15c0ccc1f04ba94c08 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 19 Aug 2011 16:51:04 +0000 Subject: [PATCH] Add support for multiplexed SDIO pins from Uros git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3898 42af7a65-404d-4744-a932-0658087f49c3 --- ChangeLog | 2 + Documentation/NuttX.html | 20 ++- Documentation/NuttxPortingGuide.html | 45 +++++- arch/arm/src/stm32/stm32_rcc.c | 94 ++++++++++--- arch/arm/src/stm32/stm32_rcc.h | 15 +- arch/arm/src/stm32/stm32_sdio.c | 43 ++++++ configs/README.txt | 43 ++++-- configs/vsn/README.txt | 171 +---------------------- configs/vsn/include/board.h | 3 + configs/vsn/include/muxbus.h | 84 ++++++++++++ configs/vsn/src/Makefile | 2 +- configs/vsn/src/boot.c | 1 + configs/vsn/src/muxbus.c | 198 +++++++++++++++++++++++++++ configs/vsn/src/sif.c | 92 ++++++++++++- configs/vsn/src/vsn.h | 8 ++ drivers/mmcsd/mmcsd_sdio.c | 32 ++++- drivers/wireless/cc1101/cc1101.c | 39 ++++++ include/nuttx/sdio.h | 24 ++++ 18 files changed, 698 insertions(+), 218 deletions(-) create mode 100644 configs/vsn/include/muxbus.h create mode 100644 configs/vsn/src/muxbus.c diff --git a/ChangeLog b/ChangeLog index d8fc1d643b..188d2f6069 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2009,3 +2009,5 @@ * confgs/twr-k60n512: Add Kinetics TWR-K60N512 NSH configuration. * drivers/analog and include/nuttx/analog: Add ADC driver infrastructure and TI ADS1255 driver developed and submitted by Li Zhouy (Lzzy)). + * arch/arm/stm32/stm32_sdio.h and drvers/mmcsd/mmcsd.c: Add logic to + multiplex usage of the GPIO pins. \ No newline at end of file diff --git a/Documentation/NuttX.html b/Documentation/NuttX.html index c854fd8b71..4b86fc39cb 100644 --- a/Documentation/NuttX.html +++ b/Documentation/NuttX.html @@ -8,7 +8,7 @@

NuttX RTOS

-

Last Updated: August 18, 2011

+

Last Updated: August 19, 2011

@@ -678,6 +678,21 @@ + + + + Analog Devices + + + +
+ +

+

  • Support for Analog-to-Digital converters.
  • +

    + + +

    NuttX Add-Ons. The following packages are available to extend the basic NuttX feature set: @@ -2700,6 +2715,9 @@ nuttx-6.8 2011-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> (reported by Li Zhouy (Lzzy)). * 8/18/2011: The basic port to the FreeScale Kinetics TWR-K60N512 board is now functional. + * confgs/twr-k60n512: Add Kinetics TWR-K60N512 NSH configuration. + * drivers/analog and include/nuttx/analog: Add ADC driver infrastructure + and TI ADS1255 driver developed and submitted by Li Zhouy (Lzzy)). apps-6.8 2011-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html index a2b17b108c..2fda4d612b 100644 --- a/Documentation/NuttxPortingGuide.html +++ b/Documentation/NuttxPortingGuide.html @@ -12,7 +12,7 @@

    NuttX RTOS Porting Guide

    -

    Last Updated: July 27, 2011

    +

    Last Updated: August 19, 2011

    @@ -730,6 +730,8 @@ setenv.sh: This is a script that you can include that will be installed at the top level of the directory structure and can be sourced to set any necessary environment variables. + You will most likely have to customize the default setenv.sh script in order + for it to work correctly in your environment.

    @@ -863,8 +865,8 @@
  • configs/olimex-lpc2378: - This port uses the Olimex-lpc2378 board and a GNU arm-elf toolchain under - Linux or Cygwin. STATUS: ostest and NSH configurations available. + This port uses the Olimex-lpc2378 board and a GNU arm-elf toolchain under + Linux or Cygwin. STATUS: ostest and NSH configurations available.
  • configs/olimex-strp711: @@ -904,12 +906,12 @@
  • configs/sam3u-ek: - The port of NuttX to the Atmel SAM3U-EK development board. + The port of NuttX to the Atmel SAM3U-EK development board.
  • configs/skp16c26: - Renesas M16C processor on the Renesas SKP16C26 StarterKit. This port - uses the GNU m32c toolchain. STATUS: The port is complete but untested + Renesas M16C processor on the Renesas SKP16C26 StarterKit. This port + uses the GNU m32c toolchain. STATUS: The port is complete but untested due to issues with compiler internal errors.
  • @@ -3847,6 +3849,21 @@ build +

    SDIO/SDHC driver

    + +

    SDIO-based MMC/SD driver

    +

    Analog Devices

    + +

    ENC28J60 Ethernet Driver Configuration Settings