usbd_flash_if.h
Go to the documentation of this file.
1 
28 /* Define to prevent recursive inclusion -------------------------------------*/
29 #ifndef __FLASH_IF_MAL_H
30 #define __FLASH_IF_MAL_H
31 
32 /* Includes ------------------------------------------------------------------*/
33 #include "usbd_dfu_mal.h"
34 
35 /* Exported types ------------------------------------------------------------*/
36 /* Exported constants --------------------------------------------------------*/
37 #define FLASH_START_ADD 0x08000000
38 
39 #ifdef STM32F2XX
40  #define FLASH_END_ADD 0x08100000
41  #define FLASH_IF_STRING "@Internal Flash /0x08000000/03*016Ka,01*016Kg,01*064Kg,07*128Kg"
42 #elif defined(STM32F4XX)
43  #define FLASH_END_ADD 0x08100000
44  #define FLASH_IF_STRING "@Internal Flash /0x08000000/03*016Ka,01*016Kg,01*064Kg,07*128Kg"
45 #elif defined(STM32F10X_CL)
46  #define FLASH_END_ADD 0x08040000
47  #define FLASH_IF_STRING "@Internal Flash /0x08000000/06*002Ka,122*002Kg"
48 #endif /* STM32F2XX */
49 
50 
52 
53 /* Exported macro ------------------------------------------------------------*/
54 /* Exported functions ------------------------------------------------------- */
55 
56 #endif /* __FLASH_IF_MAL_H */
57 
58 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
Header for usbd_dfu_mal.c file.
DFU_MAL_Prop_TypeDef DFU_Flash_cb
Definition: usbd_flash_if.c:46


rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:26