ST3210E-EVAL: Add power management configuration; move all linker scripts to common files

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4879 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2012-06-28 00:48:00 +00:00
parent a63611af54
commit f63ccb3ad3
5 changed files with 14 additions and 6 deletions

View File

@ -85,11 +85,10 @@ CHIP_CSRCS += stm32_idle.c
endif
CHIP_CSRCS += stm32_pmstop.c stm32_pmstandby.c
ifeq ($(CONFIG_PM),y)
ifneq ($(CONFIG_PM_CUSTOMINIT),y)
CHIP_CSRCS += stm32_pminitialize.c
endif
endif
ifeq ($(CONFIG_STM32_ETHMAC),y)
CHIP_CSRCS += stm32_eth.c

View File

@ -1,8 +1,8 @@
/************************************************************************************
* arch/arm/src/stm32/stm32_bkp.h
*
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* Copyright (C) 2009, 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@ -45,4 +45,8 @@
#include "chip.h"
#include "chip/stm32_bkp.h"
/************************************************************************************
* Pre-processor Definitions
************************************************************************************/
#endif /* __ARCH_ARM_SRC_STM32_STM32_BKP_H */

View File

@ -48,6 +48,10 @@
#if defined(CONFIG_STM32_PWR)
/************************************************************************************
* Pre-processor Definitions
************************************************************************************/
/************************************************************************************
* Private Functions
************************************************************************************/

View File

@ -6,7 +6,7 @@
*
* With extensions, modifications by:
*
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
* Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregroy Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@ -68,6 +68,7 @@
#include <stdint.h>
#include <stdbool.h>
#include <stdio.h>
#include <errno.h>
#include "up_arch.h"

View File

@ -631,7 +631,7 @@ int up_rtcinitialize(void)
#endif
g_rtc_enabled = true;
rtc_dumpregs("After Initialzation");
rtc_dumpregs("After Initialization");
return OK;
}