9
0
Fork 0

Changes for clean STM32 compile with DEBUG on

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@3332 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo 2011-03-02 22:49:59 +00:00
parent 13e6a0e592
commit 7be47905d7
4 changed files with 7 additions and 5 deletions

View File

@ -1560,7 +1560,7 @@ static void sam3u_sendcmd(FAR struct sdio_dev_s *dev, uint32_t cmd, uint32_t arg
/* 'OR' in Open Drain option */
#if 0 /* No MMC support */
if ((cmd & MMCSD_OPENDRAN) != 0)
if ((cmd & MMCSD_OPENDRAIN) != 0)
{
regval |= HSMCI_CMDR_OPDCMD;
}

View File

@ -1,7 +1,7 @@
/****************************************************************************
* arch/arm/src/stm32/stm32_gpio.c
*
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@ -47,6 +47,7 @@
#include "up_arch.h"
#include "chip.h"
#include "stm32_gpio.h"
#include "stm32_rcc.h"
#include "stm32_internal.h"
/****************************************************************************

View File

@ -2,7 +2,7 @@
* configs/stm3210e-eval/src/up_extcontext.c
* arch/arm/src/board/up_extcontext.c
*
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@ -40,6 +40,7 @@
#include <nuttx/config.h>
#include <sys/types.h>
#include <assert.h>
#include <debug.h>

View File

@ -1,7 +1,7 @@
/****************************************************************************
* include/nuttx/sdio.h
*
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@ -240,7 +240,7 @@
/* Other options */
#define MMCSD_OPENDRAN (1 << 15)
#define MMCSD_OPENDRAIN (1 << 15)
/* Fully decorated MMC, SD, SDIO commands */