X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Fcortex-m3%2Fdrv%2Fflash_stm32.h;h=51bf35c02cbe7e2139c94f3b5f71fc776c672c99;hb=563795df4180aaceb7d69306551230c98fbca879;hp=5f475c9401512d06566e23fe3ba972d36ef5fff3;hpb=ec3166808afafa4cdae2f542253cd0a530e6ee79;p=bertos.git diff --git a/bertos/cpu/cortex-m3/drv/flash_stm32.h b/bertos/cpu/cortex-m3/drv/flash_stm32.h index 5f475c94..51bf35c0 100644 --- a/bertos/cpu/cortex-m3/drv/flash_stm32.h +++ b/bertos/cpu/cortex-m3/drv/flash_stm32.h @@ -38,13 +38,4 @@ #ifndef FLASH_STM32_H #define FLASH_STM32_H - -/* Flash memory mapping */ -#define FLASH_MEM_SIZE 0x40000 //< 256KiB -#define FLASH_PAGE_SIZE_BYTES 0x400 //< 1KiB - - -#define FLASH_PAGE_SIZE FLASH_PAGE_SIZE_BYTES - - #endif /* FLASH_STM32_H */