Changes for clean STM32 compile with DEBUG on
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3332 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
40d85c0eeb
commit
8a8e7670ba
@ -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 */
|
/* 'OR' in Open Drain option */
|
||||||
|
|
||||||
#if 0 /* No MMC support */
|
#if 0 /* No MMC support */
|
||||||
if ((cmd & MMCSD_OPENDRAN) != 0)
|
if ((cmd & MMCSD_OPENDRAIN) != 0)
|
||||||
{
|
{
|
||||||
regval |= HSMCI_CMDR_OPDCMD;
|
regval |= HSMCI_CMDR_OPDCMD;
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* arch/arm/src/stm32/stm32_gpio.c
|
* 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>
|
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -47,6 +47,7 @@
|
|||||||
#include "up_arch.h"
|
#include "up_arch.h"
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include "stm32_gpio.h"
|
#include "stm32_gpio.h"
|
||||||
|
#include "stm32_rcc.h"
|
||||||
#include "stm32_internal.h"
|
#include "stm32_internal.h"
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
Loading…
Reference in New Issue
Block a user