diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-11-21 14:25:38 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-11-21 14:25:38 +0000 |
commit | c0a3967f7a05e6bef02a3277d4f4f0ffe2128514 (patch) | |
tree | 12eacbc8ff5ef3be916bb71b319d397bb0e436fe /nuttx/arch/arm/src/stm32/stm32_flash.c | |
parent | 725c73be041790f7010e1e947cec6a504afbf952 (diff) | |
download | px4-nuttx-c0a3967f7a05e6bef02a3277d4f4f0ffe2128514.tar.gz px4-nuttx-c0a3967f7a05e6bef02a3277d4f4f0ffe2128514.tar.bz2 px4-nuttx-c0a3967f7a05e6bef02a3277d4f4f0ffe2128514.zip |
More STM3240 header file changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4109 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/stm32/stm32_flash.c')
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32_flash.c | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32_flash.c b/nuttx/arch/arm/src/stm32/stm32_flash.c index 416facc16..924cd014c 100644 --- a/nuttx/arch/arm/src/stm32/stm32_flash.c +++ b/nuttx/arch/arm/src/stm32/stm32_flash.c @@ -33,19 +33,18 @@ * ************************************************************************************/ -/** \file - * \author Uros Platise - * \brief STM32 Flash - Program and Data Memory - * - * Provides standard flash access functions, to be used also by the - * drivers/mtd/progmem.c program memory flash mtd driver. +/* Provides standard flash access functions, to be used by the flash mtd driver. * The interface is defined in the include/nuttx/progmem.h * * Requirements during write/erase operations on FLASH: * - HSI must be ON. * - Low Power Modes are not permitted during write/erase */ - + +/************************************************************************************ + * Included Files + ************************************************************************************/ + #include <nuttx/config.h> #include <nuttx/arch.h> #include <errno.h> @@ -55,15 +54,13 @@ #include "stm32_waste.h" #include "up_arch.h" - /************************************************************************************ - * Declarations + * Pre-processor Definitions ************************************************************************************/ #define FLASH_KEY1 0x45670123 #define FLASH_KEY2 0xCDEF89AB - /************************************************************************************ * Private Functions ************************************************************************************/ |