flash writing code for 446re

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
bwang
Date:
Tue Feb 28 22:31:12 2017 +0000
Parent:
2:11238235cb62
Commit message:
forgot an include

Changed in this revision

FlashWriter/FlashWriter.h Show annotated file Show diff for this revision Revisions of this file
diff -r 11238235cb62 -r 16b0692f3ed3 FlashWriter/FlashWriter.h
--- a/FlashWriter/FlashWriter.h	Tue Feb 28 21:27:10 2017 +0000
+++ b/FlashWriter/FlashWriter.h	Tue Feb 28 22:31:12 2017 +0000
@@ -1,6 +1,8 @@
 #ifndef __FLASHWRITER_H
 #define __FLASHWRITER_H
 
+#include "stm32f4xx_flash.h"
+
 /* Base address of the Flash sectors */
 #define ADDR_FLASH_SECTOR_0     ((uint32_t)0x08000000) /* Base @ of Sector 0, 16 Kbytes */
 #define ADDR_FLASH_SECTOR_1     ((uint32_t)0x08004000) /* Base @ of Sector 1, 16 Kbytes */