X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Fcortex-m3%2Fdrv%2Fflash_lm3s.h;h=8c8852fd775a1088a3c9cebaf215bd1cd71974f4;hb=f81df2ee3de292493462ee9d0a8905eaafb57243;hp=e70a7919fb3ca0323f680b5541e080f7d70e6675;hpb=911d2706a86d326786bfe721dcc3d63aeade7f28;p=bertos.git diff --git a/bertos/cpu/cortex-m3/drv/flash_lm3s.h b/bertos/cpu/cortex-m3/drv/flash_lm3s.h index e70a7919..8c8852fd 100644 --- a/bertos/cpu/cortex-m3/drv/flash_lm3s.h +++ b/bertos/cpu/cortex-m3/drv/flash_lm3s.h @@ -38,23 +38,4 @@ #ifndef FLASH_LM3S_H #define FLASH_LM3S_H -#include -#include - -/* Flash memory mapping */ -#define FLASH_MEM_SIZE 0x40000 //< 256KiB -#define FLASH_PAGE_SIZE_BYTES 0x400 //< 1KiB - - -#define FLASH_PAGE_SIZE FLASH_PAGE_SIZE_BYTES - -/** - * Define data type to manage page and memory address. - */ -typedef uint32_t page_t; - -struct Flash; - -void flash_hw_init(struct Flash *fd); - #endif /* FLASH_LM3S_H */