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

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4879 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo
2012-06-28 00:48:00 +00:00
parent a37d2e547b
commit 5a86af642e
48 changed files with 880 additions and 2277 deletions
+1 -2
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
+6 -2
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 */
+4
View File
@@ -48,6 +48,10 @@
#if defined(CONFIG_STM32_PWR)
/************************************************************************************
* Pre-processor Definitions
************************************************************************************/
/************************************************************************************
* Private Functions
************************************************************************************/
+2 -1
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"
+1 -1
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;
}