diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-04-07 22:32:35 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-04-07 22:32:35 +0000 |
commit | 76679d0c390efeb91f64d0be626ae4cfb2df93a6 (patch) | |
tree | a89d116e448e00f782ae1d9fdd3742f7264e728c /nuttx/configs/stm3220g-eval/src/up_boot.c | |
parent | bcb1a538de42c6ac901be52239a9e907734a9e0f (diff) | |
download | px4-nuttx-76679d0c390efeb91f64d0be626ae4cfb2df93a6.tar.gz px4-nuttx-76679d0c390efeb91f64d0be626ae4cfb2df93a6.tar.bz2 px4-nuttx-76679d0c390efeb91f64d0be626ae4cfb2df93a6.zip |
Updates the STM3220G-EVAL configurations
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4572 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm3220g-eval/src/up_boot.c')
-rw-r--r-- | nuttx/configs/stm3220g-eval/src/up_boot.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/nuttx/configs/stm3220g-eval/src/up_boot.c b/nuttx/configs/stm3220g-eval/src/up_boot.c index 4062baa56..20303ceaf 100644 --- a/nuttx/configs/stm3220g-eval/src/up_boot.c +++ b/nuttx/configs/stm3220g-eval/src/up_boot.c @@ -2,7 +2,7 @@ * configs/stm3220g-eval/src/up_boot.c * arch/arm/src/board/up_boot.c * - * Copyright (C) 2011 Gregory Nutt. All rights reserved. + * Copyright (C) 2012 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -82,6 +82,12 @@ void stm32_boardinitialize(void) } #endif + /* If the FSMC is enabled, then enable SRAM access */ + +#ifdef CONFIG_STM32_FSMC + stm32_selectsram(); +#endif + /* Configure on-board LEDs if LED support has been selected. */ #ifdef CONFIG_ARCH_LEDS |